on 02-21-2005 5:44 PM
Hi, i want to know how can i do for display popup messages like:
"Do u want to save data?"
yes no
Thanks.
Hi Joaquin,
try following:
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(
"Do u want to save data?",
wdControllerAPI.getControllerInfo().findInEventHandlers("onEventYes"),
"Yes");
dialog.addChoice(
wdControllerAPI.getControllerInfo().findInEventHandlers("onEventNo"),
"No");
dialog.setWindowPosition( WDWindowPos.CENTER );
dialog.setWindowSize( 10, 20 );
dialog.open();
where "onEventYes" and "onEventNo" - existing event handlers.
Regards, Maxim R.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.