Category Custom user interface, Object ProUITable

Function ProUITableColumnnamesSet


Description
Sets the names of the columns in the table.

 If adding new columns - labels must be assigned using ProUITableColumnlabelsSet() or ProUITableColumnLabelSet().

Synopsis
#include <ProUITable.h>
ProErrorProUITableColumnnamesSet(
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 column names.
*/
)
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_userguide ( UgUITables.c )