Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWListbox how to get Selected Values (Priority support)
#6
>>A TStringList will make it easier to retrieve the values.
>>At the contrary of a UnicodeString for which I will need 
>>to write a code to separate the values from the commas.

TStringList contains the property DelimitedText.  Assign DelimitedText a string of comma (or any other delimiter) separated values to populate the TStringList, no need to write code to separate the values:

Code:
  auto_ptr<TStringList> s(new TStringList);
  s->DelimitedText = "1,2,3";
Reply


Messages In This Thread
RE: TIWListbox how to get Selected Values (Priority support) - by MJS@mjs.us - 04-07-2023, 02:18 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)