User Tools

Site Tools


setenabled_enable_or_disable_the_locator_control_.htm
Navigation:  ABC Library Reference > LocatorClass > LocatorClass Methods >====== SetEnabled (enable or disable the locator control) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetEnabled( enabled )

blk2blue.jpg

SetEnabled Enables or disables the locator control.
enabled An integer constant, variable, EQUATE, or expression that enables or disables the locator control. A value of zero (0 or False) disables the control; a value of one (1 or True) enables the control.

The SetEnabled method enables or disables the locator control for this LocatorClass object. See ENABLE and DISABLE in the Language Reference.

Example:

MyBrowseClass.Enable PROCEDURE

CODE

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

SELF.Sort.Locator.SetEnabled(RECORDS(SELF.ListQueue))!disable locator if 0 items

END

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