3
votes
TdwsRttiConnector: read anything, write anything
DelphiTools
– …or to be more accurate, many things the Delphi RTTI can reach Raw RTTI connectivity for DWS The new TdwsRttiConnector components exposes a new RttiVariant type to DWScript, which can be used to dynamically read and write fields/properties, or call methods of any RTTI-exposed Delphi type. You can use it to update or “bind” component properties, with the full power of DWS to draw upon in case of need. For instance: For instance: var f := ConnectForm('Form1'); f.Label1.Caption := 'Hello ' + f.Edit1.Text; with ConnectForm() being a function that allows connecting to any TForm ...
Statistics
|
Visits by Source |
User Actions |




