Table of Contents
Location
You can find the BindGridLinkFMX sample project at:
- Start | Programs | Embarcadero RAD Studio Sydney | Samples and then navigate to Object Pascal\LiveBindings\bindgridlink\fmx
- Subversion Repository:
- You can find Delphi code samples in GitHub Repositories. Search by name into the samples repositories according to your RAD Studio version.
Description
This sample demonstrates the use of a TBindGridLink. This sample uses LiveBindings to bind a TBindNavigator with a TStringGrid and other controls.
How to Use the Sample
- Navigate to Start | Programs | Embarcadero RAD Studio Sydney | Samples, go to Object Pascal\LiveBindings\bindgridlink\fmx, and open BindGridLinkFMXProject.dproj.
- Press F9 or choose Run > Run.
- When you run the application, the main window displays the visual components of the sample. Initially, the components display the first item of the dataset.
- Use the TBindNavigator or the TStringGrid to navigate through the dataset.
- See how the rest of the visual components update when navigating through the dataset.
Files
File | Contains |
---|---|
BindGridLinkFMXProject | The project itself. |
FMXGridFormUnit1 | The main form where the components are located. |
Readme.html | Basic information about this sample. |
Implementation
- Use the TBindNavigator or the TStringGrid to navigate through the dataset.
- TBindingsList is used to create managed binding among the different components.
- The TImageControl displays the image of the selected fish.
- The two TEdit and the TLabel display the Category of the selected fish within the dataset.
- The other TLabel displays the position of the selected item of the dataset.
- TBindGridLink is used to bind the TStingGrid and the TBindSourceDB.
The original post can be found via the link below:
http://docwiki.embarcadero.com/CodeExamples/Sydney/en/LiveBindings.BindGridLinkFMX_Sample
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition
NO TSTRINGGRID IN 32 BIT PLATFORM VCL APPLICATION IN DELPHI 11 ENTERPRISE
MUST BE ONLY AVAILABLE IN FMX.
I NEED A DEMO PROJECT ON HOW TO OPEN A PARADOX .DB FILE/ TABLE
IN DELPHI 11.2 ENTERPRISE USING 32 BIT PLATFORM VCL PROJECT/APPLICATION
ON WIN 10 (64 BIT) HOME EDITION
Incorrect, the TStringGrid definitely exists in the VCL