Category Custom user interface, Object ProUIList

Function ProUIListSelectednamesSet


Description
Sets the currently selected items in a list.
Synopsis
#include <ProUIList.h>
ProErrorProUIListSelectednamesSet(
char* dialog
/* (In)
The name of the dialog that contains the list.
*/
char* list
/* (In)
The name of the list component.
*/
int n_selections
/* (In)
The number of selections. Note: The list selection policy may prevent selection of more than one item simultaneously.
*/
char** selections
/* (In)
An array of strings containing the names of items in the list that should be selected.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid
PRO_TK_GENERAL_ERRORThe function failed
See Also
ProUIListSelectionpolicySet

Manual References:

  1. User Interface: Dialogs: List Attributes

Sample Code References:

  1. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )