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

NameDescription
AlternBackColorRGB color value or a LANSA specified color name applied to the every second item in a list
BoldBold makes text bold
BorderColorBorderColor sets the color of grid borders
BorderStyleBorderStyle makes components 3D, flat etc.
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
ErrorBackColorErrorBackColor sets the color of fields in error
FaceNameFaceName is the name of the font
FontSizeFontSize sets the size of the font
ItalicItalic makes the font italic
LineColorLineColor sets the color of grid lines
NameName identifies the component Inherited from Object (PRIM_OBJT)
NormBackColorNormBackColor sets color of background
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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)
ScriptScript is the language your computer is set up for
SQLNullBackColorRGB color value or a LANSA specified color name applied to the controls with an SQLNull value
StrikeOutStrikeOut makes text strikeout
TextColorTextColor sets the color of text
UnderlineUnderline makes the font underlined

Events

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Visual Style Item (PRIM_VSI)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Visual Style Item (PRIM_VSI)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2