jop_008
2 Aug 2012, 9:22 AM
Hi,
I have a form which must be processed and then another form must be presented with new title at top of screen, and buttons under the form.
I have it like this:
<formpanel> // stored in oformpanel
<title panel>
<form panel>
<buttons>
</formpanel>
I want another form loaded with new title and other buttons.
I try it like this:
get the panel with Componentquery
get the buttons with Componentquery
oform.hide (); // hides the form if I remove the form and don't hide it it is still visible
oformpanel.remove (titlecomponent)
oformpanel.remove (formcomponent) // when I remove containers from the panel nothing happes how can the screen be refreshed?
oformpanel.remove (buttoncomponent)
I create a new form with Ext.create and add it like this oformpanel.add () but nothing is happening.
I played also with show but same result (empty screen)
John
I have a form which must be processed and then another form must be presented with new title at top of screen, and buttons under the form.
I have it like this:
<formpanel> // stored in oformpanel
<title panel>
<form panel>
<buttons>
</formpanel>
I want another form loaded with new title and other buttons.
I try it like this:
get the panel with Componentquery
get the buttons with Componentquery
oform.hide (); // hides the form if I remove the form and don't hide it it is still visible
oformpanel.remove (titlecomponent)
oformpanel.remove (formcomponent) // when I remove containers from the panel nothing happes how can the screen be refreshed?
oformpanel.remove (buttoncomponent)
I create a new form with Ext.create and add it like this oformpanel.add () but nothing is happening.
I played also with show but same result (empty screen)
John