Recent

Author Topic: Tcalendar and Mac OSX  (Read 15606 times)

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Tcalendar and Mac OSX
« on: September 21, 2009, 09:43:10 am »
Could someone pleas check for me the Tcalendar component.
When I create it all I get is a transparent screen.
If I use the Dateedit control I need to do a Forcr quit to get out of the program.

Thanks in advance

Tom

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Tcalendar and Mac OSX
« Reply #1 on: September 21, 2009, 10:11:58 am »
TCalendar is not (yet) implemented for Carbon. See http://bugs.freepascal.org/view.php?id=10051

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Tcalendar and Mac OSX
« Reply #2 on: September 21, 2009, 02:07:45 pm »
I noticed that the last mod was done in 2008.  >:(
Do you think we will ever have a Calendar working on the mac platform?
I want to create lots of programs which I would love to have working on a mac as well as the humble pc.

Tom

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Tcalendar and Mac OSX
« Reply #3 on: September 21, 2009, 02:15:37 pm »
I noticed that the last mod was done in 2008.  >:(
why the >:( ?
Quote
Do you think we will ever have a Calendar working on the mac platform?
Yes, some day.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Tcalendar and Mac OSX
« Reply #4 on: September 21, 2009, 02:27:03 pm »
I noticed that the last mod was done in 2008.  >:(
Do you think we will ever have a Calendar working on the mac platform?
Frankly speaking, i think we'll get native mac calendar with Cocoa widgetset finished.
Cocoa widgetset development is currently freezed (waiting for some FPC updates)

I want to create lots of programs which I would love to have working on a mac as well as the humble pc.

You can make a platform independent Calendar, based on LCL components (i.e. TStringGrid), rather than system-native calendar widget.
Btw, if your calendar is good, it might be become part of LCL, as a replacement for missing Carbon native-calendar.

Patches are always welcomed.  ;) Let's help each other.
« Last Edit: September 21, 2009, 02:31:25 pm by skalogryyz »

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Tcalendar and Mac OSX
« Reply #5 on: September 21, 2009, 04:18:00 pm »
The ported Orpheus includes a calendar control that works with Carbon:

http://wiki.lazarus.freepascal.org/OrphPort

The current version requires Lazarus 0.9.26, but I'll be updating it for 0.9.28 soon.

Thanks.

-Phil

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Tcalendar and Mac OSX
« Reply #6 on: September 21, 2009, 08:04:06 pm »
Phil, could yo make a carbon screenshot?

thanks,
dmitry
« Last Edit: September 21, 2009, 08:21:59 pm by skalogryyz »

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: Tcalendar and Mac OSX
« Reply #7 on: September 21, 2009, 08:08:05 pm »
Theo
Who is Theo, related to this thread?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Tcalendar and Mac OSX
« Reply #8 on: September 21, 2009, 08:22:11 pm »
sorry  :-[

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Tcalendar and Mac OSX
« Reply #9 on: September 21, 2009, 08:24:01 pm »
A screenshot of TOvcCalendar on Carbon? Yes, I'll do that this evening.

Thanks.

-Phil

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Tcalendar and Mac OSX
« Reply #10 on: September 22, 2009, 12:30:18 am »
Please see attached TOvcCalendar.gif screen capture.

Thanks.

-Phil

freddynerk

  • Jr. Member
  • **
  • Posts: 96
Re: Tcalendar and Mac OSX
« Reply #11 on: September 22, 2009, 12:36:55 am »
Hi Phil,
I am using 0.9.29
Will this work for me or do I need to wait for the new version to come out.

Tom

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Tcalendar and Mac OSX
« Reply #12 on: September 22, 2009, 03:19:53 am »
Freddy,

I've committed my changes so you should now be able to compile the ported Orpheus package with Lazarus 0.9.27 or 0.9.29 and try out the TOvcCalendar control.

svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/orpheus

If I don't find any other problems between now and when 0.9.28 is released, this will be the official release of Orpheus for 0.9.28.

Thanks.

-Phil

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Tcalendar and Mac OSX
« Reply #13 on: September 22, 2009, 07:22:54 am »
Please see attached TOvcCalendar.gif screen capture.
it looks really nice! great job!

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Tcalendar and Mac OSX
« Reply #14 on: September 22, 2009, 03:35:22 pm »
Searching in apple developers docs, i've run into CalendarView sample. It's quite simple (and out-of-date) calendar-view control.
I've converted it to pascal, modernized some of it's parts and added it to Carbon.

freddynerk, you might want to test it, please update to r21819. Though it's not fully implemented, yet.
« Last Edit: September 22, 2009, 03:45:01 pm by skalogryyz »

 

TinyPortal © 2005-2018