How to access "StringGrid1.col" ?

Hello,

I am converting a script (with form) from DreamScript to TMS-Script.

In DreamScript it was possible to set the focused Grid-Cell by calling:

StringGrid1.col:=5;
StringGrid1.row:=2;

In TMS-Script these properties are not accessible?
Any hint how to overcome this problem?

Thank you.

You can simply manually register properties col and row in the TStringGrid class using DefineProp method:


http://www.tmssoftware.biz/business/scripter/doc/web/acessingnon-publishedpropert.html