Another Menu Builder Bug

2016-09-02 Thread Bob Sneidar
I looked but could not find a similar bug so I reported it. Bug# 18316. Menu Builder is not displaying sub-menus. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Menu Builder and submenues

2015-03-31 Thread Dr. Hawkins
On Tue, Mar 31, 2015 at 11:10 AM, J. Landman Gay wrote: > Whatever follows the slash will become the keyboard shortcut. Whatever > follows the pipe will be the "label" of the menu, so that you can localize > the menus without changing their actual names. That way the scripts will > always work bu

Re: Menu Builder and submenues

2015-03-31 Thread J. Landman Gay
On 3/31/2015 2:45 PM, Peter Haworth wrote: Thanks for the explanation, I had forgotten about what I think are called tags in menu items. Do you happen to know offhand if these tags are supported for all menu type - option, popup, etc? Tags. Right, I should have said "tags". It doesn't look lik

Re: Menu Builder and submenues

2015-03-31 Thread Peter Haworth
Jacque, Thanks for the explanation, I had forgotten about what I think are called tags in menu items. Do you happen to know offhand if these tags are supported for all menu type - option, popup, etc? Pete lcSQL Software Home of lcStackBrowser

Re: Menu Builder and submenues

2015-03-31 Thread J. Landman Gay
On 3/30/2015 4:47 PM, Dr. Hawkins wrote: Schedules A/|A B/|B I don't see why it has the / Whatever follows the slash will become the keyboard shortcut. Whatever follows the pipe will be the "label" of the menu, so that you can localize the menus without changing their actual names. That way

Re: Menu Builder and submenues

2015-03-30 Thread dunbarx
when you said: Stack out1 is created when needed by cloing stack out1 (and similarly for out2, etc.) But when you only have stack out0, and you open the menu builder, are you clicking on the "edit..." button? This should bring up a dialog that allows you to load the menu group.

Menu Builder and submenues

2015-03-30 Thread Dr. Hawkins
I have a menu group in stack out0, which is never seen by the user. Stack out1 is created when needed by cloing stack out1 (and similarly for out2, etc.) When entering the menu builder, though, out0 is not among the choice of stacks. Once cloned, out1 appears as a choice. Huh? is there

Re: Menu Builder

2012-01-13 Thread J. Landman Gay
On 1/13/12 12:19 AM, Pete wrote: Hi Jacque, Wanted to let you know that the issue of mouseDwon having to be at the group level is documented in the USer Guide so you remembered correctly! I also discovered today that 5.0.2 handles the moving of controls for system menu purposes differently than

Re: Menu Builder

2012-01-12 Thread Pete
Hi Jacque, Wanted to let you know that the issue of mouseDwon having to be at the group level is documented in the USer Guide so you remembered correctly! I also discovered today that 5.0.2 handles the moving of controls for system menu purposes differently than 4.6.4. Just upgraded to 5.0.2 and

Re: Menu Builder

2012-01-12 Thread Pete
Thanks Jacque. I did try the short name of the target and it returned the name of the menu bar group, as did the short name of me. After looking at the logic of what I'm trying to do, I think there's another place I can do the adjust the menu contents and drop the whole mouseDown approach. Feels

Re: Menu Builder

2012-01-12 Thread Bob Sneidar
Ooooh good tip on locking menus! Bob On Jan 12, 2012, at 11:43 AM, J. Landman Gay wrote: > On 1/12/12 1:01 PM, Pete wrote: > >> There's more than one menu I have to dynamically adjust so I need to figure >> out in the group's mouseDown handler which menu was clicked. I tried using >> the sho

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 1:01 PM, Pete wrote: There's more than one menu I have to dynamically adjust so I need to figure out in the group's mouseDown handler which menu was clicked. I tried using the short name of me, the short name of the target, and the mouseControl but none of them tell me which button w

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 12:49 PM, Pete wrote: Hi Jacque, The way this app works is that everything happens within the scope of one stack. I have groups that get hidden or shown depending on what function the user selects so I adjust the height of the stack depending on which function/group is active by refer

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 12:40 PM, Peter M. Brigham, MD wrote: I assume this is true if and only if the menubutton is part a a group. On my system menubuttons that are not part of any group receive and respond to mousedowns just fine. The part about grouped buttons being treated differently is a good nugget t

