You are here: Symbol Reference > MtxComCtrls Namespace > Classes > TMtxPositionPanel Class
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxPositionPanel Class

Advanced progress/position bar.

MtxComCtrls_TMtxPositionPanel
Pascal
TMtxPositionPanel = class(TPanel);

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!