setalerts_alert_keystrokes_for_the_list_control_incrementallocatorclass_.htm
Navigation: ABC Library Reference > IncrementalLocatorClass > IncrementalLocatorClass Methods >====== SetAlerts (alert keystrokes for the LIST control:IncrementalLocatorClass) ====== | |
SetAlerts( control ), VIRTUAL
SetAlerts | Alerts appropriate keystrokes for the specified LIST control. |
control | An integer constant, variable, EQUATE, or expression that resolves to the control number of the LIST or COMBO control displaying the data to be searched. |
The SetAlerts method alerts appropriate keystrokes for the specified LIST control.
Implementation: The SetAlerts method alerts the backspace key and the space key.
Example:
MyBrowseClass.SetAlerts PROCEDURE !alert keys for browse object
I BYTE,AUTO
CODE
LOOP I = 1 TO RECORDS( SELF.Sort ) !for each sort order
GET( SELF.Sort, I )
IF ~ ( SELF.Sort.Locator &= NULL ) !if locator is present
SELF.Sort.Locator.SetAlerts( SELF.ListControl )! call Locator.SetAlerts method
END
END
setalerts_alert_keystrokes_for_the_list_control_incrementallocatorclass_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1