Jump to content
Sign in to follow this  
tbohon

Calendar Date

Recommended Posts

tbohon

I have successfully created a GUI which displays a 2011 calendar. When it displays the 1/1/2011 date is highlighted in blue while the current date is highlighted with a 'blank' box.

Is there a way to NOT mark the 1/1/2011 date (which is how I got the display to show the entire calendar year) but highlight the current day's date instead?

TIA.

Tom

Share this post


Link to post
Share on other sites
somdcomputerguy

Is there a way to NOT mark the 1/1/2011 date..

Probably. Welcome to the Forum. :unsure: Help others help you, post your code.

Edited by somdcomputerguy

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites
tbohon

Thanks.

I managed to get it working - silly error since all I needed to do was

GUICtrlSetData($MonthCal1, $mydate2)

where

$mydate2 = @YEAR & "/" & @MON & "/" & @MDAY

for the current (today's) date.

From now on I PROMISE to include code with my questions ... :unsure:

Edited by tbohon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.