TMtxPositionPanel Class

TPanel→TMtxPositionPanel

type TMtxPositionPanel = class(TPanel);

Advanced progress/position bar.

The component can be used as an indicator or as a navigation help. It displays a panel within a panel which can then be dragged with the mouse. The component is also usefull as an progress indicator. There are two key events: OnChangePosition is called each time the position of the subpanel (bar) is changed. OnSetPosition is called only after the user releases the mouse after the drag operation. The slider can move within a specified range defined with SliderRange property. The minimum and maximum of that range are defined with SliderMin and SliderMax properties. The SliderPosition can take any value between SliderMin and SliderMax. The SliderSpan defines the length of the position bar within SliderRange.

Methods

NameDescription
Create
SliderResetSets all slider properties to 0.