Author Topic: Non-rectangular shaped form with Carbon widgetset  (Read 3371 times)


  • Hero Member
  • *****
  • Posts: 1121
    • formatio reticularis
Non-rectangular shaped form with Carbon widgetset
« on: April 26, 2014, 08:51:16 pm »
How can I create a non-rectangular form for Mac OS X with Lazarus? The examples based on the setshape method that are provided with Lazarus and on don't work on Max OS X. The solution should support the Carbon widgetset, but a cross-platform solution that also supports Cocoa and widgetsets supported by Linux would be best.

I would like to develop a window that can be moved over a second background window and allows viewing this second window through several small slots. This works well on Windows, but not on the Mac.
function GetRandomNumber: integer; //
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.

Lazarus 2.0.10 | FPC 3.2.0 | PPC, Intel, ARM | macOS, Windows, Linux


TinyPortal © 2005-2018