toggle
A DCL toggle is a child tile. A toggle displays a check mark that
can be selected or selected by mouse or keyboard.
related attributes
- These attributes are predefined for every child tile and
consequently for a toggle as well:
 
- 
 
- These attributes are predefined for every tile and consequently
for a toggle as well:
 
- 
- key
 
- value
 
- The value of a toggle refers to its
selected state. If a toggle is selected, its value is "1". If a
toggle is not selected, its value is "0".
 
- tooltip
 
- label
 
- Use the label attribute to set the
text contents of a toggle.
 
- fixed_height
 
- fixed_width
 
- alignment
 
- width
 
- bcad_width
 
- height
 
- bcad_height
 
- is_enabled
 
 
callbacks
When a toggle is being changed by
clicking it or by using the keyboard, a callback with reason
"CBR_SELECT" will be triggered.
| 
©  Bricsys NV. All rights reserved. |