User Tools

Site Tools


getvalue_return_a_percentile_s_value_steplongclass_.htm
Navigation:  ABC Library Reference > StepLongClass > StepLongClass Methods >====== GetValue (return a percentile's value:StepLongClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

GetValue( percentile ), VIRTUAL

blk2blue.jpg

GetValue Returns the specified percentile's value relative to the StepLongClass 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 StepLongClass object's upper and lower boundaries. For example, if the bounds are 0 and 1000 then GetValue(25) returns '250'.

Implementation:

The SetLimit method sets the StepLongClass object's upper and lower boundaries.

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:     SetLimit

getvalue_return_a_percentile_s_value_steplongclass_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1