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

Month View Control Problem

Status
Not open for further replies.

Creeder

Programmer
Jul 5, 2000
110
MY
Hi All,
I have a text box and an Active X MonthView control on my form. In the SelChange event of the MonthView control i have the following code:

THISFORM.txtDate.VALUE = THIS.OBJECT.VALUE

Everything is working fine when i select the date, it display correctly on the textbox.
Then i discovered a problem. The textbox is being populated with a date value even though i have not click on the month object to change the dates. To be sure, i've included a wait window in the SelChange event of the MonthView Control.

After runing the form, and let it idle for a couple of minutes...The wait window fires!!! Why would the SelChange event fire when i've not change the dates in the control? Is it triggered by the system date change?

Has anyone had the same problem?

Any help is greatly appreciated.

Thanks

Yue Jeen


 
Hi my friend
It could be a bug in the control itself, this is a microsoft control remember!. Update your text box in the Click event of the control. It works fine.
Hope this will help

Walid Magd
Engwam@Hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top