I am working on TDBGrid objects in my TP script. Just wanted to know what kind of references need to be set up for Test partner to identify the object correctly.
Thanks for the help in advance though.
I guess TP is identifying your object as an ActiveX object?
TP doesn't provide native support for this grid so you will need to use the object extension technique and write up your own functions to achieve what you need.
Are you using version 6 of the ocx?
If you always do what you've always done, you will always get what you've always got!
I dont know as to what the object extension means.
Heres the code that I have used
Dim theobj As TActiveX
Dim thegrid As TDBGrid
Set theobj = ActiveX("Name = TBDGrid ClassName = grdSearchResult")
Set thegrid = theobj.Object
I get a type mismatch for "Set thegrid = theobj.Object"
Can you please help me with this?
Appreciate your quick help.