Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RcsCalendar help
Message
 
 
To
21/11/2011 08:25:56
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01529352
Message ID:
01529358
Views:
53
>i am trying tu use rcsCalendar
>
>I want to pass the current data in my filed to it and then get the selected one back into the field?
>
>I added rcsCalendar to my form
>and have the followinf code
>
>
>WITH THISFORM.oCAL
>
>	.LEFT		  = THIS.LEFT
>	.TOP		  = THIS.TOP + 40
>	.lMultiSelect = .F.
>	dDate1		  = THISFORM.business.DATA.startdate
>	.iCurrentYear		= YEAR(m.dDate1)
>	.iCurrentMonth		= MONTH(m.dDate1)
>	.iSelectedDateCount	= DAY(m.dDate1)
>	.RefreshCalendar()
>
>	.VISIBLE			= .T.
>	.ZORDER(0)
>ENDWITH
>
>
>it does not highlight the date passed in through the year/mont/datecount properties!
>Peter

I think it has CurDate property or the like.

Update. I took a closer look as I used this Calendar in our application a while ago.

Have you tried setting aSelectedDates array to the date you want to use?
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform