Vote UpVote

LiveBindings: Code to create TBindLink and fill a Listbox

Jim Tierney РThe previous post described how to configure TBindList in the designer.  This post describes how to use TBindList in code. Here is a method to fill a listbox using a TBindList component: procedure FillList(AControl: TComponent; const AControlExpression: string; ASource: TBaseBindScopeComponent; const ASourceExpression: string; const ASourceMemberName: string = ''); var LBindList: TBindList; begin LBindList := TBindList.Create(nil); try // Turn off auto properties. LBindList.AutoFill := False; LBindList.AutoActivate := False; LBindList.ControlComponent := AControl; ...
Favorite? Off-Topic? Jim Tierney @ 2011-10-03 23:33


Visits: 396
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

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)