| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > EntryLocatorClass > EntryLocatorClass Methods >====== TakeAccepted (process an accepted locator value:EntryLocatorClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[setshadow set shadow value .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takekey process an alerted keystroke entrylocatorclass .htm|{{btn_next_n.gif|Next page}}]] | | || **TakeAccepted, DERIVED** {{blk2blue.jpg|blk2blue.jpg}} The **TakeAccepted **method processes the accepted locator value and returns a value indicating whether the browse list display should change. A locator value is accepted when the end user changes the locator value, then TABS off the locator control or otherwise switches focus to another control on the same window. **Implementation:** The TakeAccepted method primes the FreeElement property with the entered search value, then returns one (1 or True) if a new search is required or returns zero (0 or False) if no new search is required. **Return Data Type:     **BYTE **Example:** **MyBrowseClass.TakeAcceptedLocator PROCEDURE** ** CODE** ** IF ~SELF.Sort.Locator &= NULL          !if locator is present** **  IF SELF.Sort.Locator.TakeAccepted()      !if locator value requires a search** **   SELF.Reset(1)                !reposition the view** **   SELECT(SELF.ListControl)          !focus on the list control** **   SELF.ResetQueue( Reset:Done )        !reset the browse queue** **   SELF.Sort.Locator.Reset           !reset the locator USE variable** **  END** ** END** **See Also:     **[[freeelement the locator s first free key element .htm|FreeElement]]