Vote UpVote

LiveBindings: Fill a TListBox box from a TClientDataSet at design time

Jim Tierney – TBindList can iterate through the records in a TClientDataSet and fill a TListBox.  Here is how to configure TBindList in the designer. Drop a TClientDataSet and a TDataSource on a form.  Load some data into the dataset such as biolife.xml (Right click ClientDataSet1, choose "Load from MyBase table…", browse to the sample data directory and choose biolife.xml).   In the object inspector, set DataSource1.DataSet to ClientDataSet1.  Drop a TBindScopeDB component on the form and set BindScopeDB1.DataSource to DataSource1.  BindScopeDB1 connected to DataSource1 Drop a TListBox on the form ...
Favorite? Off-Topic? Jim Tierney @ 2011-09-30 22:39


Visits: 543
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Daniele Teti
Rob McDonell
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)