| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > EditSpinClass > EditSpinClass Methods >====== CreateControl (create the edit-in-place SPIN control) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[editspinclass functional organization expected use.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[editcheckclass.htm|{{btn_next_n.gif|Next page}}]] | | || **CreateControl, VIRTUAL, PROTECTED** {{blk2blue.jpg|blk2blue.jpg}} The **CreateControl **method creates the edit-in-place SPIN control and sets the FEQ property. **Implementation:** The Init method calls the CreateControl method. The CreateControl method sets the value of the FEQ property. Use the Init method or the CreateControl method to set any required properties of the SPIN control. **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 a virtual to create the edit control .htm|EditClass.CreateControl]]