G
Guest
Hi,
I am trying to get the index of the current control that has focus.
I tried:
Index = Me.Controls(Me.SNDetailSubform.Form.ActiveControl.Name).TabControl
Index = Me.Controls(Me.SNDetailSubform.Form.ActiveControl.Name).Index
Index = Me.Controls(Me.SNDetailSubform.Form.ActiveControl.Name).TabIndex
I was able to get tabindex, but tabindex is not what Controls uses as their
index. Access uses tabindex. Controls even gives an index to its labels.
How can I get the index property value the Controls is using?
Thanks
I am trying to get the index of the current control that has focus.
I tried:
Index = Me.Controls(Me.SNDetailSubform.Form.ActiveControl.Name).TabControl
Index = Me.Controls(Me.SNDetailSubform.Form.ActiveControl.Name).Index
Index = Me.Controls(Me.SNDetailSubform.Form.ActiveControl.Name).TabIndex
I was able to get tabindex, but tabindex is not what Controls uses as their
index. Access uses tabindex. Controls even gives an index to its labels.
How can I get the index property value the Controls is using?
Thanks