Visit site Jim Tierney

December 2012

2
votes
Vote UpVote

XE3 Visual LiveBindings: User defined C++ objects

Jim Tierney – In the previous post, TListBindSourceAdapter<TContact> is used to enable a list of Delphi TContact objects with LiveBindings, using the CreateAdapter event handler: implementation {$R *.dfm} uses ContactsUnit, System.Generics.Collections; procedure ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-12-11 22:04
2
votes
Vote UpVote

XE3 Visual LiveBindings: User defined objects

Jim Tierney – The adapter components TListBindSourceAdapter and TObjectBindSourceAdapter enable LiveBindings with user defined TObjects. Here is a user defined TObject  for example. type TContact = class private FFirstName: string; FLastName: string; public constructor Create; overload; ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-12-11 20:03

October 2012

4
votes
Vote UpVote

XE3 Visual LiveBindings: Samples

Jim Tierney – Here is a summary of the samples which accompany my XE3 VLB posts.  The samples are grouped by Sourceforge locations. Observers (post) VclSampleObservableControls.dpk - Implements an observable TTrackBar LinkTrackbarToField.dpr - TObservableTrackBar project Actions (post) Navigate using actions ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-22 07:35
5
votes
Vote UpVote

XE3 Visual LiveBindings: TListView

Jim Tierney – A previous post uses TListBox to demonstrate how to link fields to a list control.  The same steps can be used to link fields to TListView. Here is a sample form with a TListView: To improve the TListView appearance, the ListView1.ViewStyle property has been set to vsList. The LiveBindings designer ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-21 23:30
3
votes
Vote UpVote

XE3 Visual LiveBindings: Lookup controls

Jim Tierney – A lookup control displays a value that is different from the actual field value. In this post, I modify the sample application built in the previous post about lookup lists. The lookup list example ended with this design: The lookup list ended with this form: To demonstrate a lookup control, this ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-21 08:00
2
votes
Vote UpVote

XE3 Visual LiveBindings: Link a field to a lookup list

Jim Tierney – A lookup list is used when the actual data values are not meaningful to users.  A lookup list populates a list control with display values, instead of actual data values. We can configure two TPrototypeBindSource components to represent a situation that calls for a lookup list. These steps differ ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-15 19:00
0
votes
Vote UpVote

XE3 Visual LiveBindings: Link a list control to a field

Jim Tierney – List controls can be linked to data source fields. TListBox, TComboBox and VCL TListView are examples of list controls. When a list control is linked to a data source field, the selected item in the list control corresponds to the value of the data source field. To change the value of the ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-14 20:30
4
votes
Vote UpVote

XE3 Visual LiveBindings: Hiding and showing components

Jim Tierney – This post describes how to specify which components show on the LiveBindings designer. Hide/Show Component Classes To reduce clutter, the LiveBindings designer hides many classes of components.  The default settings show most visual control classes and  hide most non-visual components classes except ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-04 02:55
3
votes
Vote UpVote

XE3 Visual LiveBindings: Link controls to component properties

Jim Tierney – Simple controls can be linked to component properties.   TEdit is an example of a simple control.  TLabel.Text is an example of a component property.   Controls can be linked to most public properties of any component on a form. Link controls to component properties in the LiveBindings designer ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-03 22:30
1
vote
Vote UpVote

XE3 Visual LiveBindings: Actions

Jim Tierney – LiveBindings actions are new in XE3.  If you are not familiar with actions, follow this link.  LiveBindings actions correspond to the buttons on the TBindNavigator such as First, Next, Edit, Post, and Delete. Steps for creating a speed button which uses a LiveBindings action: Drop a ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-10-01 23:30

September 2012

2
votes
Vote UpVote

XE3 Visual LiveBindings and Controls

Jim Tierney – One type of link supported by Visual LiveBindings is between simple controls and data source fields.   Simple controls are visual components which accept user input to edit a value.  TEdit and TCheckBox are examples of simple controls. The first part of this post describes how to link controls to ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-09-29 02:06
6
votes
Vote UpVote

XE3 Visual LiveBindings

Jim Tierney – Here is a list of the LiveBindings changes we’ve made for XE3.    I’ll start digging into details next time. New Designer The LiveBindings designer is used to connect controls, component properties and data sources. Commands to create controls and data sources New capabilities ...
Details Favorite? Off-Topic? Jim Tierney @ 2012-09-28 20:18

October 2011

2
votes
Vote UpVote

LiveBindings: FillList using enumerable objects

Jim Tierney – The previous post introduced a utility method called FillList and showed how to call it using BindScopeDB1 as the source component.  TBindScopeDB allows TBindList to work with a TDataSet. This post shows a version of FillList which can work with enumerable objects such at TStrings or TList<> ...
Details Favorite? Off-Topic? Jim Tierney @ 2011-10-14 21:59
0
votes
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; ...
Details Favorite? Off-Topic? Jim Tierney @ 2011-10-03 23:33

September 2011

2
votes
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 ...
Details Favorite? Off-Topic? Jim Tierney @ 2011-09-30 22:39
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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