[ANN] How-To stack #008 How to build a menu on the fly revised
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Thu May 19 04:26:56 EDT 2005
Hello Xavier,
Le 18 mai 05 à 23:53, MisterX a écrit :
I just did some tests to verify it and I don't encounter this issue
here (Mac OS X).
In the Mac OS X IDE there is only a little problem: the usual File
Menu in the screen menubar highlights when File/Save/S but the right
save handler in the right stack is lauched even if the stack's mode
is palette and there are other toplevel stacks on screen.
Depends only on the window which have the focus.
I shall have a look on XP ASAP :-)
> Eric,
>
> do you have any tips to prevent menus from stacks behind (or palettes)
> intercepting the menu's messages?
>
> stack A has a menu - with save/s in it.
> Open stack b - no menu
>
> if i try to save stack b, stack a intervenes and launches its save
> handler...
> Other than writing a plugin to fix this (HotKeyN2O again), is there
> any
> "normal" way to prevent this?
>
> cheers
> Xavier
>
>
>> -----Original Message-----
>>
>> Hi everyone,
>>
>> After a previous angry mail about Rev inconsistency regarding
>> disabled submenus items with successive releases of Rev, I
>> revised my How-To stack dedicated to menus building in order
>> to make it working with all versions of Rev 2.x...
>>
>> How-To stack #008:
>> How to build on the fly a pulldown menu with sub-menus from
>> an outline stored into a custom property.
>> How to add contextual items, checkmark, activate or disable
>> menu items, etc.
>> How to respond to the user actions: choosing a menu item,
>> using a keyboard shortcut, etc.
>> Added a print function and some tips about cross-platform
>> contextual menus behaviour.
>>
>> On RevOnLine:
>> User name: So Smart Software
>> Category: Programming
>>
>> On RevNet:
>> Tutorials section
>> To download RevNet, go to http://www.fourthworld.com/rev/index.html
>>
>> Directly by pasting into the message box:
>> go url "http://www.sosmartsoftware.com/downloads/Managing%
>> 20Menus.rev"
>>
>> In a few days, I will replace all these means of access by a
>> single stack, a kind of shell, linked to my web site and released
>> as a
>> plugin: it will make the maintenance easier and will ensure
>> that you have last updates as new ones immediatly to hand.
>>
>> Best regards from Paris,
More information about the use-livecode
mailing list