| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > StepStringClass > StepStringClass Methods >====== SetLimit (set smooth data distribution:StepStringClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[kill shut down the stepstringclass object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setlimitneeded return static dynamic boundary flag stepstringclass .htm|{{btn_next_n.gif|Next page}}]] | | || **SetLimit(** //lower, upper //**), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **SetLimit** | Sets the StepStringClass object's evenly distributed steps between //upper //and //lower//. | | //lower// | A string constant, variable, EQUATE, or expression that specifies the StepStringClass object's lower boundary. The value may be numeric or alphanumeric. | | //upper// | A string constant, variable, EQUATE, or expression that specifies the StepStringClass object's upper boundary. The value may be numeric or alphanumeric. | The **SetLimit **method sets the StepStringClass object's evenly distributed steps between //upper //and //lower//. The StepStringClass 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//. SetLimit considers the Controls property (as set by the Init method) when calculating the expected data distribution. **Example:** ** MyStep.SetLimit('A','Z')      !establish uppercase alphabetic scrollbar limits** **See Also:**     [[getpercentile return a value s percentile .htm|GetPercentile]], [[getvalue return a percentile s value .htm|GetValue]], [[init initialize the stepstringclass object .htm|Init]], [[setprogresslimits calibrate the progress monitor .htm|ProcessClass.SetProgressLimits]], [[controls the stepclass sort sequence .htm|StepClass.Controls]]