XWidgetSoft Forum https://bbs.xwidget.com/ |
|
Calendar font color https://bbs.xwidget.com/viewtopic.php?f=8&t=6639 |
Page 1 of 1 |
Author: | Adiim [ March 28th, 2017, 2:48 am ] | ||
Post subject: | Calendar font color | ||
i can change some calendar font color like DaysFont & WeekFont color with script code, but i dont know how to change WeekEndDays Color with script code . . . can someone help me please . . . Original function RedOnClick(Sender) { Calendar.DaysFont.Color = rgba(255,0,0,255); Calendar.WeekFont.Color = rgba(255,0,0,255); } function GreenOnClick(Sender) { Calendar.DaysFont.Color = rgba(0,255,0,255); Calendar.WeekFont.Color = rgba(0,255,0,255); }
|
Author: | Jimking [ March 28th, 2017, 5:53 am ] |
Post subject: | Re: Calendar font color |
I don't know the answer but have you tried to use 'WeekEndDays' or a similar word with the same script..? |
Author: | Adiim [ March 28th, 2017, 6:07 am ] |
Post subject: | Re: Calendar font color |
yes Jim, i already try word like "WeekEndDays", "WeekDays", "EndDays", but always compile error . . . so hard to find the right word, because Calendar class not available on auto complete script code list . . . ( ͡ ͡° ͜ ʖ ͡ ͡°) |
Author: | Jimking [ March 28th, 2017, 7:20 am ] |
Post subject: | Re: Calendar font color |
I see.. I will take a look and reply if I found the right form |
Author: | Adiim [ March 28th, 2017, 7:38 am ] |
Post subject: | Re: Calendar font color |
thanks jim, i'll be waiting . . . |
Author: | Jimking [ March 28th, 2017, 8:16 am ] |
Post subject: | Re: Calendar font color |
Author: | Adiim [ March 28th, 2017, 6:23 pm ] |
Post subject: | Re: Calendar font color |
well, i already try to create 2 calendar jim, but i want know how to change calendar font color with script code . . . its ok, maybe XWidget next update, calendar function available on auto complete script code . . . |
Author: | Jimking [ March 28th, 2017, 10:58 pm ] |
Post subject: | Re: Calendar font color |
I'm sure that there is a way to do it. We just need to find the right form. js is very sensitive and one letter can do the trick. I sent you the alternative way to finish your widget. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |