Visible at certain time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to make a control, say a command button, visible after a
certain time of day (5:00 pm)? Something like only visible on certain days
of the week.

Any help is appreicated.
Pam
 
PHisaw said:
Is it possible to make a control, say a command button, visible after a
certain time of day (5:00 pm)? Something like only visible on certain
days
of the week.

Any help is appreicated.
Pam

In the form's Open event, you could check the time of day and set the
control's Visible property appropriately.

Carl Rapson
 
That will work, but if it is necessary for the control to change when the
time rolls around and the form is already open, In that case, the form will
need to use the Timer event to check to see whether to change to control.
 
You're right, of course. A combination of Form_Open and Form_Timer would be
needed.

Carl Rapson
 

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