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

Display of Active X Calendar

Status
Not open for further replies.

VFP602

Programmer
Jan 23, 2002
41
MP
Hi guys! I have a form that displays an active x calendar when a button is clicked, and the values is then sent to a text box. On my other forms which are maximized, I have no problem displaying it. My problem is some of my forms have smaller widths that when I clicked on the button and display the calendar, calendar doesn't fit in the form. Only half of it is being displayed on the middle left portion of the form. Putting the calendar on the other portion of the form doesn't look good for my users. What I did as a workaround is that I created a form and pasted the active x calendar and call that form whenever the button is clicked. I think this is the easiest solution but just wondering if there is any property or method or even another way wherein I can display the calendar without being restricted by the form size so as not resorting to creating another form for the calendar? Any insight is very much appreciated. Thanks.
 
The only other way is to use the DateTimePicker activeX control (also part of MS Comon Controls, though I don't remember which OCX). This control gives you what looks like a combo box, but when the user clicks the down arrow, a calendar appears instead of a drop-down lost.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top