forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoMenu.lcdoc
More file actions
41 lines (26 loc) · 817 Bytes
/
doMenu.lcdoc
File metadata and controls
41 lines (26 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Name: doMenu
Type: command
Syntax: doMenu <menuItem> [of menu <menuName>]
Summary:
Simulates a choice from a <menu>.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
doMenu "New Card" of menu "Object"
Example:
doMenu (line 10 of tList)
Parameters:
menuItem:
The name of a menu item.
menuName:
The name of the menu in which the menuItem appears.
Description:
Use the <doMenu> <command> to choose a <menu item>.
The <doMenu> <command> is not implemented for all <menu item|menu
items>. This command is included in <LiveCode> for compatibility with
imported <HyperCard> stacks.
References: copy (command), enable menu (command), paste (command),
LiveCode (glossary), command (glossary), menu item (glossary),
HyperCard (glossary), menuItem (keyword), menu (keyword)
Tags: menus