Questions tagged [livebindings]

LiveBindings is a data-binding feature supported by both the VCL and FireMonkey in RAD Studio XE2 and later versions.

LiveBindings in RAD Studio

139 questions
2
votes
1 answer

How can I create a list of panels that contains fields connect by LiveBinding to a Dataset in FireMonkey?

Delphi XE5 update 2 I am looking for a list of "panels" that will have the same layout (same controls) and each panel is created for each record of the DataSet existent. I need to use LiveBindings preferably. But if that is not possible I would like…
Eduardo Elias
  • 1,742
  • 1
  • 22
  • 49
2
votes
1 answer

Custom grid with LiveBindings - EBindCompError 'No list control editor available'

I am designing my own Delphi XE5 custom grid. I'm not interested in VCL, so I am working with FireMonkey only. Since it will have to be data-aware, LiveBindings is a must. The task is complex, so I will try to ask just for very specific problems. A…
Frazz
  • 2,995
  • 2
  • 19
  • 33
2
votes
1 answer

Livebinding JSON objects and arrays

Good evening all. I'm currently trying to get to grips with livebindings in Delphi as I'd like to refresh one of my current projects (complete rework from the base for the purpose of pushing to other platforms, optimizing performance and minimizing…
Scott P
  • 1,462
  • 1
  • 19
  • 31
2
votes
1 answer

firemonkey mobile grid with livebindings - changing TextCell text color at runtime XE5

I need to get my money cells on a grid to show the local currency symbol, be right aligned and have negative numbers shown in red. Unlike similar posts I am populating my TGrid from a dataset using livebindings. Other solutions suggest…
Leslie Kaye
  • 81
  • 1
  • 6
2
votes
3 answers

Using Format in a livebindings CustomFormat

I'm trying to use LiveBindings to format a number for display in a TEdit on a FireMonkey form. I'm trying to use the Format method in the CustomFormat of the binding to format the number with two decimal places. I can 'hard code' the…
Mike Sutton
  • 4,191
  • 4
  • 29
  • 42
2
votes
0 answers

How to switch to TBindSourceDB at runtime after design UI with TPrototypeBindSource?

I am trying the LiveBindings in XE3. I have design a form with some controls using TPrototypeBindSource. The controls are bounds to fields in TPrototypeBindSource using visual designer. I can see the random data on the controls in design time and…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
2
votes
1 answer

How to write live binding expression that control TEdit.PasswordChar based on TCheckBox.Checked?

I have 2 controls on a form, TCheckBox and TEdit. I want to use Live Binding to perform this: When TCheckBox.Checked = True, set TEdit.PasswordChar = * When TCheckBox.Checked = False, set TEdit.PasswordChar = #0 How may I write ControlExpression…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
2
votes
1 answer

TDBLookupCombobox FireMonkey

TDBLookupCombobox Can anyone help me to reproduce TDBLookupCombobox functionality in FireMonkey?
Alez
  • 95
  • 3
  • 8
1
vote
1 answer

Delphi Live binding, error converting text to TStrings field

Delphi 10.4 I have an issue bidirectional Tstrings binding. I have a simple app with 2 controls and a bind source. I am trying to bind bidirectionally a TStrings property of an object to to a TMemo control. I am using a TPrototypeBindSource with a…
Yandros
  • 65
  • 1
  • 4
1
vote
2 answers

TDateEdit cannot LiveBinding with a datasource bidirection

This is a simple question. Start a multidevice App, place a TDateEdit and DBTable with a field containing TdateTime data. Then use LiveBinding designer link the data source field to TDateEdit.DateTime property. However, this link is unidirectional ,…
Haizhou
  • 127
  • 7
1
vote
1 answer

LiveBindings TObjectBindSourceAdapter

I was playing arround with LiveBindings but I cant make TObjectBindSourceAdapter to work. I doesn't change the properties on my object. I've also tried this example. Same problem. I have a FMX application, with only a checkbox on the form Then I've…
Jens Borrisholt
  • 6,174
  • 1
  • 33
  • 67
1
vote
1 answer

Change the Number Format in TListView TObjectAppearance

I have TListView livebinded with the TFDQuery. One of the data is mapped to Item Detail which is basically a number. I would like the number to be formatted to ##,##0.00. Looking at the Object Inspector there is no property that I can change the…
RickyBelmont
  • 619
  • 4
  • 11
1
vote
1 answer

How to refresh Livebinding for TListView and TFDMemTable?

I have a TListView livebinded with TFDMemTable. I also have a TButton that adds the item on the TFDMemTable which obviously shown in the TListView after adding the item. The TListView is located in one of the TTabItem of TTabControl. My problem is,…
RickyBelmont
  • 619
  • 4
  • 11
1
vote
2 answers

Connect database table to StringGrid with LiveBindings via code

I want to use LiveBindings to connect a database table to a StringGrid, but I don't want to use the LiveBindings Designer, I want to do it manually via code. The documentation is in my opinion nearly not existing, which makes it more complicated…
WhatATime
  • 13
  • 3
1
vote
1 answer

How to post data to database immediately after editing is done in a firemonkey TStringGrid

In Rad Studio 10.3, I connect a StringGrid to a database by using LiveBindins Wizard and selecting FireDAC. Everything is fine except below issue: When user edits a cell and presses Enter the value is edited correctly but the new value does not post…
Moj.H
  • 75
  • 12