<<

Contents

Search

>>

 

Additional Field Attributes Combobox

 

 

Border: Defines the style of the border.

 

Sort: The items of the combobox are sorted alphanumerically.

 

Combobox with Edit Field: The combobox contains an edit field where any data can be entered.

 

Height in Lines: Defines the size of the folding part of the combobox.

 

Preallocation: The preallocation of the combobox content can be made by a variable or a constant specification.

 

Preallocation by Variable: The specified variable must contain the items of the combobox at runtime. The items must be separated by a semicolon.

 

Constant Preallocation: The items of the combobox can be filled in.

 

In Comboboxes images can be displayed. The name of the image has to be inserted at the beginning of the item with a leading '@' and a trailing ','.

 

Example: STATISTIC_LIST$ =  "@myimage.gif,Image1;Smith:McDonald"

 

Each item of a comboxbox can have individual colors. The colors have to be added at the end of the item in the following format:

 

#<F-Red,F-Green,F-Blue,B-Red,B-Green,B-Blue>

 

F_Red, F-Green and F-Blue specify the foreground color and B_Red, B-Green and B-Blue specify the background color

 

Example: STATISTIC_LIST$ =  "@myimage.gif,Image1#<255,255,255,255,0,0>;Smith#<0,0,0,255,255,0>;McDonald"

Image1 is displayed white on red and Smith is displayed black on yellow.

 

Button 'OK': Changes are saved and the window is closed.

 

Button 'Cancel': The window is closed, changes are not saved.