S
SamSpade
Two instances of a usercontrol on a form ( same usercontrol class on two
forms).
I need to know which control is active.
I've tried using the controls Enter event. Also tried using the controls
WindProc WM_ACTIVATE and WM_ACTIVATEAPP
But still sometimes gctlText ( described next) points to the wrong one.
Any suggestions??
I have
Public gctlText As TextControl
in a module and need to do
gctlText =Me
when a control becomes active so that gctlText always references the active
control.
forms).
I need to know which control is active.
I've tried using the controls Enter event. Also tried using the controls
WindProc WM_ACTIVATE and WM_ACTIVATEAPP
But still sometimes gctlText ( described next) points to the wrong one.
Any suggestions??
I have
Public gctlText As TextControl
in a module and need to do
gctlText =Me
when a control becomes active so that gctlText always references the active
control.