Hi Stephanie,
You can compile your application as open with debug information (see the
Debug Info Agent help topic) and work with the C1Grid control via its native properties and methods.
The following sample script demonstrates how to click a cell in C1Grid:
Sub Main
'The script works with the ColumnEditor sample application("<ComponentOne Studio.NET 2.0>\C1FlexGrid\Samples\CS\ColumnEditor\bin\Debug\ColumnEditor.exe")
Dim pSample, wMain, wGrid
Set pSample = Sys.Process("ColumnEditor")
Set wMain = pSample.WinFormsObject("Form1")
wMain.Activate
Set wGrid = wMain.WinFormsObject("_myControl").WinFormsObject("_flex")
RowId = 1
ColId = 1
If ClickCell(wGrid, RowId, ColId) Then
Log.Message "The [" & RowId & ", " & ColId & "] cell was successfully clicked."
Else
Log.Error "The [" & RowId & ", " & ColId & "] cell was not found."
End If
End Sub
You can try using MSAA approach too, as well as other approaches described in the
Ways to Interact With Application Objects help topic. As for class names, you can add the "*" window class to the list of accepted windows to verify whether it makes recognition better.