Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CURRENT DATE of the Calendar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00404696
Message ID:
00404701
Vues:
10
>Hi all,
>
> I am working on a form that has a button and a text. The button leads to a calendar form.
> My question is: how can I highlight the CURRENT DATE from the calendar or make it more special than other date so the users can see it right after the calendar form loaded(such as set the background color...).
> In the same manner, the calendar shows the MONTH and YEAR comboboxes on top of the calendar. How to set them to current month and year?
> Thank you all in advance.

Are you using the Microsoft Calendar Control? The current value will be highlighted, and to set the current value, do it as oForm.oCalendar.Object.Value = DATE(). This will set the combo's to the current month/year, and the date will be "highlighted".
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform