Hide a page from a tab control in a form and view page via a password

  • Thread starter Thread starter CAM
  • Start date Start date
C

CAM

Hello,

In my form I have a tab control showing 5 pages, but I only want the
contents of the 5th page showing only with a password. Another words I want
the 5th page contents not be visible the 5th page can be displayed. Is
this possible, I only have a combo box and bound object control in the 5th
page. Any tips or website to visit will be appreciated. Thank you in
advance.
 
CAM said:
Hello,

In my form I have a tab control showing 5 pages, but I only want the contents
of the 5th page showing only with a password. Another words I want the 5th
page contents not be visible the 5th page can be displayed. Is this
possible, I only have a combo box and bound object control in the 5th page.
Any tips or website to visit will be appreciated. Thank you in advance.

The easiest thing would be to make those objects on the fifth page hidden and
provide a visible TextBox to enter the password. In the AfterUpdate event of
that TextBox test the password and unhide the "protected" controls if the
password is correct.
 
Rick thanks for the tip.


Rick Brandt said:
The easiest thing would be to make those objects on the fifth page hidden
and provide a visible TextBox to enter the password. In the AfterUpdate
event of that TextBox test the password and unhide the "protected"
controls if the password is correct.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top