(menucmd string)
Execute that menu command.
This function executes a command in the menu bar (cursor menu and pull-down menus). The string parameter uses the following formats:
"menu=value"
"menu=*"
The menu parameter has two parts-for example (menucmd "P1.2=*). In this case, the "P1" refers to the first pull-down menu (usually the File menu). the ".2" refers to the first item on the menu (usually the Open item). The first values of menu permitted in progeCAD are:
| Menu | Meaning |
|---|---|
| P0 | Cursor menu |
| P1 - P16 | Pull-down menus 1-16 |
The value parameter has the following meanings:
| Value | Meaning |
|---|---|
| ? | What is status of the menu item? |
| * | Display the menu. |
| ~ | Disable the menu item (grayed out). |
| !. | Prefix menu item with a check mark. |
| (blank) Remove properties. | |
| name | Load the menu name. |
Examples
| Code | Meaning |
|---|---|
| (menucmd "P3=*") | Display menu #3 (the View menu). |
| (menucmd "P3.1=~") | Disable menu #3, item #1 (the View | Redraw menu item). |
| (menucmd "P3.1=") | Re enable the View | Redraw item. |
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español