Forum Discussion

AndrewK1975's avatar
AndrewK1975
New Contributor
10 years ago
Solved

TStrings using

Hi support and all, I've droped an ListBox on my users form and want read strings are added to this ListBox in cycle.   UserForms.ControlPanel.FilesLB is my TcxListBox class control on the user pa...
  • joseph_michaud's avatar
    10 years ago

    I'm not sure but I *think* that ListBox.Items returns a TStrings object, on which you then use Items(index) to retrieve your string.  So perhaps

     

    S := UserForms.ControlPanel.FilesLB.Items.Items[i];