GetValue (return a percentile's value:StepCustomClass)


Top  Previous  Next

 

GetValue( percentile ), VIRTUAL

GetValue

Returns the specified percentile's value relative to the StepCustomClass object's boundaries.

percentile

An integer constant, variable, EQUATE, or expression that specifies the percentile for which to retrieve the value.

The GetValue method returns the specified percentile's value relative to the StepCustomClass object's "steps."

Implementation:

The AddItem method sets the StepCustomClass object's steps.

Return Data Type:     STRING

Example:

IF FIELD() = ?MyList                               !focus on browse list

 IF EVENT() = EVENT:ScrollDrag                     !if thumb moved

  Locator=MyStep.GetValue(?MyList{PROP:VScrollPos})!update locator to match

 END

END

See Also:     AddItem