User Tools

Site Tools


set_restart_the_locator_locatorclass_.htm
Navigation:  ABC Library Reference > LocatorClass > LocatorClass Methods >====== Set (restart the locator:LocatorClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Set, VIRTUAL

blk2blue.jpg

The Set method prepares the locator for a new search.

Implementation:

The Set method clears the FreeElement property.

Example:

MyBrowseClass.TakeScroll PROCEDURE( SIGNED Event )

CODE

CASE Event

OF Event:ScrollUp OROF Event:ScrollDown

 SELF.ScrollOne( Event )

OF Event:PageUp OROF Event:PageDown

 SELF.ScrollPage( Event )

OF Event:ScrollTop OROF Event:ScrollBottom

 SELF.ScrollEnd( Event )

END                           !after a scroll event

IF ~SELF.Sort.Locator &= NULL THEN        !if locator is present

 SELF.Sort.Locator.Set               !set it to blank

END

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