create | ||||||||||||||||
Type | command | |||||||||||||||
Dictionary | LCS | |||||||||||||||
Library | LiveCode Script | |||||||||||||||
Syntax |
| |||||||||||||||
Synonyms | new | |||||||||||||||
Summary | Creates a new object on the current card. | |||||||||||||||
Introduced | 1.0 | |||||||||||||||
OS | mac, windows, linux, ios, android | |||||||||||||||
Platforms | desktop, server, mobile | |||||||||||||||
Parameters |
| |||||||||||||||
Example |
| |||||||||||||||
Values |
| |||||||||||||||
Related | Command: create stack, create card Keyword: templateButton Property: lockMessages, defaultStack | |||||||||||||||
Description | Use the create command to make a new control or grouped control. The new object takes its properties from the corresponding template; for example, newly created buttons match the properties of the templateButton. If you use the invisible form, the object is created with its visible property set to false, so it cannot be seen. Use this form to create a hidden object, change its appearance or position, then make it visible. When the new control is created, the Pointer tool is automatically chosen. If you use the create command in a handler, you can use the following statement after the create command to resume using the Browse tool:send "choose browse tool" to me in 1 tick
LiveCode resets the template only when in the development environment, not in standalone applications.
or create the control in a card attached to the specific stack:
| |||||||||||||||
Tags | objects |