| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > StepStringClass > StepStringClass Properties >====== LookupMode (expected data distribution) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[stepstringclass properties.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[root the static portion of the step .htm|{{btn_next_n.gif|Next page}}]] | | || | | **LookupMode** | **BYTE** | {{blk2blue.jpg|blk2blue.jpg}} The **LookupMode **property sets the //expected //data distribution the StepStringClass object implements. This, plus the //actual //data distribution, ultimately determines how "far" the indicator (scrollbar thumb or progress bar) actually moves as records are processed. The Init method sets the value of the LookupMode property. **Implementation:** Valid data distribution options are U.S. surnames, English alphabet, and runtime data distribution calculated from the poles of the actual data. Corresponding LookupMode EQUATEs are declared in ABBROWSE.INC as follows: ** ITEMIZE,PRE(ScrollBy)** **Name    EQUATE  !U.S. surnames distribution** **Alpha   EQUATE  !English alphabet distribution** **Runtime EQUATE  !calculate distribution from runtime poles** ** END** The U.S. surnames and English alphabet data distributions are defined in ABBROWSE.CLW as follows: **Scroll:Alpha STRING('  AFANATB BFBNBTC CFCNCT'|** **          &'D DFDNDTE EFENETF FFFNFT'|** **          &'G GFGNGTH HFHNHTI IFINIT'|** **          &'J JFJNJTK KFKNKTL LFLNLT'|** **          &'M MFMNMTN NFNNNTO OFONOT'|** **          &'P PFPNPTQ QNR RFRNRTS SF'|** **          &'SNSTT TFTNTTU UFUNUTV VF'|** **          &'VNVTW WFWNWTX XFXNXTY YF'|** **          &'YNYTZ ZN')** **Scroll:Name  STRING('   ALBAMEARNBAKBATBENBIABOBBRA'|** **          &'BROBUACACCARCENCHRCOECONCORCRU'|** **          &'DASDELDIADONDURELDEVEFELFISFLO'|** **          &'FREFUTGARGIBGOLGOSGREGUTHAMHEM'|** **          &'HOBHOTINGJASJONKAGKEAKIRKORKYO'|** **          &'LATLEOLIGLOUMACMAQMARMAUMCKMER'|** **          &'MILMONMORNATNOLOKEPAGPAUPETPIN'|** **          &'PORPULRAUREYROBROSRUBSALSCASCH'|** **          &'SCRSHASIGSKISNASOUSTESTISUNTAY'|** **          &'TIRTUCVANWACWASWEIWIEWIMWOLYOR')** **See Also:**     [[init initialize the stepstringclass object .htm|Init]]