Can I use a PFC Calendar for this?

Hi All,

Can I use a PFC Calendar for the fiollowing:

I need to create a calendar sceen that is dependant on a date the user selects.

The user selects the date and a 12 month calendar would fill the window starting with the month() of the date supplied by the user. (4 months accross, 3 months down)
Each month would show all the days of that month, with all the weekends showing as dark gray, all holidays as brown, and all weekdays as white.

Then the user could assign other colors to certain days to show companywide meetings or whatever the colors would stand for, shown in the Legend.

Thats it... then the user saves his assignments to the database - the code behind the seens...

Am I correctly looking to the PFC Calendar?
Any examples?

***********************************
2nd question: Can I also assign text to it like Outlooks calendar days?

:>) Thanks, Bill


LVL 2
BILL CarlisleAPEX DeveloperAsked:
Who is Participating?
 
tr1l0b1tCommented:
Hi bcarlis,
PFC's calendar simply allows enhaced input for date fields.
That's all, it's just a date picker. You can change font face&size,
colors, highlight Saturdays, Sundays, Holidays or any other day you want,
but :
 - only one month is displayed
 - you cannot enter text on it
 - althought PFC's calendar is actually a dw, it's external type so you
   cannot update to DB.

Take a look to this PFC Based "Super Calendar", I guess it should fit your needs : http://www.schtoo.com/pbstation/object.php?ID=supercal

Regards
0
 
BILL CarlisleAPEX DeveloperAuthor Commented:

Wow! Ithink I see it does the setHolidayColor, sundaycolor, etc....

http://manuals.sybase.com/onlinebooks/group-pb/pbg0900e/pfcoref/@Generic__BookView?DwebQuery=u_calendar
0
 
BILL CarlisleAPEX DeveloperAuthor Commented:
Hey thanks for the input... I've got this fixed...

(tr1l0b1t has 300 pts.. of this 500.. )

I dragged the calendar object onto uo and created a stand alone calendar from it... disabled the dropdown portion also...

BUT... can we control the background color of a datawindow column? Thje PFC Calendar, that I robbed the code from, uses a 42 cell table... or datawindow. The 42 cells are 42 columns on one row.
I'd like to change the color of cetain days, or cells...

0
 
BILL CarlisleAPEX DeveloperAuthor Commented:
FOUND IT....
Now I can have holiday backgrounds with brown background, weekdays as white etc.

this.Modify(ls_clickedcolumn+".Background.Color='11665407'")
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.