Deutsches LiveCode Wiki
Advertisement

Designates all object types that can be placed or already placed on a card,

Synonyms: part

Examples:

put the number of controls into index
select control 5

A control is any object that can be placed on a card: a button, field, scrollbar, image, graphic, player, EPS object, or group.

You can refer to a control by number or by name. The expression control 2 refers to the control whose layer is 2. The expression control "myButton" refers to the first control whose short name is "myButton".

See Also: layer Property, mouseControl Function, number Function, controlAtScreenLoc Function, controlAtLoc Function, relayer Command

Advertisement