
When T the control is usable by the user, when set to Nil the control is grayed out and unusable.
This property is a boolean. T to enable. Nil to disable.
AngleSlider, Animation, BlockList, BlockView, CheckBox, ComboBox, DwgList, DwgPreview, EditableGrid, Frame, GraphicButton, Grid (Hatch), HtmlControl, ImageCombo, Label, ListBox, ListView, MonthPicker, Option, OptionList, PictureBox, ProgressBar, Rectangle, ScrollBar, SliderBar, SlideView, SpinButton, Splitter, TabControl, TextBox, TextButton, TreeControl, UrlLink.
Can be passed as "Enabled" to Control_SetProperty and Control_GetProperty's string property name where applicable.
Copy Code |
|---|
; Get the property from the control (setq Value (Odcl_Control_GetEnabled MyProject_MyForm_MyControl)) (setq Value (Odcl_Control_GetEnabled "MyProject" "MyForm" "MyControl")) |
Copy Code |
|---|
; Set the property to the control (Odcl_Control_SetEnabled MyProject_MyForm_MyControl T) (Odcl_Control_SetEnabled "MyProject" "MyForm" "MyControl" Nil) |