Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.
The following sample code populates a string list with column captions. The GetColumnsList method uses the Columns and ColumnCount properties to get access to the collection of columns within the control and to determine the number of columns within the collection.
Note that the AColumns parameter passed to the GetColumnsList method should be already initialized.
voidGetColumnsList(TStringList *AColumns){
for (int I = 0; I < cxTreeList->ColumnCount; I++)
AColumns->AddObject(cxTreeList->Columns[I]->Caption->Text, cxTreeList->Columns[I]);
}
Was this page helpful?
Thanks for your feedback!
How can we improve this help topic?
Additional comments/thoughts:
If you have any questions, submit a ticket to our Support Center.