Navigation:  ABC Library Reference > EditFontClass > EditFontClass Methods >====== CreateControl (create the edit-in-place control:EditFontClass) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

CreateControl, VIRTUAL, PROTECTED

blk2blue.jpg

The CreateControl method creates the edit-in-place COMBO control and sets the FEQ property.

Implementation:

The Init method calls the CreateControl method. The CreateControl method creates a COMBO control with an ellipsis button and sets the value of the FEQ property.

Use the Init method or the CreateControl method to set any required properties of the COMBO 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, EditClass.CreateControl