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
1
vote
1 answer
Can you make a live binding to a string variable in delphi xe 4
here is my problem:
I have a label lblAccBalance and a variable in a different unit sAccBal:String. Is there a way that I can bind the caption of lblAccBalance to the value of my variable in my other unit with live bindings delphi xe4

Jacques Koekemoer
- 1,378
- 5
- 25
- 50
1
vote
2 answers
How to access data record after ListBox selected with LiveBindings
I have a TSQLDataset, Im using the livebindings to bind it to a listbox. When I click on the listbox item, I want to be able to access the other fields of data from the record, but I cannot figure out how to do it because I cannot get the dataset to…

TysonStephen
- 21
- 4
1
vote
3 answers
Firemonkey livebindings custom Grid columns
I've trying to add some custom columns to a TGrid, for example column that will consist of TCalendarEdit's and livebind it to DB.
I came out with two ways of how to implement something like this.
Put CalendarEdit in all rows.
Problem is: I can…

Alez
- 95
- 3
- 8
1
vote
1 answer
Livebindings BindScope Notification
To get started with live bindings i am currently writing some demo code. But at one point i have a problem where i don't find any documentation on.
I have a form with multiple TEdit's and want to bind them with an TBindScope to properties of an…

Marks
- 3,613
- 5
- 31
- 46
0
votes
0 answers
C++ Builder Firemonkey Live Bindings not displaying data?
Working on an application using C++ Builder and the Firemonkey platform.
I have a form which I have used the Live Binding Wizard to bind a grid to a datasource (datasource is on another form). Underlying database is a TurboDB Table.
In using the…

Drewski7280
- 33
- 4
0
votes
0 answers
Disable live bindings at run time
I have a TStringGrid bind to a DataSet using liveBindings. I want in specific situations to disable the connection.
What is the proper way to achieve this at run time?

codeGood
- 175
- 1
- 8
0
votes
0 answers
Enum to String with Delphi LiveBindings
I'm using the RAD Studio LiveBindings demo and have created a TGender Enum for the TPerson, which I want displayed as a string instead in a grid. I'm using the TListBindSourceAdapter as the data is stored in a TObjectList. I have created a…

Rick Wheeler
- 1,142
- 10
- 22
0
votes
1 answer
Custom TListBoxItem Live Bindings Advice
This might be a bit long-winded but basically I'm looking for some pointers for developing a new project.
I am using RAD Studio 11, using both Delphi and C++ Builder, although I have more experience in C++.
Previously I have been downloading data…

arend
- 3
- 1
0
votes
0 answers
Right alignment of a FMX.TStringGrid column after data binding at runtime in C++builder
I am struggling to right align a column in a TStringGrid populated after data binding at runtime in C++builder 10.4. I followed the Delphi snippets found here
and there
, but without any success.
As result of the code below, the grid rows are drawn,…

ibouka
- 13
- 1
- 5
0
votes
1 answer
C++ builder binding data at runtime
Trying to bind TClientDataSet to TStringGrid at runtime on Delphi modele below:
type
TForm2 = class(TForm)
ClientDataSet1: TClientDataSet;
Grid1: TGrid;
StringGrid1: TStringGrid;
procedure FormCreate(Sender: TObject);
private
…

ibouka
- 13
- 1
- 5
0
votes
1 answer
How to Show images in ListView depends on the date
I'm Using Delphi Sydney 10.4 FMX, I have a ListView connected to a Database with liveBinding, ImageList that has 3 images.
In the ListView, I Have 3 Fields: Image, Expiry, Domain.
The Expiry and Domain are filled from the Database, but the image I…

MrSiMo
- 101
- 7
0
votes
2 answers
how can i solve my Livebinding and combobox problem
i have a dataset ( mysql ) bind with a combobox , i have seen a problem on it so i add a stringgrid to demonstrate the problem.
when i click on XMPS combobox list is ok (combobox and stringgrid show same things )
when i click on XMPSSCO combobox…

Eski
- 97
- 3
0
votes
0 answers
Updating TClientDataSet (with LilveBindings to controls) from non-VCL thread
I have a TClientDataSet connected to some controls via LiveBindings.
Assuming that:
no concurrent accesses to dataset is made
all controls are "hidden" (not disabled)
Can I update the dataset from a background thread?
If this is not safe, would be…

Alex B.
- 43
- 1
- 5
0
votes
0 answers
FMX LiveBindings CustomFormat IfThen with three results or more
I have an FDTable with an integer column which to the user must appear as a set of different strings in a grid. Example: 0 as 'Null', 1 as 'Open', 2 as 'Closed'. Etc.
For a simple column with only two possibilities I already set the CustomFormat…

Gerard
- 23
- 5
0
votes
1 answer
What is the most efficient way to populate data to TListView using TFDQuery triggered by another TListView on selected item as parameter in FireDAC
I have a million records in one of my database table which my FDQuery is pointed to. Here's my SQL query:
SELECT DISTINCT variant FROM item_var
JOIN item ON item_var.item_id = item.list_id
WHERE item.brand = :itemselected
ORDER BY variant …

Juke
- 135
- 2
- 9