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
Delphi bidirectional binding for Synedit
I need to bi-directionaly bind Synedit to column 'text' in database. It works with memo component, but for Synedit or i.e. Richedit is created only one-directional binding.
Value is synchronized from database, but i don't know how to update back to…

Axis
- 85
- 8
1
vote
1 answer
Livebindings Expressions for 2 TComboboxes parent to child relationship using ClientDataSets in RAD Studio
I am trying to connect the parent TCombobox to child TCombobox using the Livebindings in RAD Studio. Meaning, when I select a customer in the parent Tcombobox, the child Tcombobox will generate the jobs under the parent only.
I have tried some…

Mel
- 101
- 1
- 9
1
vote
1 answer
How to Store AlphaColor to Database Field through LiveBindings
I am trying to store the ComboColorBox.Color property in a database field through LiveBindings in a Firemonkey Project. I want to store the hexadecimal AlphaColor value, but the hex color value is automatically converted to a decimal value and not…

Eratsu
- 21
- 6
1
vote
2 answers
In LiveBindings situation, how can I display the labels contained in a AdapterBindSource to a column of a grid?
We have a Members table containing a field (as integer) to define the "status of membership" by his id. By example: 0 for Inactive, 1 for Active, 2 for LifeTime, 3 for Retired, 4 for Exceptional Achievement, etc,
We have a StringGrid attach to the…

Alain V
- 311
- 3
- 17
1
vote
0 answers
Delphi VCL to use standard action Paste with Data Generator Adapter
I building a VCL forms application with livebindings. I have several edit boxes and string grids which are binded with several properties of a class. The binding direction is linkBidirectional.
I also want to implement the standard Paste actions…

Spymag
- 105
- 1
- 9
1
vote
1 answer
How can I load images from database using Livebinds?
I downloaded images from a webservice, saved then into a TBitmap and used the command: bmpExample.SaveToStream(stExample); and saved the stream into my database (SQLite) PS: the column is a Blob field.
Until here everything works fine! I can see the…

Diego Bittencourt
- 595
- 10
- 28
1
vote
2 answers
livebinding an extant user object in a form
I am trying to use livebindings on a VCL form in which the object to be bound to the controls on the form is passed to the form as a property. I am using 10.1 Berlin. The property where in the object is passed is ordinary:
Public
Property…

SysJames
- 411
- 3
- 10
1
vote
1 answer
Delphi : Livebindings AfterScroll on TListView
I have a TListView and a TObjectList. I bind TFoo.value to Item.Caption.
I write a procedure "AfterScroll" with a showmessage inside. I connect the procedure on TBindSourceAdapter.AfterScroll.
I run this program and I have just one showmessage.
If I…

Joc02
- 345
- 8
- 18
1
vote
2 answers
LiveBindings work in Designtime, but not RunTime
I am working on my first multi-platform app for Windows and MacOSX. I decided to go with SQLite, and a StringGrid to check connectivity. I have placed all necessary components on the form from looking at an SQLite Sample that came with Delphi…

Robert Griffin realsol
- 187
- 2
- 9
1
vote
1 answer
Custom component properties LiveBindings
I've got problems with binding string properties to TLabel.
TGotManager = class(TComponent)
..
..
published
property HotQ1: String read FHotQ1 write SetHotQ1;
property HotQ2: string read FHotQ2 write SetHotQ2;
..
I did create a component…

Edward
- 247
- 1
- 11
1
vote
1 answer
Syncronizing TMediaPlayer.Position and TTrackBar.Position via LiveBindings
I have a TTrackBar and a TMediaPlayer, I'm looking for a way to change the TTrackBar position according to the TMediaPlayer position using the LiveBindigs feature.
The problem is, there is no event on the TMediaPlayer to watch the changes of the…

WellingtonD
- 165
- 4
- 17
1
vote
1 answer
Delphi(FMX) Livebindings with Multiple RadioButtons
I have a form with 2 RadioButtons(with same GroupName) and I need to save 'A'(if RadioButton1 is selected) or 'I'(if RadioButton2 is selected) in the field Status using LiveBindings.
One Component to One Field is easy, but in this case I have two…

Tallys Ferrante
- 173
- 1
- 13
1
vote
1 answer
Is it possible to use stacked expressions / to specify more than one parameter for `CustomFormat` in Delphi LiveBindings?
I want to specify
LinkControlToDate.CustomFormat := 'IfThen(%s=0, '''', FormatDateTime(''ddddd'', %s))'
for the property CustomFormat of a TLinkControlToField to handle 0 date values.
But this yields a EConvertError
'no argument for format…

Alois Heimer
- 1,772
- 1
- 18
- 40
1
vote
1 answer
Is it possible to distinguish between DisplayFormat and EditFormat with Delphi LiveBindings
I have an FMX TEdit, that is connected via LiveBindings to a Currency property of an object.
By default the value is displayed as '12.34'.
I know, I can define my own functions for CustomFormat for getting this displayed as '12.34 €'.
But if a user…

Alois Heimer
- 1,772
- 1
- 18
- 40
1
vote
0 answers
Delphi - Handling UI fallout from exceptions raised in async calls to rest server
I have a common idiom in a system I developing on the UI forms that employ Delphi LiveBindings that are bound to TObjectList. Front-end is Delphi using async method calls to a REST server using TRESTRequest.ExecuteAsync(). For the…

Chris Lincoln
- 368
- 4
- 13