| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > WindowManager > WindowManager Methods >====== SetAlerts (alert window control keystrokes) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[saveoninsertaction execute insert record activity and remain active .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[setresponse ok or cancel the window .htm|{{btn_next_n.gif|Next page}}]] | | || **SetAlerts, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} 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 set window hot keys .htm|ALRT]]// //in the //Language Reference// for more information. **Example:** **ThisWindow.Init PROCEDURE()** ** CODE** ** !procedure code** ** SELF.SetAlerts()** ** RETURN Level:Benign** **See Also:     **[[addhistoryfield add restorable control and field .htm|AddHistoryField]], [[historykey restore field key .htm|HistoryKey]], [[setalerts alert keystrokes for list and locator controls .htm|BrowseClass.SetAlerts]]