Predefined controls make it possible to implement commonly used Windows controls.
The AutoCAD PDB feature has a set of built-in, or predefined, tiles that can be used by themselves or as the basis for more complex tiles. Their definitions appear as comments within the base.dcl file.
When the user chooses an active tile—a button, for example—the dialog box responds by notifying the application controlling the dialog box. Any predefined active tile can have an associated action. The effect of an action can be visible to the user or can be purely internal (for example, a status update). Actions are accompanied by a reason code that indicates what triggered the action. The meaning of the reason depends on which kind of tile triggered it. The following tiles are selectable, active tiles:
Decorative and Informative Tiles |
Platforms |
|||||
---|---|---|---|---|---|---|
Windows |
Mac OS |
Web |
||||
Tile name |
Description |
AutoCAD | AutoCAD LT | AutoCAD | AutoCAD LT | AutoCAD |
A button tile resembles a push button. |
✓ | ✓ | ✓ | -- | ✓ | |
An edit box is a field that enables the user to enter or edit a single line of text. |
✓ | ✓ | ✓ | -- | ✓ | |
An image is a rectangle in which a vector graphic picture is displayed. |
✓ | ✓ | -- | -- | -- | |
The image button tile is a button that displays a graphic image rather than a label. |
✓ | ✓ | ✓ | -- | ✓ | |
A list box contains a list of text strings, arranged in rows. |
✓ | ✓ | ✓ | -- | ✓ | |
A pop-up list, or simply pop-up, is functionally equivalent to a list box. |
✓ | ✓ | ✓ | -- | ✓ | |
A radio button is one of a group of buttons composing a radio column or radio row. |
✓ | ✓ | ✓ | -- | ✓ | |
A slider obtains a numeric value. |
✓ | ✓ | ✓ | -- | ✓ | |
A toggle appears as a small box with an optional label to the right of the box. |
✓ | ✓ | ✓ | -- | ✓ |