Presentation styles
This function is used to define or to modify the user styles. A style is defined by a name, to which are associated graphic characteristics used by characters :
- the color
- the background color
- the font
- the size
- the attributes (underlining, strikethrough, italic, bold)
These styles once defined, can be called by their name and associated with the screen fields (in a dynamic or static fashion), and also to the field titles and the block (in a static only). The static association is made directly in the screen dictionary. The dynamic association is made by associating the screen fields with a conditional style, via a dedicated function in the screen personalization.
At the creation of the folder, the predefined styles are provided as standard. But they are not modified at the time the folder update (the new styles existing in the reference folder are simply created). It is therefore possible to add styles as required (but it is recommended to start their name by X, Y or Z to avoid later conflicts).
Prerequisite
Refer to documentation Implementation
Screen management
Entry screen
The entry is made in a grid. In this grid, a code and its title are entered for each style, as well as the display characteristics associated with each style.
Grid
Code (field COD) | ||||||||||||||||
This code identifies the created styles in a unique manner. It is recommended to avoid using a code making reference to a style characteristic, but to make reference to its use (as an example, by calling a style RED, it might be assumed that its font is red; and yet the colour might later be changed). |
||||||||||||||||
Description (field ADES) | ||||||||||||||||
Title associated with the previous code. |
||||||||||||||||
Short description (field ASHO) | ||||||||||||||||
Short title over 10 alphanumeric characters. |
||||||||||||||||
Comment (field STY) | ||||||||||||||||
The characteristics of the are defined in the form of a text containing the elements such as those below, separated by a semicolon (and also preceded by a semicolon :
NB: xxxxxx are the red, green, blue components with color in hexadecimal. Rather than entering the elements in question, it is much more simple to use the Style editor. There is a classic Windows(TM) window available for defining and choosing the fonts, the sizes and the colours. It should be noted that it is not necessary to define all the characteristics of a style. If certain characteristics are not defined, they retain the value given by the context (in particular, the user parameterization accessible from the general menu by Tools / Options). In this way, for example, the font used by default by the user for the fields in entry mode remains the same if a style only changes the colour; in the same way, an alteration of the parameterized colour for table entry by the user is not affected by a style applied to certain cells, if the background colour is not defined in the style. |
Specific Buttons
Copy
This button is used to copy the style of the current line to one or more folders, on servers accessible via the network. Block number 1
Block number 2
|