ChangeParent
Previous  Next

Changes a control parent.
Using ChangeParent you can move a control from one form to another.
Syntax: ChangeParent (Control As Control, Parent As Control)
Control - The name of the control that will be moved.
Parent - The new parent for the control.

Example:
Sub App_Start
      Form1.Show
      flb.New1("form1",b4pobject(1))
      flb.ChangeParent("Button2","Form2") 'Moves Button2 to Form2.
End Sub