The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 menu name

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Jeroen Spitael Posted - 03/06/2000 : 2:04:00 PM
I would like to have the user select something of a list (menu choices) and then use that information to populate a field. I can access the menu.lastexeid and switch what the user has select with menu.check, but can I access the name of the menu the user has selected? I'm building the list of choices dynamically and therefore won't necessary know each menu name ahead of time.
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 03/07/2000 : 2:00:00 PM
You can not access menu 'names' except to rename them based on ID.

If you need that information for your menus then you should gather that information as you make your menus. For example, if you execute a script that creates a menu option such as

menu -i (My Option) {run.section(mymenu.ogs,myoption);}

you should then execute

last = menu.lastid;

to retrieve the menu id number. Then you can tie this id to the "My Option" menu.

Perhaps you could save this information in a hidden worksheet. Origin Professional users might wish to save the information to an external file.

[This message has been edited by Greg (edited 03-07-2000).]


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000