tejas1 Posted July 3, 2014 Posted July 3, 2014 Hi, We are using ComponentOne (Grapecity)'s spreadsheet control in our windows application developed in VC++. I want to read or write to/from control's cell. Control Information is as follows (collected using AutoIt v3 Windows Info) >>>> Control <<<< Class: SPR32AU80_SpreadSheet Instance: 1 ClassnameNN: SPR32AU80_SpreadSheet1 Name: Advanced (Class): [CLASS:SPR32AU80_SpreadSheet; INSTANCE:1] ID: Text: Position: 11, 10 Size: 441, 250 ControlClick Coords: 141, 39 Style: 0x56810000 ExStyle: 0x00000000 Handle: 0x002D0768 I am new to AutoIt. Can anyone please help me how i can proceed? Thank you.
somdcomputerguy Posted July 3, 2014 Posted July 3, 2014 That particular control is SPR32AU80_SpreadSheet11, although you may have to use it's advanced class name [CLASS:SPR32AU80_SpreadSheet; INSTANCE:1]. You probabaly can use the ControlSetText to write to it, and ControlGetText. Refer to the Help file for more of a description of those (and more! ) functions. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
junkew Posted July 3, 2014 Posted July 3, 2014 If I read thishttp://our.componentone.com/groups/topic/how-to-do-ui-test-automation-for-componentone-silverlight-controls/then this should work'?do=embed' frameborder='0' data-embedContent>> FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
tejas1 Posted July 4, 2014 Author Posted July 4, 2014 (edited) Thank you somdcomputerguy and Universalist for your reply. somdcomputerguy : I tried using ControlSetText and ControlGetText but no luck. And using those api how can i get the data of specific cell for e.g row-2 and column-1 Universalist : I will read the link provided by and try to implement. If i face any problem i will let you know Thanks Edited July 4, 2014 by tejas1
somdcomputerguy Posted July 5, 2014 Posted July 5, 2014 Thanks for the thanks, but for your question, I fear I have no answer. Sorry bud, good luck though with your project. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now