User Tools

Site Tools


reset_reset_the_locator_for_next_search_.htm
Navigation:  ABC Library Reference > LocatorClass > LocatorClass Methods >====== Reset (reset the locator for next search) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Reset, VIRTUAL

blk2blue.jpg

The Reset method is a virtual placeholder method to reset the locator for the next search.

Implementation:

The BrowseClass.TakeAcceptedLocator method calls the Reset method.

Example:

BrowseClass.TakeAcceptedLocator PROCEDURE   !process an accepted locator entry

CODE

IF ~SELF.Sort.Locator &= NULL AND ACCEPTED() = SELF.Sort.Locator.Control

 IF SELF.Sort.Locator.TakeAccepted()       !call locator take accepted method

  SELF.Reset(1)                            !if search needed, reset the view

  SELECT(SELF.ListControl)                 !focus on the browse list control

  SELF.ResetQueue( Reset:Done )            !reload the browse queue

  SELF.Sort.Locator.Reset                  !reset the locator

  SELF.UpdateWindow                        !update (redraw) the window

 END

END

END

See Also:     BrowseClass.TakeAcceptedLocator

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