Link to home
Start Free TrialLog in
Avatar of APD Toronto
APD TorontoFlag for Canada

asked on

Tab Control Re-Initializes after tabbing

Hi Experts,

I have a form with many-many controls, placed into tab controls - 3 pages each.

My issue is that when i move through the controls, and when i hit tab again on one of the controls, the tab controls regains focus, and wipes the entered data.  Hopwever, i can get the data when i hit Shift+Tab.

My suspicion is that I'm getting to the end of my tab order, i trigger a MoveNext event, which is a new record, but how can i prevent this?  

If my suspicion is correct, can I prevent the form from changing records,  or can I do something like

If MoveNext triggered
  Execute Move Previous
  control1.SetFocus
End If

Thank you
ASKER CERTIFIED SOLUTION
Avatar of pteranodon72
pteranodon72
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of APD Toronto

ASKER

You learn something every day - Thanks!