DtvLong dal_wdg_set_sng (iwd, sng)

Controls the behavior of a widget when records are selected (selection mode).

Input Parameters Significance
DtvLong iwd widget Id [0 = active widget]
DtvLong sng selection flag:
0 = normal selection mode (default)
1 = single selection mode

Output Parameters Significance
no -

Return Code Significance
0 no error

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.