Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CURRENT DATE of the Calendar
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00404696
Message ID:
00404701
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform