Navigation: ABC Library Reference > EntryLocatorClass > EntryLocatorClass Methods >====== Set (restart the locator:EntryLocatorClass) ====== | |
Set, DERIVED
The Set method prepares the locator for a new search.
Implementation:
The Set method clears the FreeElement property and the Shadow property.
Example:
MyBrowseClass.TakeScroll PROCEDURE(SIGNED Event) !process a scroll event
CODE
!handle the scroll
SELF.PostNewSelection !post EVENT:NewSelection to list
IF ~SELF.Sort.Locator &= NULL !if locator is present
SELF.Sort.Locator.Set ! clear it
END
IF SELF.Sort.Thumb &= NULL !if thumb is present
SELF.UpdateThumbFixed ! reposition it
END
See Also: FreeElement, Shadow