PDA

View Full Version : Detach fields from a FormPanel and move to another?



FlyFoxUK
2 May 2010, 12:07 PM
I have a FormPanel that has some fields of various types (textfields, combobox etc) and depending on a user selection, I need to detach certain fields and move them to another FormPanel.

I can't see an equivalent of .add and .remove for Field types. Is there a way to move fields around between forms (without having to dynamic destroy and re-create them all the time)?

Cheers

FF.

Animal
2 May 2010, 10:47 PM
What do you mean "I can't see an equivalent of .add and .remove for Field types"?

add and remove add and remove Components from Containers, end of.