nerdcore
MIS
- Jan 23, 2003
- 26
I have a form with a date field on it. Next to the date field I have a button which opens up another form that contains only a calendar control 9.0, and when a day on the calendar is clicked, the form closes and enters that date into the field on the original form. Problem is the calendar form will open up at weird locations, and if I select to auto-center the form it shows up, duh, in the center. I would like it to open up right next to the button like you see on airline web pages when you are selecting flight dates etc. Is there a way to open a form at an exact window position using VB? I have not found anything about window coordinates like in c++. Thanks!