Unicode Controls & Classes for VB6 - Version 4

ctlUniStyler Control

Extremely powerful control that permits you to change the look and feel of your applications using just no code ;-)
It works changing the visual aspect of Unicode Controls of this library.

By default every color property of this control has the value -1& that means "don't make any change to controls".
By default the font face of controls is changed to "Arial Unicode MS", remove it in order to avoid the change of fonts.

If you need to style Hexagora Unicode Controls contained into your custom controls see at the end of this page.
Check common properties here

Enums
Name Description
Events
Name Description
Styled Raised after a control has been styled (raised only for Hexagora Unicontrols)
Properties
Name Type Description
BorderColor (OLE_COLOR) Gets or sets the Border color
ButtonBackColor (OLE_COLOR) Gets or sets the background color for buttons
ButtonForeColor (OLE_COLOR) Gets or sets the text color for buttons
ButtonStyle (eCtlButtonStyle) Gets or sets the buttons style
FontFace (String) Gets or sets the font-face to apply to controls
HeaderBackColor (OLE_COLOR) Gets or sets the background color for the header of grid/listview
HeaderForeColor (OLE_COLOR) Gets or sets the text color for the header of grid/listview
MenuBackColor (OLE_COLOR) Gets or sets the background color for menus
MenuForeColor (OLE_COLOR) Gets or sets the text color for menus
MenuSelectorBackColor (OLE_COLOR) Gets or sets the background color for the menus selector
MenuSelectorForeColor (OLE_COLOR) Gets or sets the text color for the menus selector
MenuSelectorStyle (eCtlButtonStyle) Gets or sets the style of the menus selector
PanelBackColor (OLE_COLOR) Gets or sets panels background color
PanelForeColor (OLE_COLOR) Gets or sets panels text color
SelectorBackColor (OLE_COLOR) Gets or sets the Selector background color
SelectorForeColor (OLE_COLOR) Gets or sets the Selector text color
SelectorStyle (eCtlButtonStyle) Gets or sets the Selector style
TextBackColor (OLE_COLOR) Gets or sets the background color for text elements
TextForeColor (OLE_COLOR) Gets or sets the foreground color for text elements
Methods
Name Type Description
ApplyToControl Applies new styles to the given control
ApplyToForm Applies the new style to every control on the form
Remarks
How to use the control:
Simply draw it on a form, edit its properties in design mode then call the "ApplyToForm" method



How to style Hexagora Unicode Controls contained into custom usercontrols:
Check the [IHexUniStyler] interface class