Tab Controls - Restricting Movement

  • Thread starter Thread starter Marco
  • Start date Start date
M

Marco

Is there a way to prevent the user from moving to another
page in the same tab control. I need to restrict entry
to one page until certain items have been filled.

Thanks To All

Marco
 
I don't know if you can keep them from scrolling down and looking at the
rest of the form, but you can keep them from leaving the control they are on
and moving to another control if they haven't filled in the current control.
In the control's Exit event, check the value of the control and if it's not
acceptable, set Cancel = True to cancel exiting the control and pop-up a
message box advising the user what the problem is.
 
Back
Top