Page 1 of 1

How to get Value of TStringGrid1 ?

Posted: 20 Feb 2018, 09:48
by cgarrotti
How i get value/text of TStringGrid1 ?
I Tried:

ControlGetText, OutputVar, TStringGrid1,Consulta de Contas a Pagar.
MsgBox #%OutputVar%

Re: How to get Value of TStringGrid1 ?

Posted: 20 Feb 2018, 12:21
by MaxAstro
What does WindowSpy show when you mouse over the grid?

Re: How to get Value of TStringGrid1 ?

Posted: 20 Feb 2018, 12:31
by cgarrotti
MaxAstro wrote:What does WindowSpy show when you mouse over the grid?

in this Print Screen u can see

Re: How to get Value of TStringGrid1 ?

Posted: 20 Feb 2018, 16:23
by MaxAstro
Unfortunately, my experience with similar grids indicates that if WindowSpy doesn't see any text, it's typically not possible to directly extract the text. I actually ended up having to write a basic OCR script in order to get text out of a similar grid.