Navigation: ABC Library Reference > WindowManager > WindowManager Methods >====== SetAlerts (alert window control keystrokes) ====== | |
SetAlerts, VIRTUAL
The SetAlerts method alerts any required keystrokes for the window's controls, including keystrokes required by the window's history key, browse lists, and locators.
Implementation:
The SetAlerts method calls the BrowseClass.SetAlerts method for each BrowseClass object added by the AddItem method. SetAlerts also ALRTs the HistoryKey keystroke for each AddHistoryField control.
Note that the alerted keystrokes are associated only with the specific affected controls, such as a LIST or ENTRY. The keystrokes are not alerted for the WINDOW. See ALRT in the Language Reference for more information.
Example:
ThisWindow.Init PROCEDURE()
CODE
!procedure code
SELF.SetAlerts()
RETURN Level:Benign
See Also: AddHistoryField, HistoryKey, BrowseClass.SetAlerts