Category Custom user interface, Object ProUITable

Function ProUITableSelectednamesSet


Description
Sets the selected cells in the table.
Synopsis
#include <ProUITable.h>
ProErrorProUITableSelectednamesSet(
char* dialog
/* (In)
The name of the dialog that contains the table.
*/
char* component
/* (In)
The table name.
*/
int count
/* (In)
Number of items in the values array
*/
char** values
/* (In)
Array of selected names. This array should consist of (2 * the number of selections), organized in pairs:
  • element [0, 2, 4...] = row name of the selected cell

  • element [1, 3, 5...] = column name of the selected cell

*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed
PRO_TK_BAD_INPUTSAn invalid argument was given

Manual References:

  1. User Interface: Dialogs: Table Attributes

Sample Code References:

  1. pt_geardesign ( GearDesignUI.c )