Hi Igor,
To be sure, like you I created a new project. I just added a PictureBox to a form and inserted an iGrid inside. Nothing else.
The PictureBox's TabStop property is set to False (default value).
See below the short code in the form's Load event. The problem occurs just after executing the project, no other manipulation...
The last cell of the first row is selected and the content is deleted. The events as listed in my previous email are raised.
If I set the PictureBox's TabStop property to True, the problem does not occur...
Dim i As Long
With Me.iGrid1
.RowMode = False
.Editable = True
.FocusRect = True
For i = 1 To 4
.AddCol "COL" & i, "COL" & i
Next i
For i = 1 To 10
.AddRow
.CellValue(i, "COL4") = "Text" & i
Next i
End With
Edited by moderator
2016-02-04T08:33:31Z
|
Reason: Igor/10Tec: Added code formatting