
|
|
|
The AutoLisp Tutorial - DCL Dialog Control Language - Set and Mode Tile Set_Tile and Mode_Tile Set_Tile - is used to set the value of a control. (set_tile "key" "value") Set_Tile has two parameters. "Key" and "Value". "Key" - The name of the key you defined with the control inside the DCL file. "Value"- The new value for the control.
Use Set_Tile after the new_dialog and before the action_tiles. Set_Tile can also be used as a function while the dialog box is displayed. Mode_Tile - is used to enable or disable a control. (mode_tile "key" value) Mode_Tile has two parameters. "Key" and Value. "Key" - The name of the key you defined with the control inside the DCL file. Value- The new value for the control. 0 = Enabled 1 = Disabled (mode_tile "mylist" 0) Enables the list box (mode_tile "mylist" 1) Disables the list box Use Mode_Tile after the new_dialog call and before the action_tiles. Mode_Tile can also be used as a function while the dialog box is displayed. That is all there is to set_tile and mode_tile. We will used them later on in the tutorial so you can see them in action. All questions/complaints/suggestions should be sent to / Last Updated April 1st, 2013 Copyright 2002-2013 /. All rights reserved. |