Hello all,
In smartclient is there a way to have custom popup?? by it i mean is there a way i can implement my registration form in a popup.??? i know i can do it using GWT but is there a similar kind of thing in smartclient?
Thanks,
Vamsi
Hello all,
In smartclient is there a way to have custom popup?? by it i mean is there a way i can implement my registration form in a popup.??? i know i can do it using GWT but is there a similar kind of thing in smartclient?
Thanks,
Vamsi
Create a Window and create your interface into a Canvas, and pass to that window your canvas:
Window window = new Window();
window.setTitle("Title");
window.setAutoSize(true);
window.setAutoCenter(true);
window.setShowMinimizeButton(false);
window.setCanDragReposition(true);
window.setCanDragResize(false);
window.setKeepInParentRect(true);
VLayout layout = new VLayout();
layout.setWidth100();
layout.setHeight100();
//CREATE YOUR LAYOUT AS USUAL ...
window.addItem(layout);
Regards.
I’ve said Canvas, but any Canvas descendent, in the example VLayout.
not a window
Thank you very much for responding with this suggestion.. but unfortunately this is not what i am looking for. i am looking for a custom popup.. by popup i mean that untill it is close we should not be able to access rest of the widgets in application…
like confirm popup which asks if we really want to close it or not or something like that…
once again thank you…
Vamsi
You can set the window to modal.
Please take time going through all the samples in the online showcase and perusing the corresponding source code. All this basic stuff is covered there. There’s really no excuse for asking a question that is covered in the samples.
Thank you very much .. this is what i am looking for… i have gone through the showcase many times but i dont know how i missed this one..
once again sorry for that
thanks a bunch…
Vamsi
No problem Vamsi, and apologies if I was too harsh in my previous response.