Virtual custom property question

Eric Chatonet eric.chatonet at sosmartsoftware.com
Sat Nov 5 10:43:59 EST 2005


Hi David,

You could use the mouseControl (see in the docs) but I'm not sure it  
would be really safe in all cases. Depends of your layout.
So, you could implement a stack custom property to retrieve the last  
clicked control: would be safer :-)
Hope this helps.

Le 5 nov. 05 à 16:36, David Bovill a écrit :

> If I set the custom property of a control from somewhere else -  
> lets say:
>     set the display_Colour of group 1 to "red"
> And this group has defined an appropriate setprop handler - say:
>     setprop display_Colour someColour
>         set the bgColor of btn 1 of me to someColour
>     end display_Colour
> Is there a way to find out which control is trying to set the  
> custom property?

Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------




More information about the use-livecode mailing list