Brian, i've took the liberty to make the sources friendlier to Carbon.
Here's the fixed version:

http://havefunsoft.com/fpc/LazarusSquareCell_macfixed.zip

You can simply place squares around the field and run them with "Step"
or "Start" menu.

I've added additional "Invalidate" calls in TDisplayForm and
DisplayPaint for FormPaint event
It has been done to satisfy Mac OS X demand: "draw only inside OnPaint event".

thanks,
dmitry

Dmitry,

Thank you for looking at my code and modifying it. I modified FormPaint, added a call to Invalidate in DisplayPaint and removed the other Invalidate calls. Now the program is showing signs of life!

I've placed the code here:

http://linuxenvy.com/bprentice/Lazarus/LazarusSquareCell.zip

There are still some issues. Most are related to my unusual use of menus but some are not. I would like to discuss these with you either on this list, privately or not at all as you prefer. There is one issue which is pertinent to this topic though.

http://linuxenvy.com/bprentice/Lazarus/OSX.jpg

and

http://linuxenvy.com/bprentice/Lazarus/WindowsXP.jpg

show the Selection Control Dialog displayed on each operating system. I would be interested in your opinion on the differences.

Brian
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to