> A Quick question, I know how to find out which item in a > TListBox was select > with single selection. Now however, I wish to do a > multi-selecting one, how > can I determines which ITEMS were selected. > > Ideally I need to be able to feed all the selected items into > a loop and step > over them one by one. Does A TlistItem have a ''selected'' > property ? Would > doing a for loop over the TListBox.Items testing for selected work ?
You could loop through the TListBox.Selected[i] property to see which items are selected. Christo ---------------------------------------------------------------------------- NOTICE: Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail legal notice which may be found at: http://www.sasol.com/legalnotices If you cannot access the legal notice through the URL attached and you wish to receive a copy thereof please send an eMail to [EMAIL PROTECTED] ---------------------------------------------------------------------------- _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
