| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > QueryListVisual > QueryListVisual Methods >====== SetAlerts (alert keystrokes for the edit control:QueryListVisual) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[resetfromquery reset the querylist visual object .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[takeaccepted handle query dialog event accepted events 1.htm|{{btn_next_n.gif|Next page}}]] | | || **SetAlerts, DERIVED** {{blk2blue.jpg|blk2blue.jpg}} The **SetAlerts **method method alerts appropriate keystrokes for the edit-in-place control. **Implementation:** The Init method calls the CreateControl method to create the input control and set the FEQ property. The Init method then calls the SetAlerts method to alert specific keystrokes for the query dialog. Alerted keys are: **MouseLeft2    !edit selected record** **InsertKey     !add a query field** **CtrlEnter     !edit selected record** **DeleteKey     !delete query field** **Example:** **EditClass.Init PROCEDURE(UNSIGNED FieldNo,UNSIGNED ListBox,*? UseVar)** ** CODE** ** SELF.ListBoxFeq = ListBox** ** SELF.CreateControl()** ** ASSERT(SELF.Feq)** ** SELF.UseVar &= UseVar** ** SELF.Feq{PROP:Text} = ListBox{PROPLIST:Picture,FieldNo}** ** SELF.Feq{PROP:Use} = UseVar** ** SELF.SetAlerts** **See Also:**     [[init initialize the querylistvisual object .htm|Init]]