version 2003
PA_Dial4DNewTableFieldHList (dialog; variable; table; showRelatedTables; showRelatedFields; useIcons; sorted)
Parameter | Type | Description | |
dialog | PA_Dial4D | Dialog reference | |
variable | char* | Name of the variable to access | |
table | short | Table number or 0 for all the tables | |
showRelatedTables | char | 1 : Show related tables, 0 : Hide them | |
showRelatedFields | char | 1 : Show related fields, 0 : Hide them | |
useIcons | char | 1 : Use icons to show fields kind, 0 : No icons | |
sorted | char | 1 : Sort tables/fields by alphabetical order, 0 : No sort |
Description
The routine PA_Dial4DNewTableFieldHList populates a hierarchical list with the table table. If you pass to table, all the tables will be displayed.
Remember to call PA_Dial4DDisposeHList once you are done with your dialog to dispose of the memory allocated by the hierarchical list.
See Also
PA_Dial4DDisposeHList, PA_Dial4DGetTableFieldHListCurrent, PA_Dial4DSetTableFieldHListCurrent.
Error Handling
None.