On 12/01/2008, ik <[EMAIL PROTECTED]> wrote:
> One of the component I wish to create is a general Calendar component
> that will allow me the ability to register different set of dates ...

BTW:  I've already implemented a custom cross-widget calendar
component. By cross-widget, I mean it looks and works the same on all
widget sets - not using native calendar components.

I don't us it any more, because I switched to fpGUI, but it could
serve as a start for your work.  Let me know if you are interested,
and I'll email you the code.

> I've read the source of TCalendar (and TCustomCalendar), but i just do
> not understand what prints the content.

TCalendar in LCL maps to the native (widget sets) calendar component
which also does the painting. So depending on the widget set, the
calendar component looks different and acts different. This bugged the
crap out of me, hence the reason I implemented a custom component.

BTW:
  The same could be said for File Dialogs or Directory Select dialogs
(treeview style selection).

Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to