SMNetGradient

From Free Pascal wiki
Jump to navigationJump to search

English (en) español (es) français (fr)

About

A gradient fill like in the new Netscape Communicator Options Box.

  • The begin and end colors can be any colors.
  • The fill direction can be set to Right-To-Left, Left-To-Right, Top-To-Bottom or Bottom-To-Top.
  • The number of colors, between 1 and 255 can be set for the fill.
  • The Caption can be anything and anywhere on TNetGradient.

Screenshots

Tnetgradient.png

Netgradient2.png

smnetgradient demo.png

Authors

  • 1995, Curtis White
  • 1997, Heiko Webers
  • 2006, barko (port to lazarus)
  • 2008, Vincenzo Scozzaro (Upgrade 2.04)
  • 2009, Luiz Américo (Fixes) -(Upgrade 2.05)
  • 2010, Vincenzo Scozzaro (Upgrade 2.06)
  • 2011, Luiz Américo (Upgrade 2.1)

License

This component can be freely used and distributed in commercial and private environments. (look in source)

Download

The latest stable release can be found on the Lazarus CCR Files page.

Version 2.0.6 can be downloaded from the forum

Change Log

  • 1.00: Initial release
  • 1.00: Changed to TNetGradient
  • 1.00: 14.02.2006 port to lazarus
  • 2.02: 29.08.2009 Added Alignment, Caption, SubCaption, Font SubCaption, DataField, etc...
  • 2.03: 30.08.2009 Fix Bug
  • 2.04: 01.09.2009 Fill direction add Top-To-Bottom or Bottom-To-Top
  • 2.05: 18.10.2009 Fix crash inside frame, fix memory leaks, add Begin/EndUpdate
  • 2.06: 21.03.2010 Added component icon
  • 2.1: 13.01.2011
    • Added FlatBorder
    • Splitted TNetGradient/TDBNetGradient
    • Allow children controls
    • Fix SubCaption streaming
    • Cleanup

Dependencies / System Requirements

Tested on Windows (XP), Linux (Ubuntu 9.4) and Mac OSX (Leopard 10.5.8).

Installation

  • In Components/Open Package File, open smnetgradientlaz.lpk.
  • Compile the component to verify that everything is ok.
  • Install and let Lazarus rebuild.