Navigation: ABC Library Reference > LocatorClass > LocatorClass Methods >====== Reset (reset the locator for next search) ====== | |
Reset, VIRTUAL
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