| T O P I C R E V I E W |
| FTADMIN1 |
Posted - 01/19/2004 : 08:39:52 AM Hi I have a Problem with Labtalk in Origin 7.5
I whant add an Menu Item whis a string variable like this %A = File; menu 1 (%A);
But it dosenīt work
anybody an idea
thanks |
| 3 L A T E S T R E P L I E S (Newest First) |
| Mike Buess |
Posted - 01/21/2004 : 07:54:07 AM Which command are you trying... create menu or create menu item? Both work for me as advertised and neither destroys the File menu. Please post your script again.
... Perhaps this is what you are seeing...
menu -gwmpv; // select all menu bars menu 1 (Test); // add Test menu at 1st position
Click on any window or the Refresh button. The menu bar looks like this...
Test File Edit ...
The Test menu has no menu items and therefore does not expand when you select it with the mouse. Other menus also do not expand if you just pass the mouse cursor over them but clicking on the menu name will force them to expand.
Adding an item to the Test menu will fix this.
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 01/21/2004 08:50:45 AM
Edited by - Mike Buess on 01/21/2004 5:49:32 PM |
| FTADMIN1 |
Posted - 01/21/2004 : 07:28:42 AM Hi,
sorry it dosenīt work. :( If I do it how do you write it, the complete File menu is lost.
Do you have a nother idea :)
many thanks
regards
|
| Mike Buess |
Posted - 01/19/2004 : 09:46:26 AM Your command will add an entire menu at the first position of the active menu bar. Substitution is not allowed for menu names.
%A = File; menu -g; // graph menus menu 1 (%A);
If a graph is active and you click the refresh button then your menu bar will look like this...
%A File Edit ...
Substitution is allowed for menu item names.
%A = File; menu -g; // graph menus menu 1; // first menu (File) menu (%A) { }; // append a menu item (that does nothing) named File to the File menu
Hope that helps.
Mike Buess Origin WebRing Member |