Visual Style - Default Property

Default is the default visual style scheme

Member of Visual Style (PRIM_VS)

Data Type - PRIM_VSS - Visual style scheme maps styles to objects

Details

The Default property specifies the Scheme to be used if there is no language-specific scheme.
 
You can define a visual style scheme for any Language defined in the partition. This is useful for example when you want to change the name of the font face name according to language.

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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2