Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MonthView and GetDayBold error -- again
Message
De
20/08/2001 16:38:50
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, États-Unis
 
 
À
20/08/2001 01:47:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00546030
Message ID:
00546426
Vues:
20
>I don't see the error. What exactly are you doing with the MonthView control to make it happen? Are you using Date type variables or DateTime type values? You can set the value with either a Date or DateTime type value but it always returns a DateTime type value.
>
>
>thisform.oMonthView.Object.Value = DATE()
>
>This works OK.
>
>WAIT WINDOW TYPE("thisform.oMonthView.Object.Value") + " " + TRANSFORM(thisform.oMonthView.Object.Value)
>
>This always returns a datetime type value.

I'm not setting the date in the control at all. I use the form to pick a date and let the control default for the initial date. I am using a CodeBook 6.1 modal form class with the MonthView used to select a date to be returnded by the form.

When I click on either of the MonthView buttons to move forward or back a month or when I click on a visible date falling outside the current month, I then get the error. I can click around within the current month, I just can't go outside the current month.

I think I noticed in one of the other refrences to this problem that the error does not happen when the control is on a form, only when it is on a form class.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform