DtvLong dal_wdg_ret_sng (iwd)

Returns behavior of the widget passed when records are selected (selection mode).

Input Parameters Significance
DtvLong iwd widget Id [0 = active widget]

Output Parameters Significance
no -

Return Code Significance
0 normal selection mode active (default)
1 single selection mode active

Controlling the selection mode is only useful in list widgets, for only there records can be selected.

In list widgets you can select several records in normal selection mode, and only one record in single selection mode.

In form widgets the currently visible record is considered selected. There is no selection mode for forms.