LiveBindings is a data-binding feature supported by both the VCL and FireMonkey in RAD Studio XE2 and later versions.
Questions tagged [livebindings]
139 questions
0
votes
1 answer
How to get the values of TListView selected item in Firemonkey Delphi Rio
I have a TListView populated with data from TFDQuery using Livebindings.
I would like to get the values of the selected item like the item.text, itemheader.text, etc. I already figured out the selected item through listview1.itemindex but to get the…

Juke
- 135
- 2
- 9
0
votes
1 answer
How to move to Next Tab upon selection of an Item in TListView in Firemonkey Delphi
I have TabControl with 2 TabItems for my mobile device development. The TabItem1 has a TListView for list of items populated using LiveBindings.
Here, the TabItem2 should provide the details of the selected item in TabItem1 — no issues here.
My…

Juke
- 135
- 2
- 9
0
votes
0 answers
TListView Livebinding Search functionality to limit in Top 20 searches only in Firemonkey Delphi Rio 10.3
I am developing a mobile device for Android and iOS. I need to populate data to my TListView with search functionality. I am using a local database for this development with SQLite3 having 100,000 records in one table alone.
Now, everything was so…

Juke
- 135
- 2
- 9
0
votes
1 answer
Delphi Cannot change this property when using LiveBindings
Can anybody explain to me what the error message "Cannot change this property when using LiveBindings" is telling me?
I am new to FMX / Live Bindings and I had something working, but I changed a few things and now, I am getting this error when…

Andrew
- 47
- 7
0
votes
0 answers
Livebindings master-detail relationship between 2 comboboxes to work vice-versa selection
I am trying to use the livebindings feature between 2 tcomboboxes having master-detail relationship. Both tcomboboxes are connected to respective datasets. Say, I have a customer name table and the jobs table. Both tables are populated to respective…

Juke
- 135
- 2
- 9
0
votes
0 answers
Passing object constructor parameters in Livebindings
Are TListBindSourceAdapter and TObjectBindSourceAdapter able to create new objects whose constructors require parameters? For example,
MyObject := TMyObject.Create(AParameter: TObject);
If yes, how can I code this?

Terry Thompson
- 489
- 2
- 15
0
votes
1 answer
FMX ListView with LiveBindings
I am developing an FMX (Android) app using a ListView in Delphi 10.2.3. I have the Listview live(bound) to a ClientDataSet with (Synch->*). This works very well, and any changes in Listview are propagated to the ClientDataSet, including the…

Freddie Bell
- 2,186
- 24
- 43
0
votes
0 answers
Reselect item after requery in delphi firemonkey and livebindings
I have a Delphi-Firemonkey-Android program. It has a TListBox, named lst1 and a database query. I hooked it up with live bindings like this:
This is what I have in LiveBindings
What I do is select an item in the listbox, then some processing in the…

Mattias C
- 23
- 2
0
votes
1 answer
How create binded object outside of PrototypeBindSource.OnCreateAdapter?
I'm using TPrototypeBindSource to bind some object property to visual control. Everything works correctly but I have to create this object in TPrototypeBindSource.OnCreateAdapter like that:
procedure TForm.PrototypeBindSourceCreateAdapter(Sender:…

aQuu
- 565
- 8
- 18
0
votes
1 answer
How to update Label caption when EditBox text change using LiveBindings in Delphi?
I can update the label caption when editbox text change if I use following code:
procedure TForm1.Edit1Change(Sender: TObject);
begin
Label1.Caption:=Edit1.Text;
end;
If I do same with LiveBindings, It is only updating caption when I set focus…

vkumar
- 1
- 2
0
votes
1 answer
Delphi FMX LiveBindings Rectangle.Fill.Color from a Database Field
I need to assign a TRectangle.Fill.Color from a database field using LiveBindings, it looks like a simple thing, but I could not do it. Maybe the field type, maybe the value, but when assigned from a PrototypedBinding...it works.
How can I assign a…

FelixBCastillo
- 3
- 1
0
votes
0 answers
Integer field, FMX combobox and LiveBindings in Delphi
I use an integer field to store the user's rank: 0=admin, 1=base, ....
In a FMX form I would like to manage this field with a combobox showing the rank string (admin, base, ...).
Is there a way to do this with Live Binding?

orsomannaro
- 51
- 1
- 4
0
votes
2 answers
Radstudio ListView and FireDac Binding Synch Issue
I have a table with a primary key (ID) and a unique field (REF) that I want to bind to a ListView.
With LiveBindings the links are created with :
1) (Table) * <-> Synch (ListView)
2) (Table) ref -> Item.Text (ListView)
Additionaly, a link are…

sgm
- 196
- 3
- 14
0
votes
0 answers
Bind combobox with OO
I have 2 business classes. This classes are load by database. The "product" class have a property "category" who is an instance of category.
unit Unit5;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,…

Joc02
- 345
- 8
- 18
0
votes
1 answer
Delphi LiveBindings TPrototypeBindSource and customFormat
I use business classes with a TPrototypeBindSource. I will use CustomFormat to concatenate 2 fields. I am coming with a TBindSourceDB but not with the TPrototypBindSource.
I use an TEdit and a TLinkControlToField.
If I use : %s + " text" => it's…

Joc02
- 345
- 8
- 18