Page 2 of 2
Re: Combo box limitation ?
Posted: Fri Oct 28, 2022 5:55 pm
by jacque
dunbarx wrote: Thu Oct 27, 2022 6:02 pm
If you have your menuItems open, you can use the arrow keys to move up and down along the list, but then you must use the mouse to select a menuItem. I am not sure that pressing "Enter" or "Return" will do anything at all.
On Windows the return or enter key will do the selection. LC will still get a menupick message.
I think there's an option on Mac for that too buried in the system settings but I can't remember if I'm hallucinating or not.
Re: Combo box limitation ?
Posted: Fri Oct 28, 2022 9:22 pm
by dunbarx
Jacque.
Interesting. Would it be accessible to ordinary mortals? I do not think it is a finder setting, nor a system preference.
Craig
Re: Combo box limitation ?
Posted: Fri Oct 28, 2022 9:25 pm
by dunbarx
CAsba.
So you see that different platforms behave differently, even down to the User Interface Guidelines.
Which are you interested in? All of them? If so, unless Jacque can figure out how to make those keys work on a Mac, you will have to default to using the mouse.
Craig
Re: Combo box limitation ?
Posted: Fri Oct 28, 2022 10:39 pm
by FourthWorld
CAsba, of the 30 or so items in the control, how many are presets and how many are ad hoc additions from the user?
Re: Combo box limitation ?
Posted: Sat Oct 29, 2022 12:18 am
by jacque
dunbarx wrote: Fri Oct 28, 2022 9:22 pm
Interesting. Would it be accessible to ordinary mortals? I do not think it is a finder setting, nor a system preference.
I'm not sure it works on LC buttons but here's a list:
https://support.apple.com/en-us/HT204434
Scroll down to "Navigate menus with your keyboard".
Re: Combo box limitation ?
Posted: Sun Oct 30, 2022 11:52 pm
by bobcole
Combo boxes are only one menu type but an important one.
Some menu types have peculiarities of their own.
I put together an example stack to show examples of the various menu types (see below).
I don't remember having previously figured out how to use a cascading menu so this was a good exercise for me.
Cascading menus are interesting; I'll probably use them more often now that I have a working sample.
I think the Option Menu can be used for card navigation. Just stuff it with the cardNames function and, voila, select a card name. Easy.
Hope this is helpful,
Bob
Re: Combo box limitation ?
Posted: Mon Oct 31, 2022 11:08 am
by CAsba
Hi all,
I didn't realise my query would spark such interesting and wide-ranging responses. I will certainly look into the examples given. I should emphasise that the menu is not to be used by the user, but just by me as a nav tool whilst building the programme. Many thanks to all of you.
Re: Combo box limitation ?
Posted: Mon Oct 31, 2022 12:22 pm
by stam
It's both an advantage and a disadvantage that randomly discussions go off on a tangent and take a life of their own. Sometimes this is good and leads to interesting discussions with many learning points. Sometimes it's bad as it leads to irrelevant discussions that sometimes decline into chaos. Certainly makes for more interesting reading

Re: Combo box limitation ?
Posted: Mon Oct 31, 2022 5:09 pm
by FourthWorld
CAsba wrote: Mon Oct 31, 2022 11:08 am
I should emphasise that the menu is not to be used by the user, but just by me as a nav tool whilst building the programme.
Are the menu items card names?
Re: Combo box limitation ?
Posted: Mon Oct 31, 2022 7:45 pm
by dunbarx
Richard.
I assume so, which is why I wrote to CAsba, emphasizing the last line:
Code: Select all
on menuPick pItemName
answer pItemName
answer the label of me
answer the menuHistory of me
go card pItemname -- for your particular use
end menuPick
Craig