LiveBindings.BindGridLinkFMX Sample

From RAD Studio Code Examples
Jump to: navigation, search

This sample project demonstrates the use of a TBindGridLink.

Location

You can find the BindGridLinkFMX sample project at:

  • Start | Programs | Embarcadero RAD Studio Rio | 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 Rio | 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

File Contains

BindGridLinkFMXProject

The project itself.

FMXGridFormUnit1

The main form where the components are located.

Readme.html

Basic information about this sample.

Implementation

Uses

See Also