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
AlternBackColor RGB color value or a LANSA specified color name applied to the every second item in a list
Bold Bold makes text bold
BorderColor BorderColor sets the color of grid borders
BorderStyle BorderStyle makes components 3D, flat etc.
ComponentClassName ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembers ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternName ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTag Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentType ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeName ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
ErrorBackColor ErrorBackColor sets the color of fields in error
FaceName FaceName is the name of the font
FontSize FontSize sets the size of the font
Italic Italic makes the font italic
LineColor LineColor sets the color of grid lines
Name Name identifies the component Inherited from Object (PRIM_OBJT)
NormBackColor NormBackColor sets color of background
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent 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 Script is the language your computer is set up for
SQLNullBackColor RGB color value or a LANSA specified color name applied to the controls with an SQLNull value
StrikeOut StrikeOut makes text strikeout
TextColor TextColor sets the color of text
Underline Underline makes the font underlined

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Visual Style Item (PRIM_VSI)
DestroyInstance DestroyInstance 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

LANSA Version 15, April 2020