Hi
I have a form with a 2-tab control and a separate MSHFlexGrid control on each tab.
On Load_Form event, I fill the FlexGrids with specific data.
After that, I want to set focus on the first row on first tab.
But when I try it a message raises up such as "Invalid procedure code or argument" with an error code 5.
This is the piece of my code :
Thans in advance
George
I have a form with a 2-tab control and a separate MSHFlexGrid control on each tab.
On Load_Form event, I fill the FlexGrids with specific data.
After that, I want to set focus on the first row on first tab.
But when I try it a message raises up such as "Invalid procedure code or argument" with an error code 5.
This is the piece of my code :
Code:
With Ef_Class_Names
.Enabled = False
.Rows = .Rows - 1
.Row = 1
.Col = 0
.SetFocus
.Enabled = True
End With
George