Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

LazSegmentedControl

Exerciser & Wrapper around NSSegmentedControl in Lazarus

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Exerciser for wrapper around NSSegmentedControl for Lazarus/FreePascal.

An experiment to see whether I could create a simple wrapper around a Cocoa control, learning as I went along. I was struggling with TTabControl and started exploring potential alternatives. Perhaps a bit rough - but it works.

Bascially works as you'd expect a tab control to. Supports both tab labels and icons. Take a look at the included Screenshot.

Figured it needed some kind of license. I've gone for MPL 2.0, reasoning:

  • Straight-forward to meet the conditions of the license.
  • Promotes sharing, while permitting use in free and commercial works.
  • Requires improvements to be made available for the benefit of all.
  • MPL 2.0 is compatible with LGPL (you can create a larger LGPL work containing MPL 2.0 units).

Copy of MPL 2.0 license included in the /license folder. Hopefully that covers a variety of needs.