Forum Discussion

marinb's avatar
marinb
Contributor
8 years ago

TStringGrid properties not properly identified (Delphi 10)

Currently, I am trying to automate a TStringGrid object and I have some difficulties accessing it properly:

The .tds files match and other objects are identified properly, but this particular grid is eluding me.

See screenshot for object spy and project properties.

 

The application is written in Delphi10 Seatle.

 

What could I do to access this grid properly?

 

 

 

 

 

 

9 Replies

  • bbi's avatar
    bbi
    Contributor

    Quite curious.

     

    Is this TStringGrid has any properties/types overloaded by developper ?

    Is there any RTTI properties that could be used instead of  ?

     

     

    • marinb's avatar
      marinb
      Contributor

      According the developers they did not overload.

      The RTTI properties are accessible, but give no further info other than visible rowcount, that kind of stuff. I can't retrieve values from cells nor use any of the action methods such as ClickCell.

      • bbi's avatar
        bbi
        Contributor

         

         

        - Check that delphi executable is compiled with debug information, see accessing cell grid

        - Try the sample TestComplete project to see if it working, on recent windows is on:

          C:\Users\Public\Documents\TestComplete 12 Samples\Desktop\Working With Grids\Borland TStringGrid