Board index » delphi » Adding Listbox Items
Terry Haimann
![]() Delphi Developer |
Fri, 26 May 2000 03:00:00 GMT
|
Terry Haimann
![]() Delphi Developer |
Fri, 26 May 2000 03:00:00 GMT
Adding Listbox ItemsI am quite new to Delphi and am running version 1.0, forgive me if my 1. I am trying to load a field from a Paradox table to a listbox. I 2. My application will be receiving data from a flatfile created by a Thanks in advance, Terry. |
Reid Roma
![]() Delphi Developer |
Fri, 26 May 2000 03:00:00 GMT
Re:Adding Listbox ItemsQuoteTerry Haimann wrote: Here is an example of filling a listbox at runtime with record values from a Paradox table: procedure TMainForm.PopulateCategoryListBox; LBCategory.Items.Add(CategoryTable.FieldByName('Category_Name').AsString); Quote> 2. My application will be receiving data from a flatfile created by a will find information on converting string types.. Hope that helps! Rkr |
Reid Roma
![]() Delphi Developer |
Fri, 26 May 2000 03:00:00 GMT
Re:Adding Listbox ItemsQuoteTerry Haimann wrote: Here is an example of filling a listbox at runtime with record values from a Paradox table: procedure TMainForm.PopulateCategoryListBox; LBCategory.Items.Add(CategoryTable.FieldByName('Category_Name').AsString); Quote> 2. My application will be receiving data from a flatfile created by a will find information on converting string types.. Hope that helps! Rkr |
AlanGLLo
![]() Delphi Developer |
Sat, 27 May 2000 03:00:00 GMT
Re:Adding Listbox ItemsIn article <fqszyioalgxmka.pmin...@pa1dsp11.dsm.infi.net>, "Terry Haimann" Quote<haim...@dmreg.infi.net> writes: directly to th TStrings. The TStrings appear in a TListBox as its Items property. The TStrings has an Add method so having got your text into a string, you code :- MyListBox.Items.Add(MyString). Other useful methods are :- All these are methods of a TStrings. Hope this helps Alan Lloyd |
1. Add items to ListView instead of ListBox: How?
2. Adding items to listbox question
3. listbox unabled to add items
4. Help: Adding to the Top of a ListBox Items list
5. Adding two seperate items to a ListBox
7. can't add or delete listbox item on another form
8. Q: Adding Items to Multi Column Listbox
9. Accessing ListBox.Items.Objects on ListBox's events
10. How to avoid deselecting item when ListBox.Items.Exchange