A custom control written in LiveCode Builder
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 8.0 Security:
# Syntax
widget
# Examples
set the visible of widget 1 to false
on newWidget if the kind of the target is "com.livecode.widget.colorswatch" then set the swatchColor of the target to "0,0,0,255" end if end newWidget
# Description
Use the widget object type to create a widget control. widgets are created from LiveCode Builder extensions that have previously been loaded into memory using the load extension command. For more details on how to create widgets, please consult the *Extending Livecode* guide.
# Tags
# See
- **command:** load extension - **glossary:** object type, LiveCode Builder extension, command - **keyword:** control