Category Custom user interface, Object ProUITable

Function ProUITableSelectednamesGet


Description
Gets the selected cells in the table. 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

Synopsis
#include <ProUITable.h>
ProErrorProUITableSelectednamesGet(
char* dialog
/* (In)
The name of the dialog that contains the table.
*/
char* component
/* (In)
The table name.
*/
int* count
/* (Out)
Number of items in returned array
*/
char*** values
/* (Out)
Array of selected names allocated by the function. Use ProStringarrayFree() to release it.
*/
)
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_examples ( TestUITable.c )
  2. pt_examples ( TestUITable.c )
  3. pt_examples ( TestUITable.c )
  4. pt_geardesign ( GearDesignUI.c )
  5. pt_userguide ( UgUITables.c )