SDL Component Suite - Meter

 
The class TMeter has been designed to provide a flicker-free display of an analog meter (the good old index instruments). You can set up almost any parameter of the layout of the meter, for more details please visit the online help pages.

The unit METER is part of the SDL Component Suite.


Free Sample Programs

PrjMeter This program shows all major aspects of the component TMeter. The user may adjust many parameters of the meter. prjmeter.zip
(317 kB)
MeterDrag This sample application shows how to move the needle of the meter by mouse interaction. The user may either drag and drop values on the meter, or use the right mouse button to set the needle position directly. meterdrag.zip
(238 kB)



What's new:

  • Release 10.5   [Oct-10, 2016]
     
    • no changes

  • Release 10.4   [Jun-02, 2015]
     
    • no changes

  • Release 10.3   [Oct-06, 2014]
     
    • none

  • Release 10.2   [May-30, 2013]
     
    • no changes

  • Release 10.1   [Oct-29, 2012]
     
    • no changes

  • Release 10.0   [Oct-4, 2011]
     
    • no changes

  • Release 9.7   [May-31, 2010]
     
    • TMeter component now supports logarithmic scales
    • bug fix: second needle is now automatically limited to meter range when changing MeterMinValue or MeterMaxValue

  • Release 9.51   [Dec-01, 2008]
     
    • no changes

  • Release 9.5   [Oct-31, 2008]
     
    • no changes

  • Release 9.0   [May-28, 2007]
     
    • no changes

  • Release 8.5   [Feb-18, 2006]
     
    • no changes

  • Release 8.2   [Nov-03, 2004]
     
    • no changes

  • Release 8.1   [Aug-29, 2004]
     
    • available for Delphi™ 8 for .NET

  • Release 8.0   [Apr-15, 2004]
     
    • new events: OnBeforeDrawNeedle and OnMeterRendered allow to draw user-defined graphics on TMeter canvas
    • new methods CalcNeedleAngle, ConvertToPixelCoords, ConvertPixelToValue
    • new properties ScaleRadius, OriginX and OriginY
    • drag and drop implemented
    • OnMeterMouseMoveInMeter implemented

  • Release 7.2   [Mar-23, 2003]
     
    • METER is now part of GuiPack
    • new property PercentNeedleLength allows to adjust length of needle
    • TMeter supports now images for background and anchor cover (properties AnchorImage, BackgroundImg, BkgndFillMode)
    • scale can be switched off (ScaleVisible)
    • user may draw proprietory labels (event OnBeforeDrawScaleLabel)

  • Release 7.0   [Sep-15, 2002]
     
    • available for Delphi™ 7.0
    • the unit is now CLX compatible
    • TMeter offers now secondary needle
    • new properties: NeedleLayoutSec, NeedleLayout.Visible, ValueSec
    • AnchorSize and AnchorCovered are now properties of the meter and not the needle
    • bug fix: transparency of meter cover adjusted to be compatible to CLX

  • Release 6.5   [May-28, 2002]
     
    • available for C++Builder™ 6.0
    • type declaration TLabelStr discarded to become compatible with BCB 6

  • Release 6.0   [Aug-06, 2001]
     
    • available for Delphi™ 6.0
    • ColorCover is now clBtnFace by default
    • bug fix: TMeter has no memory leak anymore
       
  • Release 5.5   [May-01, 2000]
     
    • available for C++Builder™ 5.0
       
  • Release 5.0   [Oct-05, 1999]
     
    • METER is now part of the SDL Component Suite 5.0
    • METER is available for Delphi™ 5.0
       
  • Release 1.8   [Mar-28, 1999]
     
    • METER is now available for C++Builder™ 4.0
    • additonal layouts implemented (mlCirc270, mlCirc300, mlCirc360)
    • positioning of labels improved
    • colored scale background implemented (properties ColorSclBkLow, ColorSclBkNorm, and ColorSclBkHigh, ThresholdLow, ThresholdHigh, ScaleBkWidth, ScaleBkVisible)
    • overflow and underflow indicators are now switched when ThresholdLow or ThresholdHigh is crossed
    • FontCaption implemented
    • OnUnderFlow, OnOverFlow, OnNormalRange events implemented
       
  • Release 1.7   [Aug-17, 1998]
     
    • METER is now available for Delphi™ 4.0
       
  • Release 1.6 (Apr-08, 1998):
     
    • METER is now available for all versions of Delphi™ (1.0, 2.0, 3.0), and for C++Builder™ (1.0 and 3.0)
    • Bug fixed: FNeedleLayout has not been freed on destroy - this caused memory leaks which may crash the application if TMeter is created and destroyed several (100) times.
    • correction: TColorScheme = (csBWG, csSystem); (not csSytem anymore)