Re: Menu Builder

2012-01-12 Thread Pete
Yes, I believe the distinction is that these buttons are part of the mechanism to put menus in the OS X system menu bar, not regular buttons. Indeed, this is worth filing away. I have also entered a User Comment for the mouseDown event in the dictionary. Pete On Thu, Jan 12, 2012 at 10:40 AM, Pe

Re: Menu Builder

2012-01-12 Thread Pete
Yes, that fixed it, thank you! I searched the obvious places in the dictionary but couldn't find any reference to this, maybe I'll add a user comment to the mouseDown entry. I guess there are still a couple of issues I'll have to deal with. There's more than one menu I have to dynamically adjust

Re: Menu Builder

2012-01-12 Thread Pete
Hi Jacque, The way this app works is that everything happens within the scope of one stack. I have groups that get hidden or shown depending on what function the user selects so I adjust the height of the stack depending on which function/group is active by reference to the bottom of the group tha

Re: Menu Builder

2012-01-12 Thread Peter M. Brigham, MD
On Jan 12, 2012, at 1:16 PM, J. Landman Gay wrote: > On 1/12/12 11:33 AM, Pete wrote: >> Hi Peter, >> Yep, it should work, that's what's so frustrating. Even weirder still is >> that if I send a mouseDown message to the File button from the message box, >> everything works just fine, just not whe

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 12:24 AM, Pete wrote: I have one remaining issue to deal with and that has to do with some window resizing I do which now will have to take account of the menu group, probably differently on Windows than on OS X. Fortunately, the code to do the resizing is all in one handler so once

Re: Menu Builder

2012-01-12 Thread J. Landman Gay
On 1/12/12 11:33 AM, Pete wrote: Hi Peter, Yep, it should work, that's what's so frustrating. Even weirder still is that if I send a mouseDown message to the File button from the message box, everything works just fine, just not when I click on the File menu! I'm pretty sure this is in the

Re: Menu Builder

2012-01-12 Thread Bob Sneidar
Just to check for the ridiculous, is it disabled? Bob On Jan 12, 2012, at 9:33 AM, Pete wrote: > Hi Peter, > Yep, it should work, that's what's so frustrating. Even weirder still is > that if I send a mouseDown message to the File button from the message box, > everything works just fine, just

Re: Menu Builder

2012-01-12 Thread Bob Sneidar
That is a great idea! Go, ye empowered of Livecode, and prosper! ;-) Bob On Jan 12, 2012, at 7:56 AM, Geoff Canyon Rev wrote: > One thing that I've often thought would make a lot of sense is to have an > array of starter projects, from "Single window with menubar" to "splash > screen with multi

Re: Menu Builder

2012-01-12 Thread Pete
ndman Gay < > jac...@hyperactivesw.com>wrote: > > > >> On 1/11/12 10:41 PM, Joe Lewis Wilkins wrote: > >> > >>> Jacqi, > >>> > >>> Your explanation should appear on the "Menu Builder" Dialog from a > >>&g

Re: Menu Builder

2012-01-12 Thread Geoff Canyon Rev
One thing that I've often thought would make a lot of sense is to have an array of starter projects, from "Single window with menubar" to "splash screen with multiple document windows" etc. It seems like a small handful of these would save a lot of beginners (and the rest of us!) a lot of time. ___

Re: Menu Builder

2012-01-12 Thread Peter M. Brigham, MD
k is > right there in the same script and it works fine so why doesn't mouseDown > get handled? > > On Wed, Jan 11, 2012 at 9:06 PM, J. Landman Gay > wrote: > >> On 1/11/12 10:41 PM, Joe Lewis Wilkins wrote: >> >>> Jacqi, >>> >>> Y

Re: Menu Builder

2012-01-11 Thread Pete
ouseDown get handled? On Wed, Jan 11, 2012 at 9:06 PM, J. Landman Gay wrote: > On 1/11/12 10:41 PM, Joe Lewis Wilkins wrote: > >> Jacqi, >> >> Your explanation should appear on the "Menu Builder" Dialog from a >> Help Button thereon. It would save a lot of ne

