| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > IncrementalLocatorClass > IncrementalLocatorClass Methods >====== SetAlerts (alert keystrokes for the LIST control:IncrementalLocatorClass) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[incrementallocatorclass methods.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takekey process an alerted keystroke incrementallocatorclass .htm|{{btn_next_n.gif|Next page}}]] | | || **SetAlerts(** //control //**), VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} | **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**