GOTO Equivalent in Rev?
Garrett Hylltun
garrett at paraboliclogic.com
Tue Feb 14 17:15:11 EST 2006
I feel a Mr Burns impression coming on now......
"Exccellent!"
Thank you Peter :-)
-Garrett
On Feb 14, 2006, at 1:47 PM, Peter T. Evensen wrote:
> You can have the handlers for the buttons and the handlers for the
> menu all call the same handlers for the cut, copy, and paste, etc.
> You would put the CopyStuff handler in the Stack (probably) and
> then have the following in the button (for example):
>
> on mouseUp
> CopyStuff
> end mouseUp
>
> in the menu handler you'd have:
>
> on menuPick pMenuItem
> if pMenuItem is "Copy" then
> CopyStuff
> end if
> end menuPick
>
> in the stack you'd have:
>
> on CopyStuff
> -- copy the appropriate stuff to the clipboard.
> end CopyStuff
>
> At 03:24 PM 2/14/2006, you wrote:
>> Is there a goto equivalent in Rev?
>>
>> I have a popup menu, button bar and menu bar, all of which offer the
>> same functions, cut, copy, paste etc. I don't want to have separate
>> code for each of the related handlers. I want the copy button, copy
>> menu entry and copy popup menu entry to all use just one handler (per
>> say).
>>
>> Thanks,
>> -Garrett
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> Peter T. Evensen
> http://www.PetersRoadToHealth.com
> 314-629-5248 or 888-628-4588
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list