Re: Menu Builder

2012-01-11 Thread Joe Lewis Wilkins
>> Jacqi, >> >> Your explanation should appear on the "Menu Builder" Dialog from a >> Help Button thereon. It would save a lot of newbies gobs of hair >> follicles. > > Thanks. I thought it was in the User Guide but I just looked and couldn't > fin

Re: Menu Builder

2012-01-11 Thread Pete
1/12 10:41 PM, Joe Lewis Wilkins wrote: > >> Jacqi, >> >> Your explanation should appear on the "Menu Builder" Dialog from a >> Help Button thereon. It would save a lot of newbies gobs of hair >> follicles. >> > > Thanks. I thought it was in the Us

Re: Menu Builder

2012-01-11 Thread J. Landman Gay
On 1/11/12 10:41 PM, Joe Lewis Wilkins wrote: Jacqi, Your explanation should appear on the "Menu Builder" Dialog from a Help Button thereon. It would save a lot of newbies gobs of hair follicles. Thanks. I thought it was in the User Guide but I just looked and couldn't find

Re: Menu Builder

2012-01-11 Thread Joe Lewis Wilkins
Jacqi, Your explanation should appear on the "Menu Builder" Dialog from a Help Button thereon. It would save a lot of newbies gobs of hair follicles. I don't recall how many hours I've wasted coming to terms with these issues; in some instances scraping a project and sta

Re: Menu Builder

2012-01-11 Thread J. Landman Gay
r trick if you don't want to use the menu builder. You can create a menu group and just hide it. It will still show in the system menu if the group is assigned as the stack's menu bar, but the scroll won't happen if the group is hidden. You'd need to script a command on open

Re: Menu Builder

2012-01-11 Thread J. Landman Gay
I click OK, all the controls on the open stack move up, some of them to be underneath the window title bar. Uhhh, I asked for them not to be moved down, not to be moved up! Last time I used the menu builder, I had major problems - every time I opened the stack, it's height increased by the hei

Re: Menu Builder

2012-01-11 Thread Bob Sneidar
sing the Menu Builder, I'm back to > trying it again with not very auspicious results. > > In the first screen, I click the New button and on the next screen, give > the menu a name and leave the give the menubar a name and uncheck the box > "move objects down to accommodate

Re: Menu Builder

2012-01-11 Thread Pete
Well, I guess back to square 1. What seemed to work (don't move controls, set as Stack menubar) now results in controls being moved up again. Pete On Wed, Jan 11, 2012 at 5:53 PM, Pete wrote: > Yes I just discovered that. If that checkbox had been on the same screen > as the "move controls" ch

Re: Menu Builder

2012-01-11 Thread Pete
Yes I just discovered that. If that checkbox had been on the same screen as the "move controls" checkbox, life would have been much simpler! So I'm now on the right track I think, but looks like I need to adjust some code which resizes windows in some circumstances. Pete On Wed, Jan 11, 2012 at

Re: Menu Builder

2012-01-11 Thread Mark Schonewille
Hi Pete, If I keep that darn checkbox unchecked and do check the checkbox Set as stack Menu bar, then all is fine and the controls don't move up or down (actually they do move down by the same amount of pixels the card moves up). I don't know about a tutorial or something, but I rarely look at

Re: Menu Builder

2012-01-11 Thread Pete
ally by creating a group, I'm more than happy to do that to avoid the bugginess. IS ther a write up on that anywhere? Pete On Wed, Jan 11, 2012 at 4:57 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Pete, > > Why do you want a different way? The menu b

Re: Menu Builder

2012-01-11 Thread Mark Schonewille
Hi Pete, Why do you want a different way? The menu builder still is the easiest way to create a menu, even if it is unintuitive and buggy. Next time, just don't uncheck that checkbox :-) Surely, you can create a group, set the menubar of the stack to the name of that group and se

Menu Builder

2012-01-11 Thread Pete
After a gap of many months since last using the Menu Builder, I'm back to trying it again with not very auspicious results. In the first screen, I click the New button and on the next screen, give the menu a name and leave the give the menubar a name and uncheck the box "move objec