GPSlider
Unit : GPSliderUnit
Association : GPSliderAsn
Inherits from : None
Description
- Displays a numeric value with upper and lower bounds and allows the
user to change that value interactively using a slider mechanism similar to
that of a scroll bar. This class should not be instantiated directly.
Public Interface
-
CONSTRUCTOR Init (containerLink: GPManagerAsn);
Initializes a GPSlider.
DESTRUCTOR Destroy; VIRTUAL;
Destroys a GPSlider.
PROCEDURE ValueChanged; VIRTUAL;
Defines behavior to occur when value in slider is changed.
PROCEDURE SetHeight (num: integer);
Sets the height of the scale (in pixels).
PROCEDURE SetWidth (num: integer);
Sets the width the scale (in pixels).
PROCEDURE MakeHorizontal;
Sets the slider's orientation to horizontal.
PROCEDURE MakeVertical;
Sets the slider's orientation to vertical.
PROCEDURE ShowVal;
Displays the value of the slider.
PROCEDURE HideVal;
Hides the value of the slider.
Subclasses
- GPIntSlider, GPRealSlider
Please report any problems with GP or the documentation to
GP Support
.
Loring Holden