Mark Schonewille wrote:

> On 18 sep 2008, at 19:40, Richard Gaskin wrote:
>
>> The defaultMenuBar is becoming increasingly important for a couple
>> of my apps as their complexity grows.  But the docs offer only this
>> slender tidbit about it:
>>
>>  The defaultMenuBar is the short name of any group that is in
>>  a stack that is in memory.
>>
>> Short name, eh?  That means no reference to the stack that contains
>> it.
>>
>> So if I have multiple stacks in which each has its own menuBar set
>> to a group using the same name as the others, how does the engine
>> determine which group is the defaultMenuBar?
>>
>> Is it the group in topmost stack?
>> The one in the stack that was topmost at the time the defaultMenuBar
>> was last set?
>> Or something else?
>
> After starting a new session, the defaultMenubar contains (on Mac OS
> X):
>
> group "revMenuBar" of card "card id 1002" of stack "/Applications/
> Revolution Enterprise/3.0.0-gm-3/Toolset/revmenubar.rev"
>
> Not the short name, apparently.

Curious.

Good sleuthing - I've reported the docs error:
http://quality.runrev.com/qacenter/show_bug.cgi?id=7184

I can play around with it to figure out what happens if one uses only the short name, but if anyone here knows please chime in.

--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to