Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Can I use a PFC Calendar for this?

Posted on 2006-03-20
4
Medium Priority
?
416 Views
Last Modified: 2013-12-26
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


0
Comment
Question by:bcarlis
  • 3
4 Comments
 
LVL 2

Author Comment

by:bcarlis
ID: 16238616

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
 
LVL 6

Accepted Solution

by:
tr1l0b1t earned 2000 total points
ID: 16249260
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
 
LVL 2

Author Comment

by:bcarlis
ID: 16345574
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
 
LVL 2

Author Comment

by:bcarlis
ID: 16346001
FOUND IT....
Now I can have holiday backgrounds with brown background, weekdays as white etc.

this.Modify(ls_clickedcolumn+".Background.Color='11665407'")
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question