Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hide and unhide a Calendar 1

Status
Not open for further replies.

khaled99

MIS
Mar 12, 2005
5
US
I want to have a command button once the user click on it shows the calendar and if it was clicked again it hide the calendar. What is the code I need to write???!!!
If some one can help me I would really appreciate that

 
Really don't understand your question!! What you want to do with the calendar?

Q:pick a date?
A:Insert a Date & Time Picker Control on the form
Form DesignView > Insert > Activex Control

Q: You want a calendar on the form?
A: faq702-4601 faq702-838

Or comeback with your reply.


Zameer Abdulla
Jack of Visual Basic Programming, Master in Dining & Sleeping
Visit Me
 
[tt]
Private Sub cmdToggleCalendar_Click()
Me!Calendar1.Visible = Not (Me!Calendar1.Visible)
End Sub
[/tt]

VBSlammer
redinvader3walking.gif

"You just have to know which screws to turn." - Professor Bob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top