Developer Skill Sprint - Effective LiveBindings from Forms to Code

Posted by on in Programming

Learn the effective use of LiveBindings from Forms to Code. Includes an overview of LiveBindings and the LiveBinding components. Examples of how to use Custom Expressions and create LiveBindings to objects from code. As always, lots of samples and resources to keep you going.

Replay


Video not found or Youtube service not available

LiveBindgins Components

  • TBindingsList – Holds the binding list and expressions
  • TBindSourceDB – Creates bindings to databases
  • TBindSourceDBX – Creates bindings to DBX databases
  • TParamsAdapter – Binding to DBX command parameters
  • TAdapterBindSource – Works with non-database data
  • TPrototypeBindSource – Provides sample data
  • TDataGeneratorAdapter – Adapter for data generators
  • TBindNavigator – DataSet navigation (VCL or FMX)

Learning Resources – Samples

  • ListCollections
    • SamplesObject PascalMulti-Device SamplesUser InterfaceListCollections
      • Custom expressions binding object lists in code a TListBox
  • LiveBindings
    • SamplesObject PascalMulti-Device SamplesUser InterfaceListCollections
      • BindGridLink [FMX & VCL] – Binding to a grid
      • BinkLink [FMX & VCL] – Binding to edit controls
      • OneOfEach [VCL] – Multiple examples in one project
  • TAdapterBindSource sample showing bidirectional binding between a list of user created objects and LiveBindings.

Learning Resources – DocWiki

Learning Resources - Blogs

More Notes

The TBindSource is not longer published as a non-visual component, but is still available via code. 



About
Gold User, Rank: 15, Points: 256
This latest season of Developer Skill Sprints focuses on programming tips and techniques most requested by attendees of the past 72 skill sprints we’ve already presented. This quarter we’ll take your

Comments

Check out more tips and tricks in this development video: