Skip to content

TObjectExpression support for complex expressions #4

@davidberneda

Description

@davidberneda

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions