3
votes
Vote UpVote

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 ...
Favorite? Off-Topic? Eric @ 2011-10-03 10:11

Statistics

Visits: 577
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Leif Uneus
Linas
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)