Steema-BI-Samples icon indicating copy to clipboard operation
Steema-BI-Samples copied to clipboard

TObjectExpression support for complex expressions

Open davidberneda opened this issue 8 years ago • 0 comments

TObjectExpression currently supports Object + field or property ( Edit1, 'Text' )

The enhancement is to support free expressions like:

'Button1.Width * 42 + (Panel1.Position.X / 3)'

A possible syntax: var E : TExpression; E:= TObjectExpression.From(Self, ' ......the expression...'); Caption:= E.Value;

The "Self" parameter is the "root" starting object, collection or component where to look for references in the expression (in this example, the Form owner of Button1 and Panel1)

davidberneda avatar Jul 02 '16 18:07 davidberneda