Menubar Uncertainty

dunbarx at aol.com dunbarx at aol.com
Tue Jan 22 12:31:05 EST 2013


Robert's way is more straightforward. Don't hide and show the groups, rather, set them. Easier to read and manage.


Craig Newman



-----Original Message-----
From: Robert Sneidar <slylabs13 at me.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Jan 22, 2013 12:09 pm
Subject: Re: Menubar Uncertainty


This is normal for Macintosh. It's been discussed in multiple threads in the 
past, and tripped me up when I first came across it. Your problem is not that 
there is a separate menu for each card. The 20 pixel space at the top of the 
card that is not visible is normal. 

In your openCard handler (preOpenCard may also work) set the menuBar of this 
stack to thisCardsMenuBar

Bob


On Jan 22, 2013, at 8:24 AM, Joe Hamburger wrote:

> Hi Again,
> 
> I surely opened a can of worms when I tried to set different menubars for 
> different cards of a stack.
> 
> First everything moved up on the card. So the top of a field that is say 20 is 

> not shown. When I drag the contents of the card down to show it, the new 
> position is around 680. Obviously, I made a major mistake.
> 
> Is it not possible to have a menubar dedicated to only one card of a stack? 
How 
> do I switch from one menubar to another. I assume it's a script entry to 
> opencard and closecard, but I could be wrong.
> 
> Joe Hamburger
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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

 



More information about the use-livecode mailing list