Re: doMenu

2018-07-10 Thread Bob Sneidar via use-livecode
Tore even. > On Jul 10, 2018, at 07:46 , Bob Sneidar via use-livecode > wrote: > > I agree Tor. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: doMenu

2018-07-10 Thread Bob Sneidar via use-livecode
What do the open and closing double angle brackets do? For nested menus, in a custom File menu script: case "New|Stack" Bob S > On Jul 10, 2018, at 03:50 , Tore Nilsen via use-livecode > wrote: > >case «Make new graphic» ___ use-livecode mail

Re: doMenu

2018-07-10 Thread Bob Sneidar via use-livecode
I agree Tor. The problem with doMenu is, what happens when you want to create your own menu group? None of the doMenu calls to the standard menus will work anymore. Bob S > On Jul 10, 2018, at 02:07 , Tore Nilsen via use-livecode > wrote: > > I cannot answer your question about the sending

Re: doMenu

2018-07-10 Thread dunbarxx via use-livecode
Hi. I would go to the forums and read this all the way to the end: doMenu not finding the menu Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___

Re: doMenu

2018-07-10 Thread Tore Nilsen via use-livecode
If you are writing all of the code yourself, then it should not be a problem knowing what the handler sparked by the menu item should do.Here is how I teach my students to structure their code when they want the user to be able to perform the same action from various controls: In the stack scri

Re: doMenu

2018-07-10 Thread Richmond Mathewson via use-livecode
Thanks Tore, This is alright if one knows what the actual handler sparked by the menu item is. on mouseUp set the style of the templateGraphic to polygon create graphic "zzz" set the points of grc "zzz" to fld "PTZ" end mouseUp Richmond. On 10/7/2018 12:07 pm, Tore Nilsen via use-li

Re: doMenu

2018-07-10 Thread Tore Nilsen via use-livecode
> 10. jul. 2018 kl. 10:43 skrev Richmond via use-livecode > : > > Is it possible to send a *doMenu* command to a menu item several levels down? > > Such as *Object/New Control/Radio Button* ? > > Richmond. > > ___ > use-livecode mailing list > use-

Re: DoMenu not working right?

2017-12-27 Thread Bob Sneidar via use-livecode
In fact, it seems I can also select which tab I want hilited like so: open stack "revPropertyInspector 1" dispatch "menuPick" to stack "revPropertyInspector 1" with "Position" -- or whatever the name of the tab is I am working on a contextual app builder, and this will come in handy. Bob S >

Re: DoMenu not working right?

2017-12-27 Thread Bob Sneidar via use-livecode
Ah! I didn't read that far. I don't think menuPick will work, unless the Livecode default menu is actually an IDE menubar. It's not really important now, I just ran into it whilst trying to use the message box to get the properties of the selected object without having to manually pop a menu.

Re: DoMenu not working right?

2017-12-27 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > Dictionary states: doMenu menuItem [of menu menuName]. I state: select > button "Development";domenu "Object Inspector" of menu "Object". I > get: > Message execution error: > > Error description: Handler: can't find handler > > Hint: of > > ? The Dictionary also states:

Re: DoMenu

2014-12-08 Thread Richard Gaskin
dunbarx wrote: > I understand the exigencies of cross platform support. That said, > I miss most of all the menu handling in HC, as opposed to the button > group in LC. > > The creation of a custom menu with associated menuMessages was clean > and clear, and those menuMessages could be invoked vi

Re: DoMenu

2014-12-08 Thread dunbarx
d upon menu creation, accessible like ordinary handlers with a simple call. But you know all this. I am obviously misunderstanding your statement above. Craig -Original Message- From: Richard Gaskin To: use-livecode Sent: Mon, Dec 8, 2014 6:11 pm Subject: Re: DoMenu Alain Farmer wrot

Re: DoMenu

2014-12-08 Thread Richard Gaskin
Alain Farmer wrote: > Hello Richard,I disagree with your conclusion that DoMenu was > necessary in HyperCard because that language wasn't rich enough > to build an entire IDE in. Did Apple ever release a version of HC with its IDE written in HyperTalk? > DoMenu was an integral part of HyperCar

Re: DoMenu

2014-12-08 Thread Alain Farmer
Hello Richard,I disagree with your conclusion that DoMenu was necessary in HyperCard because that language wasn't rich enough to build an entire IDE in.DoMenu was an integral part of HyperCard's ease-of learning-to-program.One command (doMenu) versus many commands to learn/use/remember.Part of t