Recent

Author Topic: Alternative Calendar  (Read 18396 times)

caused

  • New Member
  • *
  • Posts: 36
Alternative Calendar
« on: November 22, 2010, 04:04:54 pm »
Hey everyone,

did someone invent a neat calendar component for lazarus yet, that is sizeable and skinable ? =)

I'm looking for such component, since TCalendar ist not scaleable and not really skinable either ;/


caused

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Alternative Calendar
« Reply #1 on: November 22, 2010, 04:24:57 pm »

caused

  • New Member
  • *
  • Posts: 36
Re: Alternative Calendar
« Reply #2 on: November 22, 2010, 08:26:00 pm »
Thank you.

That works quite good. Though I can't change the Color and Font of an individual Date!

If I change the OnDrawDate Event, it does not draw the date at all!!

Any help ? :)


caused

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Alternative Calendar
« Reply #3 on: November 22, 2010, 09:00:57 pm »
OnDrawDate is for the date at the top. OnDrawItem is for any day on calendar.

Refer to Orpheus.pdf and the ovccal.pas source. There's probably an example with original SourceForge Orpheus source.

Thanks.

-Phil

caused

  • New Member
  • *
  • Posts: 36
Re: Alternative Calendar
« Reply #4 on: November 22, 2010, 09:48:20 pm »
OnDrawDate is for the date at the top. OnDrawItem is for any day on calendar.

Refer to Orpheus.pdf and the ovccal.pas source. There's probably an example with original SourceForge Orpheus source.

Thanks.

-Phil


Wheres the Orpheus.pdf ? ;)...
I checked the Source, and figured out how to hardcode a font change for the dates... But I would like to do it via the onDrawItem Procedure...
But Once I "use" OnDrawItem.. it removes all items... (does not draw them anymore)

Any Ideas (: ?

caused

  • New Member
  • *
  • Posts: 36
Re: Alternative Calendar
« Reply #5 on: November 22, 2010, 10:27:13 pm »
Oh I Got it.

http://sourceforge.net/projects/tporpheus/

Theres also an nice example for delphi, which can easily be ported :)

Thanks everyone :)

caused

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Alternative Calendar
« Reply #6 on: August 22, 2014, 06:01:13 pm »
How do you use this tools with Lazarus??? It looks like it was written for Delphi and C++ Builder..

BeniBela

  • Hero Member
  • *****
  • Posts: 959
    • homepage
Re: Alternative Calendar
« Reply #7 on: August 22, 2014, 06:22:39 pm »
A scaleable calender?

You should ask aminer for that  :D

Awesome Programmer

  • Sr. Member
  • ****
  • Posts: 479
  • Programming is FUN only when it works :)
    • Cool Technology
Re: Alternative Calendar
« Reply #8 on: August 22, 2014, 08:19:45 pm »
 :-\ you are not much of a help....

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Alternative Calendar
« Reply #9 on: August 22, 2014, 09:36:48 pm »
Since this thread was started the Orpheus port from Delphi to Lazarus has been placed in the Laz-CCR repository under \components\orpheus (as well as at the sourceforge location given in an earlier message).
You will find there an orpheus.lpk package that compiles and installs well in the current Lazarus IDE. It includes TOvcCalendar and much else.

BeniBela

  • Hero Member
  • *****
  • Posts: 959
    • homepage
Re: Alternative Calendar
« Reply #10 on: August 25, 2014, 10:34:45 am »
:-\ you are not much of a help....

Help is not scalable >:D

You need to be smart  :D

 

TinyPortal © 2005-2018