| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > EditClass > EditClass Methods >====== CreateControl (a virtual to create the edit control) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[functional organization expected use.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[init initialize the editclass object .htm|{{btn_next_n.gif|Next page}}]] | | || **CreateControl, VIRTUAL, PROTECTED** {{blk2blue.jpg|blk2blue.jpg}} The **CreateControl **method is a virtual placeholder to create the appropriate window control for derived classes. **Implementation:** The Init method calls the CreateControl method. The CreateControl method must set the value of the FEQ property. **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:**     [[feq the edit in place control number .htm|FEQ]], [[createcontrol create the edit in place check control .htm|EditCheckClass.CreateControl]], [[createcontrol create the edit in place control .htm|EditColorClass.CreateControl]], [[createcontrol create the edit in place entry control .htm|EditEntryClass.CreateControl]], [[createcontrol create the edit in place control editfileclass .htm|EditFileClass.CreateControl]], [[createcontrol create the edit in place droplist control .htm|EditDropListClass.CreateControl]], [[createcontrol create the edit in place control editmultiselectclass .htm|EditMultiSelectClass.CreateControl]]