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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calendar Control 1

Status
Not open for further replies.

trezlub

Programmer
May 2, 2003
67
GB
Any ideas how a Calendar Control in VB6 can be disabled?

Unfortunately there is not an enabled property associated with the Calendar control and so :

Calendar1.Enabled = False

is not possible
 
Here is a trick....
Throw the control into a frame (you can remove the border and caption so no one knows it is there) then disable the frame. All controls in the frame will no longer recieve UI Events.
 
Cheers SemperFiDownUnda. It worked a treat!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top