|
-
Dec 12th, 2011, 04:10 AM
#1
Thread Starter
Member
How To Make Month as a Text
Hi Genius !!!!!
i'm creating a schedule program that is part of my project.
i want to make a Month (Like MonthCalender control) with specified date as a [RTF] text file, means want to save a RTF file like
if customer select a day[ie 10] in a month calender output should be
Sun Mon Tue Wed Thurs Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
.....
can anyone guide me to create codes i duno from where can i start?...
Thanks
-
Dec 12th, 2011, 04:18 AM
#2
Hyperactive Member
Re: How To Make Month as a Text
So you want to..
Have a UI where the user selects the month and day.
Then with that input, output the below into an RTF.
Sun Mon Tue Wed Thurs Fri Sat
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
First off, as an example how will you account for December the 1st not being a Sunday?
Secondly, the only way you wish to highlight the selected field in the RTF is by bolding the characters?
Lastly, why create such a clunky way of dealing with a date?
Last edited by OhGreen; Dec 12th, 2011 at 06:41 AM.
-
Dec 12th, 2011, 07:44 AM
#3
Re: How To Make Month as a Text
So what's wrong with the MonthCalendar control? Why re-invent the wheel?
-tg
-
Dec 13th, 2011, 07:54 AM
#4
Re: How To Make Month as a Text
I will thank everyone to keep a civil tongue.
If you feel a post is inappropriate DO NOT respond to it....report it and we will take care of it.
A few, how shall I politely put it, "off topic" posts have been removed from this thread. I trust that such actions will no longer be necessary.
If anyone has something constructive to add to this thread by all means do so....if not, please don't.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|