PDA

View Full Version : [SOLVED] Popup form panel?



Ferrari312
25 Apr 2008, 2:16 AM
Hi all, newbie alert :)

In my application I need to display a pop up dialog for user input, which is build dynamically, dependent on a message I receive from an external program which I parse (getting this far is no problem). However in order to build the dialog properly I need control over the width and height of the dialog, and absolute positioning. This can be achieved with a Ext.form.FormPanel, I was wondering if there is a way I can display a FormPanel in a popup similar in style to an Ext.MessageBox?

I've done a quick search of the forums and tutorials and couldn't find what I was looking for, so apologies if this has come up before and if it has then just a link would be great :) Thanks!

Animal
25 Apr 2008, 2:38 AM
I don't understand what you want.

If you use



{
floating: true,
frame: true
}


on your FormPanel, you can position it anywhere.

Ferrari312
25 Apr 2008, 3:35 AM
Yep that's exactly what I was looking for, thanks! :)