UI design problem

jonathandlynch at gmail.com jonathandlynch at gmail.com
Sat Mar 4 17:19:55 EST 2017


The message would pass up the message path, to the group that owns both targets. That is where you would place the script to decide which object to move.

The following code will help you know which object was clicked:

Put word 1 of the target into tObjectType
If tObjectType = "field" then
-- do whatever you want with the field
Else if tObjectType = "image" then
-- do whatever with the image
End if 


Sent from my iPhone

> On Mar 4, 2017, at 5:04 PM, tbodine via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Dr. Hawkins via use-livecode wrote
>> pass mousedown
> 
> "Pass mousedown" doesn't work here. (Message does not travel down to the
> image control below the field.)
> I used a send "mousedown" which does travel through, but what doesn't work
> then is the "grab image 'blah'" line in the mousedown handler attached to
> the image.  The same mousedown handler works fine to grab the image when I
> click directly on the image control. 
> 
> Tom
> 
> 
> 
> --
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/UI-design-problem-tp4712829p4712832.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list