|
Re: How to create a Pop Up Form? [message #1062852 is a reply to message #1062769] |
Tue, 11 June 2013 06:15 |
Urs Beeli Messages: 573 Registered: October 2012 Location: Bern, Switzerland |
Senior Member |
|
|
Displaying a pop-up dialog from a menu
- Define the popup dialog as a normal form (let's assume it is called PopupDialogForm)
- in your menu's execAction method add the following code:
PopupDialogForm form = new PopupDialogForm();
form.startNew();
form.waitFor();
if (form.isFormStored()) {
SERVICES.getService(ILDAPOutlineService.class).methodXXX();
}
I am not sure I understand what you want to do in your second part of the question, but if you need access to a ZZZZZClass instance, why don't you add a member var for it to Desktop and then use that to access execAction()?
[Updated on: Tue, 11 June 2013 06:16] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02921 seconds