How to add scope for binding expressions in Delphi Live Bindings?

I know how to use direct bindings in a form to bind one property to another property using an expression. For example, binding a TLabel Caption to a TEdit text property.

I know how to create new expressions using IScope, TNestedScope, TDictionaryScope, etc. I can add my own classes and call them a script.

What I don't know is how to use my new expression area and make it available for TBindExpressions in my TBindingList for use in the form when I do the things described in the first paragraph.

Does anyone know how to do this? I researched, and I cannot find a way to add the IScope link to the binding expressions available for TBindingList and its subcomponents.

+4
source share

Source: https://habr.com/ru/post/1536334/


All Articles