Welcome to the Southern African Autolisp Website.

Afra-lISP


You are Visitor Number since 21st June 1999.


DCL Tile Attributes

This tutorial will give you a detailed explanation of all attributes used in the design
and implementation of dialogue boxes used within AutoCAD/AutoLisp.
I have provided a sample dialogue image of each of the various aspects of attributes,
and the sample DCL Coding that was used to create the dialogue. The sample AutoLisp
coding required to display each dialogue can be found in the downloadable tutorial.


Attributes in DCL define the layout and functionality of tiles. If you are familiar
with Visual Basic, you will find that they are very similar to properties.
DCL Attributes consist of a name and a value.

Note: The value of certain attributes can change at run-time, with user input or
'set_tile' calls.

The value of a tile's attribute must be one of the following type:

Integer

  • Numeric Values (integer or real number) that represent
    distances such as width, or height of a tile.
Real Number
  • A fractional real number must have a leading digit.
    e.g. 0.1 not .1.
Quoted String
  • A quoted string consists of text enclosed in quotation
    marks (" "). Attribute values are case sensitive. "RB1" is
    not the same as "rb1".
Reserved Word
  • A reserved word is an identifier made up of alphanumeric
    characters, beginning with a letter. e.g. true or false.
    Reserved words are case sensitive: True does not equal true.


Global Attributes.

Attribute : Applies To :
  • All Tiles


Attributes Associated with Action Tiles

Attribute : Applies To :
  • button; edit_box; image_button; list_box; popup_list;
    radio_button; slider; toggle; radio_column; radio_row.


Attributes Associated with Tile Clusters

Attribute : Applies To :
  • row; column; radio_row; radio_column; boxed_row;
    boxed_column; boxed_radio_row; boxed_radio_column.


Attributes Associative with Specific Tiles

Attribute : Applies To :
  • edit_box; image_button; list_box

Attribute : Applies To :
  • image; image_button.

Attribute : Applies To :
  • slider.

Attribute : Applies To :
  • image; image_button.

Attribute : Applies To :
  • edit_box.

Attribute : Applies To :
  • edit_box; popup_list.

Attribute : Applies To :
  • edit_box; popup_list.

Attribute : Applies To :
  • dialog.

Attribute : Applies To :
  • button.

Attribute : Applies To :
  • button.

Attribute : Applies To :
  • boxed_row; boxed_column; boxed_radio_row;
    boxed_radio_column; button; dialog; edit_box
    list_box; popup_list; radio_button; text; toggle.

Attribute : Applies To :
  • slider.

Attribute : Applies To :
  • list_box; popup_list.

Attribute : Applies To :
  • slider.

Attribute : Applies To :
  • slider.

Attribute : Applies To :
  • list_box.

Attribute : Applies To :
  • edit_box.

Attribute : Applies To :
  • slider.

Attribute : Applies To :
  • list_box; popup_list.

Attribute : Applies To :
  • list_box; popup_list

Attribute : Applies To :
  • text; all active tiles (except buttons and
    image_buttons).


To download all DCL and AutoLisp Code samples, stand up, go into the bathroom,
look in the mirror and stick your tongue out. Then return to the computer, place
your mouse here, and click as hard as you can. Enjoy..


All Tutorials and Code are provided "as-is" for purposes of instruction and
utility and may be used by anyone for any purpose entirely at their own risk.
Please respect the intellectual rights of others.
All material provided here is unsupported and without warranty of any kind.
No responsibility will be taken for any direct or indirect consequences
resulting from or associated with the use of these Tutorials or Code.

Copyright © 1999 by Kenny Ramage
All rights reserved.
Information in this document is subject to change without notice.
Site created and maintained by Kenny Ramage.