Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDatabaseDelphiRAD Studio

Easily Bind A TBindNavigator With A TStringGrid In The LiveBindings.BindGridLinkFMX Sample For Delphi

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

  1. Navigate to Start | Programs | Embarcadero RAD Studio Sydney | Samples, go to Object Pascal\LiveBindings\bindgridlink\fmx, and open BindGridLinkFMXProject.dproj.
  2. Press F9 or choose Run > Run.
  3. 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.
  4. Use the TBindNavigator or the TStringGrid to navigate through the dataset.
  5. See how the rest of the visual components update when navigating through the dataset.

Files

FileContains
BindGridLinkFMXProjectThe project itself.
FMXGridFormUnit1The main form where the components are located.
Readme.htmlBasic information about this sample.

Implementation

The original post can be found via the link below:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/LiveBindings.BindGridLinkFMX_Sample

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES