on 11-14-2006 10:00 AM
Hi,
I have created a window in an application, which will appear like a popup window. I have to change the title of the window. How to change it? Kindly help me out.
Thank you.
Regards,
Dhana
Hi
IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo, true);
//set the window position on the screen
window.setWindowPosition(100, 100);
( (Window) window ).setTitle("YOUR_TITLE");
Message was edited by:
Roberto Tagliento
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhana,
set the title using the setTitle method on the IWDWindow...like this
IWDWindowInfo windowInfo =
(IWDWindowInfo) wdComponentAPI
.getComponentInfo()
.findInWindows(
"TestWindow");
IWDWindow window =
wdComponentAPI.getWindowManager().createWindow(
windowInfo,
true);
//set the WindowPosition on the screen
window.setWindowPosition(300, 150);
window.setWindowSize(300, 230); //width,height
window.setTitle("Title");//set the title
window.open();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.