Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

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

Location

You can find the BindGridLinkFMX sample project at:

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

Exit mobile version