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
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