9.191 SET_DD_ATTRIBUTES

Note: Built-In Function Rules     Usage Options

Allows the characteristics of a field that is to be visualized as a drop-down to be controlled.

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

The name of the drop down. It must begin with "DD" and be in the format DDxx. This name corresponds to the name used in the field's input or output attributes and the name used in the ADD_DD_VALUES Built-In Function.

4

4

 

 

2

A

Req

The style to be used when visualizing the drop down field. Allowable values are:

A - The default single line non-editable drop down.

B - A single line editable drop down.

C - A multiple line editable drop down. Under Windows this style is visualized as a combo-box.

D - A multiple line non-editable drop down. This style is visualized as a list box.

Invalid values in this argument are ignored and they are converted to style A.

1

1

 

 

3

N

Opt

The total number of panels "lines" that the drop down control is to occupy on the panel or window.

For styles A and B this value indicates the number of lines that the drop down should occupy when the user has dropped it down.

For styles C and D this value indicates the number of lines that the drop down control should permanently occupy on the panel.

This argument must be a valid number in the range 1 to 20. Values outside this range are ignored and the default value is used.

The value is specified in panel "lines", where a panel is up to 24 lines long. The actual number of items that can be visualized in the drop down depends upon the height of the font being used.

The default length is the least of

a) no. of items in the List;

b) remaining lines on the Panel.

1

7

0

00

 

Return Values

No return values.

General Technical Notes