on 2005 May 03 3:43 PM
I created a popup window and i want to close the window on click of a button. How do i get the window instance
Thanx
Mike
Thaans a lot....Le mee try and get back to you....
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
2.In the (First)calling View write a eventHandler and place the following code in the eventHandler
IWDWindow window = wdContext.currentPopupElement().getWindowInstance();
window.destroy();
2. In the componentController write a eventHandler that will fire the above view event
Ex: wdThis.wdFireEventDestroySelectedEvent();
3. In the PopupView , place a button and in the action call the componentController event.
Regards, VIP
Cal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike
Create a context variable.
Right click on the context variable.
click on properties and choose type ....
A pop up window opens and choose java native type
click on browse and type IWDWindow and click on ok
Assign the instance of the window to this context variable.
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
10 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.