contents   index   previous   next

UI_BackColor Property


Returns/sets the border style of controls. The value of UI_BorderStyle is based on Enum e_BorderStyle.




UIToolX.UI_BackColor (ByVal Data As OLE_COLOR)




UIToolX.UI_BackColor = &H00C0FFFF




The above example will set the control so its background color is a light yellow. This includes controls that do not normally have this property exposed to Visual Basic users. This setting is global, therefore is you use AddControl and do not specify a BackColor it will inherit this value. If you specify a BackColor when using AddControl, it will override this value.



Usage Notes


As with all of the UI Colors setting they are global. If you use the AddControl method and specify a color, it will override this value. If you use the AddControl method and you leave this color parameter blank, the color specified by this property will be used.