
The background color of the control, in AutoCAD® colors or Windows® system colors.
This property is a long integer and is a color.
BlockList, BlockView, CheckBox, DwgList, DwgPreview, GraphicButton, EditableGrid, Grid (Hatch), Label, ListBox, ListView, Option, OptionList, PictureBox, SlideView, TextBox, UrlLink.
Can be passed as "BackColor" to Control_SetProperty and Control_GetProperty's string property name where applicable.
A TextBox with the multi-line style or OnReturnPressed event does not use this setting.
Copy Code |
|---|
; Get the property from the control (setq Value (Odcl_Control_GetBackColor MyProject_MyForm_MyControl)) (setq Value (Odcl_Control_GetBackColor "MyProject" "MyForm" "MyControl")) |
Copy Code |
|---|
; Set the property to the control (Odcl_Control_SetBackColor MyProject_MyForm_MyControl 4) (Odcl_Control_SetBackColor "MyProject" "MyForm" "MyControl" 4) |