on 03-05-2012 4:56 PM
hello,
lets say i have 2 DC's
one of them uses the another.
Lets call them DC 1 and DC 2.
DC1 has the main window, and the DC2 has the view i want to poup.
i defined usage between them, but i cant figure out the piece of code needed to popup a view from DC2 from this DC1.
i want to keep the handling of the closure of the window inside DC2.
what needs to be done? thanks!
Hi.,
Please Have a look at the following links
Thanks
parameshwari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nothing special, just create the popup window in dc1.
and embed the interface view(from dc2) to that window
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes,
but that way the window does not display any close options..
Meaning.
I want to get the reference of the window that is contained in the interface view of DC2, then popup it.
lets say we have this piece of code:
wdThis.wdGetMIMENUController()
.wdGetAPI().getComponentInfo()
.findInComponentUsages("myUsedComponent")
.getUsedComponent().findInInterfaceViews("MainWindowInterfaceView")
but instead of my controller i want to get the API of the used controller (component) that is coming from DC2.
Edited by: Eli Eren on Mar 6, 2012 10:07 AM
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.