| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > StepRealClass > StepRealClass Methods >====== SetLimit (set smooth data distribution:StepRealClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[getvalue return a percentile s value steprealclass .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[stepstringclass.htm|{{btn_next_n.gif|Next page}}]] | | || **SetLimit(** //lower, upper //**), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **SetLimit** | Sets the StepRealClass object's evenly distributed steps between //upper //and //lower//. | | //lower// | An integer constant, variable, EQUATE, or expression that specifies the StepRealClass object's lower boundary. | | //upper// | An integer constant, variable, EQUATE, or expression that specifies the StepRealClass object's upper boundary. | The **SetLimit **method sets the StepRealClass object's evenly distributed steps between //upper //and //lower//. The StepRealClass object (GetPercentile and GetValue methods) uses these steps to estimate key values and percentiles for the processed data. **Implementation:** The BrowseClass.ResetThumbLimits (a PRIVATE method) and the ProcessClass.SetProgressLimits methods call the SetLimit method to calculate the expected data distribution for the data. The SetLimit method sets 100 evenly distributed "steps" or markers between //lower //and //upper//. **Example:** ** MyStep.SetLimit(1,9700)   !establish scrollbar steps and boundaries** **See Also:**     [[getpercentile return a value s percentile steprealclass .htm|GetPercentile]], [[getvalue return a percentile s value steprealclass .htm|GetValue]], [[setprogresslimits calibrate the progress monitor .htm|ProcessClass.SetProgressLimits]]