Hello,
My form turns certain controls invisible/visible and changes its left/right position in the form depending on who (Region or National) logins to the application.
I have this function that handles the Tab Index order. But when I ran the application, the tab order does not get set as defined in this function.
Does anyone has any suggestion on what I have not done right ????
Thanks
Private Sub SetTabIndexRegional()
txtTrackingNumber.TabIndex = 0
txtDate.TabIndex = 1
cboSourceType.TabIndex = 2
cboMethodOfReceipt.TabIndex = 3
cboReporterType.TabIndex = 4
cboReporterProvince.TabIndex = 5
...
...
End Sub
My form turns certain controls invisible/visible and changes its left/right position in the form depending on who (Region or National) logins to the application.
I have this function that handles the Tab Index order. But when I ran the application, the tab order does not get set as defined in this function.
Does anyone has any suggestion on what I have not done right ????
Thanks
Private Sub SetTabIndexRegional()
txtTrackingNumber.TabIndex = 0
txtDate.TabIndex = 1
cboSourceType.TabIndex = 2
cboMethodOfReceipt.TabIndex = 3
cboReporterType.TabIndex = 4
cboReporterProvince.TabIndex = 5
...
...
End Sub