Cableguy Expert Licensed User Longtime User Sep 27, 2008 #1 HI, Andrew... How can I add a runtime created panel (AddPanel....) to a FormEXDesktop form created with NEW1 method (inherited form)??? I'm Creating it after the FormEXDesktop New1 method, sould I create it before, or must I have all the inheritable controls created in the designer? EDIT: Using the AddPanel BEFORE the FormEXDesktop NEW1 method works... just need to remember that... Last edited: Sep 27, 2008
HI, Andrew... How can I add a runtime created panel (AddPanel....) to a FormEXDesktop form created with NEW1 method (inherited form)??? I'm Creating it after the FormEXDesktop New1 method, sould I create it before, or must I have all the inheritable controls created in the designer? EDIT: Using the AddPanel BEFORE the FormEXDesktop NEW1 method works... just need to remember that...
agraham Expert Licensed User Longtime User Sep 27, 2008 #2 You can do it aftwerwards as well. See lines 90 and 91 of FormExDemo B4X: AddButton("Form2", "Added",120,10,100,25,"Added") FormEx2.AddControl("Added")
You can do it aftwerwards as well. See lines 90 and 91 of FormExDemo B4X: AddButton("Form2", "Added",120,10,100,25,"Added") FormEx2.AddControl("Added")