Visual Style Language (PRIM_VSL)

Visual style language

Ancestors - Object (PRIM_OBJT)

Details

A Visual Style Language defines the Scheme to be used for a specific runtime language.
 
If the LANG being used matches the name of the Visual Style Language, that scheme will be applied to the application.
 
If not, the Default Scheme will be used.

Example

This example show two different styles, one for ENG and one for FRA.
Begin_Com Role(*EXTENDS #PRIM_VS) Default(#SCHEME)
 
   Define_Com Class(#Prim_vsl) Name(#ENG) Scheme(#SCHEME)
   Define_Com Class(#PRIM_VSS) Name(#SCHEME) Captions(#CAPTION) Titles(#CAPTION) Values(#VALUE)
   Define_Com Class(#PRIM_VSI) Name(#CAPTION) Facename('MS Sans Serif') Fontsize(8) Normbackcolor(ButtonFace) Script(Western)
   Define_Com Class(#PRIM_VSI) Name(#VALUE) Borderstyle(3DLeft) Errorbackcolor(255:96:160) Facename('MS Sans Serif') Fontsize(8) Script(Western)
 
   Define_Com Class(#Prim_vsl) Name(#FRA) Scheme(#SCHEMEFRA)
   Define_Com Class(#PRIM_VSS) Name(#SCHEMEFRA) Captions(#CAPTIONFRA) Titles(#CAPTIONFRA) Values(#VALUEFRA)
   Define_Com Class(#PRIM_VSI) Name(#CAPTIONFRA) Facename('MS Sans Serif') Fontsize(10) Normbackcolor(ButtonFace) Script(Western)
   Define_Com Class(#PRIM_VSI) Name(#VALUEFRA) Borderstyle(3DLeft) Errorbackcolor(255:96:160) Facename('MS Sans Serif') Fontsize(10) Script(Western)
 
End_Com

Properties

NameDescription
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)
NameName identifies the component Inherited from Object (PRIM_OBJT)
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)
SchemeScheme to used for the language

Events

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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2