Synopsis of Predefined Attributes (DCL)

 
 
 

Listing of the attributes used to set the appearance and behavior for tiles and dialog definition.

NoteDCL support in AutoLISP is limited to Windows only.

This section lists the attributes defined by the PDB feature. The following table summarizes the predefined attributes in alphabetical order. The attributes are described in detail in About User-Defined Attributes (AutoLISP).

Predefined attributes

Attribute name

Associated with

Meaning (if specified or true)

action

All active tiles

AutoLISP action expression

alignment

All tiles

Horizontal or vertical position in a cluster

allow_accept

edit_box, image_button,

list_box

Activates is_default button when this tile is selected

aspect_ratio

image, image_button

Aspect ratio of an image

big_increment

slider

Incremental distance to move

children_alignment

row, column, radio_row, radio_column, boxed_row, boxed_column, boxed_radio_row, boxed_radio_column

Alignment of a cluster's children

children_fixed_

height

row, column, radio_row, radio_column, boxed_row, boxed_column, boxed_radio_row, boxed_radio_column

Height of a cluster's children doesn't grow during layout

children_fixed_

width

row, column, radio_row, radio_column, boxed_row, boxed_column, boxed_radio_row, boxed_radio_column

Width of a cluster's children doesn't grow during layout

color

image, image_button

Background (fill) color of an image

edit_limit

edit_box

Maximum number of characters users can enter

edit_width

edit_box, popup_list

Width of the edit (input) portion of the tile

fixed_height

All tiles

Height doesn't grow during layout

fixed_width

All tiles

Width doesn't grow during layout

fixed_width_font

list_box, popup_list

Displays text in a fixed pitch font

height

All tiles

Height of the tile

initial_focus

Dialog

Key of the tile with initial focus

is_bold

Text

Displays as bold

is_cancel

Button

Button is activated when the cancel key—usually ESC—is pressed

is_default

Button

Button is activated when the accept key—usually ENTER—is pressed

is_enabled

All active tiles

Tile is initially enabled

is_tab_stop

All active tiles

Tile is a tab stop

key

All active tiles

Tile name used by the application

label

boxed_row, boxed_column, boxed_radio_row, boxed_radio_column, button, dialog, edit_box, list_box, popup_list, radio_button, text, toggle

Displayed label of the tile

layout

slider

Whether the slider is horizontal or vertical

list

list_box, popup_list

Initial values to display in list

max_value

slider

Maximum value of a slider

min_value

slider

Minimum value of a slider

mnemonic

all active tiles

Mnemonic character for the tile

multiple_select

list_box

List box allows multiple items to be selected

password_char

edit_box

Masks characters entered in edit_box

small_increment

slider

Incremental distance to move

tabs

list_box, popup_list

Tab stops for list display

tab_truncate

list_box, popup_list

Truncates text that is larger than the associated tab stop

value

Text, active tiles (except

buttons and image buttons)

Tile's initial value

width

All tiles

Width of the tile