Help menu not showing title

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Help menu not showing title

Post by andyh1234 » Thu Jan 15, 2009 12:54 am

Just wondering if im doing something wrong!

I have a menubar, Rev says the last title item should be 'Help', no problem.

The menu loads just fine in OS X, and the about entry shifts as it should to under the application title.

However, in windows the 'Help' title doesnt show. The menu is there, if you go to the one before it and drop that down, then move to the right the help menu appears, but the title is simply not there.

I should have 'File' 'Edit' 'Options' 'View' and 'Help', but on Windows 'Help' is just missing!

Im compiling on OS X

Any ideas?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Jan 15, 2009 3:08 am

Hi Andy,

Do you have more buttons names "Help"? Try

show btn "Help" of grp "Menubar 1"

Does that.... help? :)

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Post by andyh1234 » Thu Jan 15, 2009 1:13 pm

No luck im afraid.

I also tried

set the title of button "help" to "Help"
enable btn "help"
set the visible of button "help" to true

None seem to work. The Help menu text shows in Mac just fine, but not in Windows.

I then added another menu item before help to see if that might reset soemthing called 'test', but interestingly neither help or test showed, so its just the first 4 items that are showing on the menu bar, and the rest disappear. Does the menu bar have a width at all as its as if they are just running off the end.

Andy

andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Post by andyh1234 » Thu Jan 15, 2009 1:19 pm

Bingo!

set the width of group "menubar" to the width of me
set the left of group "menubar" to 0

The group wasnt wide enough for all the menu items, so they were disappearing!

Thanks for the suggestion Mark, it got the old brain cells whirring in the right direction.

Andy

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Jan 15, 2009 2:52 pm

Cool, Andy! Great interaction also. I'm glad that it works now.

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply