This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy pathgroup.lcdoc
More file actions
60 lines (40 loc) · 1.47 KB
/
group.lcdoc
File metadata and controls
60 lines (40 loc) · 1.47 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Name: group
Type: command
Syntax: group [<objectList>]
Summary:
Creates a new <group> and adds the <selected> <object|objects> to it.
Associations: group
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
group
Example:
if the number of lines of the selectedObject > 1 then group
Example:
group field "Help" and image "Help Icon" and graphic "Outline"
Parameters:
objectList:
A list of object references, separated by the word "and".
It:
The <group> command places the ID property of the newly created
object in the it variable.
Description:
Use the <group> <command> after <select|selecting> <object|objects> to
make a <group> out of them.
If you specify an <objectList>, the specified <object|objects> are
placed in the new <group>. Otherwise, the <selected> <object(glossary)>
or <object|objects> are placed in the <group>.
As with any group on a card, you can use the place <command> to make the
newly-created <group> appear on other <card|cards>.
>*Tip:* To refer to the newly-created <group>, use the it variable immediately
> after the 'group' command
> :
group button "Yes" and button "No"
set the name of it to "Do It"
References: group (command), start editing (command),
selectedObject (function), object (glossary), command (glossary),
keyword (glossary), select (glossary), last (keyword), newGroup (message),
card (object), selected (property), relayerGroupedControls (property),
layer (property)
Tags: objects