<<

Contents

Search

>>

 

Configuration Mask

 

With the configuration mask the user can define many program settings individually. The settings are saved in the file <Programname>.jni or <Programname>_Client.jni. If this file is deleted, the standard settings will apply again.

 

The configuration mask is usually started by the first icon (key F1):

 

 

 

 

 

Fixed Font: Fixed font is a font where all characters have the same width. The size of the main window is calculated from the fixed font: Width of fixed font * number of mask columns = Width and height of the fixed font, * number of mask rows = height of main window.

HH

 

Width of Fixed Font: The standard width is 1,00. If a value < > 1 is specified, the character width will be increased or decreased accordingly. This also changes the size of the main window.

 

Proportional Font: The proportional font applies to all mask elements whose font name was specified as ’standard’ in the Field Attributes.

 

Font Size: The specified Font Size applies to the Fixed Font as well as to the Proportional Font. If the font size has been changed, the size of the main window will be changed accordingly when the configuration data are saved. If the font size is specified as 0, the font size suitable for the size of the main window will be calculated automatically.

 

Width of Proportional Font: The standard width is 1,00. If a value < > 1 is specified, the size of the font characters will be increased or decreased accordingly.

 

Menu Font: Specifies the font for menus.

 

Size of Menu Font: Specifies the size of the menu font.

 

Font Styles: You can specify which font or font type (bold, italic) shall be used for mask fields and text fields and in the selection windows (SELECT / SELECTA).

 

Button 'Save': The settings are saved and the configuration mask is closed.

NOTE: Some changes take effect only when the screen masks are called up again or when the program is restarted.

 

Button 'Cancel': Changed settings are not saved; the configuration mask is closed.

 

 

Pushbuttons: Specifies the design of all pushbuttons with which the option no Image is chosen under Additional Field Attributes.

 

Button 'Gradient': Specifies the background color gradient, which applies to all pushbuttons.

 

Checkboxes: Specifies the design of all check boxes with which the option no Image is chosen under Additional Field Attributes.

 

Radiobuttons: Specifies the design of all radiobuttons with which the option no Image is chosen under Additional Field Attributes.

 

TabControls: Specifies the configuration of the tabs for all TabControls that were specified as type=0.

 

Highlight Mask Field: If this checkbox is set, the current field of the mask will be displayed in the color „highlight“ (see tab colors) provided that the checkbox is set under Highlight Current Mask for the respective field type.

 

Highlight Current Mask Field: Specifies the field types to which the checkbox Highlight Mask Field shall apply.

 

 

 

 

The colors of the program can be specified. Every color consists of a red, green and blue share that has to be between 0 and 255. If one of the color share is negative (<0), the standard color will apply. The following colors can be set:

 

Color Mark: Color for selecting characters in the input field.

Color Highlight: Color for highlighting the current mask field.

Color main window: Background color of the main window. The background color takes effect only if no color gradient main window has been specified.

Color Window: Background color of windows. The background color takes effect only if no color gradient window has been specified.

Color SELECT/SELECTA: Background color of selection windows that are created with SELECT / SELECTA.

Gradient main window: Specifies the background color gradient of the main window. If one of the 6 color shares is negative (-1), no gradient will be created.

Gradient Window: Specifies the background color gradient of windows. If one of the 6 color shares is negative (-1), no gradient will be created.

 

Color of Mask Fields:

 

 

 

The standard colors of the mask fields for foreground (text color) and background can be specified. These colors only apply to mask fields for which no text or background color has been specified with the Field Attributes. If one of the color shares is negative (<0), the standard color will apply.

 

 

Look and Feel: One of the look and feels supported by Java can be selected.

 

Icons With Border: The icons in the icon bar are displayed with border.

 

Grey Icons: The icons on the icon bar are displayed in grey, not in color.

 

Show tooltip after ... milliseconds: If the mouse is being moved over a mask element, the tooltip (see Field Attributes) will be displayed after a certain time of delay. The delay can be specified here.

 

 

 

Language: If the option Create Language File is chosen with the generation of a program (see Generator), a file <programname>.properties is created, in which all texts of the program are entered. With the help of this file the program can be translated into other languages. For this purpose the file <Programname>_<Language>_<Country>.properties must be created (e.g. <Programname>_en_US.properties). The texts from the original file can be translated with the program Plocale, e.g., which is included in the Ebus CD. If another language is chosen in the program on the configuration mask and if the respective translation file <Programname>_<Language>_<Country>.properties exists in the working directory of the program, all texts of the program will be replaced by the texts from the translation file.

 

Show Mask centered in main window: If the main window is wider than the mask displayed, the mask will be placed in the center of the main window.

 

Save SELECT Properties: In the selection windows SELECT and SELECTA the width and the configuration of columns can be changed. If the checkbox Save SELECT Properties is set, the current configuration of the columns will be saved with closing the program. When the same SELECT / SELECTA is called next (also when the program has been restarted) the columns of the SELECT / SELECTA are displayed in the width and configuration that was saved last. This applies to all SELECT / SELECTA of one program.

 

Show tooltip texts of mask fields: If this checkbox is set, the tooltip text will be displayed after a certain time of delay when the mouse is being moved over a mask field.

 

Button 'Reset Saved SELECT Properties': If this button is pressed, all saved configurations of SELECT/ SELECTA will be deleted. With the next start of a SELECT/ SELECTA the configuration and width of columns specified by the programming will apply again.

 

Memory: The current assignment of memory space is displayed:

total memory shows the size of the memory space currently used by the Ebus-2T-Server.

free memory shows how much of the memory space is not being used by total memory.

max memory shows the maximum of memory space that the Ebus-2T-Server may use.

 

 

 

If a runtime error occurs in the program, this error will be displayed in a window. In addition to that, the fields will be recorded in the file <Programname>.log. If the button 'Delete Logfile' is pushed, the record file <Programname>.log will be deleted.