Determining When Option Menus Have Changed

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Dec 13 04:46:20 EST 2006


Charles and Mark,

on menuPick pNewItem, pOldItem
   if pNewItem = pOldItem then
     put "The same old thing"
   else
     put "Time for a change!"
   end if
end menuPick

Best Regards from Paris,
Eric Chatonet

Le 13 déc. 06 à 10:41, Mark Schonewille a écrit :

> Charles,
>
>
> local theOldLabel
>
> on mouseDown
>   put the label of me into theOldLabel
> end mouseDown
>
> on menuPick theItem
>   if theItem is theOldLabel then
>     put "The same old thing"
>   else
>     put "Time for a change!"
>   end if
> end menuPick
>
>
> Mark
>
> --
>
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
>
> Get your store on-line within minutes with Salery Web Store  
> software. Download at http://www.salery.biz
>
> Op 13-dec-2006, om 5:34 heeft Charles Szasz het volgende geschreven:
>
>> How can you determine if a new MenuPick message has been sent when  
>> any two of six option menus have changed? I am working on a script  
>> to sent a mouseUp message to trigger another script when two or  
>> more option menus have changed from six option menus.
>>
>>
>> Charles Szasz
>> cszasz at mac.com
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list