ListSelectedItemsSet

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalNumber ListSelectedItemsSet(SalString sValues, SalBoolean bDbValues)

The ListSelectedItemsSet method sets the specified items as selected and deselects all other items. The sValues contains the list of all items to select in the format "<selected item 1><vs><selected item 2>...".

Parameters

Name Description
SalString sValues List of all items to select in the format "<selected item 1><vs><selected item 2>..."
SalBoolean bDbValues false if sValues contain the client representation.

Returns

This method does not return a value.

Comments

If bDbValues is true, then sValues should contain the database representation of the values, otherwise sValues should contain the client representation.

Example

Call lbEmployeeBenifits.ListSelectSelectedItemsSet( sValues, TRUE )
Call lbEmployeeBenifits.ListSelectSelectedItemsSet( sValues, TRUE )
C# code
Ifs.Fnd.ApplicationForms.cListBox.ListSelectedItemsSet(this.i_sMyValue, true);