Hi all ,
Many web applications include some kind of calendar/organizer in which users
mark some events :) . Because of that , it would be useful for me , the
developer , to actually be able to control the painting of each cell, if
necessary . For example , to be able to put some kind of flag on some
particular day important for user.
The model I suggest can be found in TMS Software Components for
.Net/Delphi/C++ Builder.
They have implemented this ( he he, after my feature request :) ) in their
calendar widget as an event which is fired after each cell in the calendar
widget is painted . This is how the event hanlder looks like :
///--------------------------------------------------------------------------------------------------------------------------
void CalendarDateFill(TObject *Sender, TGDIPFill *AFill, TFont *AFont,
TDateTime Date, TAdvSmoothCalendarDateKind DateKind);
///--------------------------------------------------------------------------------------------------------------------------
The most important parameters are , of course, the Date parameter , and AFill
parameter, which we use to paint the particular cell .
I believe this event can be very useful, because the developer will not be
forced to create entire calendar widget for herself , just because of one small
detail :)
I'll add this feature request to the wiki later .
Regards,
Dushan
--
[email protected]
+381 64 329 33 55
95 Nehruova street ,
11070 New Belgrade,
Serbia
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest