Visual Style Item (PRIM_VSI)
Visual style Item is a style definition
Ancestors - Object (PRIM_OBJT)
Details
A Visual Style Item defines fonts, colors and border styles. A visual style item is mapped to a Value, Caption or Title object in a visual style scheme component.
You can use a visual style item in any number of visual style schemes. You can also use one and the same visual style item for the Value, Caption and Title objects in a scheme. However, because you normally want Value objects (for example lists and fields) to have a different background color than Caption objects (for example forms), you usually define a separate style item for both.
Properties
Name | Description |
|---|---|
RGB color value or a LANSA specified color name applied to the every second item in a list | |
Bold makes text bold | |
BorderColor sets the color of grid borders | |
BorderStyle makes components 3D, flat etc. | |
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) | |
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) | |
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) | |
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) | |
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) | |
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) | |
ErrorBackColor sets the color of fields in error | |
FaceName is the name of the font | |
FontSize sets the size of the font | |
Italic makes the font italic | |
LineColor sets the color of grid lines | |
Name identifies the component Inherited from Object (PRIM_OBJT) | |
NormBackColor sets color of background | |
Owner owns this component Inherited from Object (PRIM_OBJT) | |
The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT) | |
Script is the language your computer is set up for | |
RGB color value or a LANSA specified color name applied to the controls with an SQLNull value | |
StrikeOut makes text strikeout | |
TextColor sets the color of text | |
Underline makes the font underlined |
Events
Name | Description |
|---|---|
CreateInstance is signalled when an instance of a component is created Inherited from Visual Style Item (PRIM_VSI) | |
DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Visual Style Item (PRIM_VSI) |