on 12-28-2005 2:54 AM
Please teach the button setting in DialogBox.
How do you do to make an initial selection of
the button a right side?
I want to change the selection of the left side right.
Hi,
Check with this links for Dialog box in webdynpro.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on creating dialog boxes - 10.htm
Hear is a book for ui elements check with this...
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the answer.
I'm sorry the explanation ..unskilled...
Wanting to do...
1.DialogBox is displayed.
2.The left side has been selected. =[OK]has been initial selected.
3.The "Enter" button of the keyboard is pushed.
4.It moves to the following Step with result "ok" selected.
I want to do these settings to ¥¥¥
The right side has been selected.=[cancel]has been initial selected.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BESS,
Did the link solve your problem, if not please elaborate more on the problem you are facing.
Regards,
Chintan Virani.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The problem cannot be solved.
so...The following codes as an example
-
String dialigText = "TEST";
IWDConfirmationDialog dialog = wdThis.wdGetApprovalVoucherController().wdGetAPI().
getWindowManager().createConfirmationWindow(dialigText,wdThis.wdGetAPI().getViewInfo().
getViewController().findInEventHandlers("Approve"),"OK");
dialog.addChoice(wdThis.wdGetAPI().getViewInfo().getViewController().
findInEventHandlers("Approve_cancel"),
"cancel");
dialog.open();
-
"Cancel" is not understood though wants to do an initial selection by me.
Could you teach the method of setting the initial selection value?
hi
Try the below code.
****************************************************
String dialigText = "TEST";
IWDControllerInfo coninfo=wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager()
.createConfirmationWindow(dialigText,coninfo.findInEventHandlers("Approve"),"OK");
dialog.addChoice(coninfo.
findInEventHandlers("Approve_cancel"),
"cancel");
dialog.open();
*****************************************************
Regards,
Rathna.
Thank you for the answer.
I'm sorry the explanation ..unskilled...
Wanting to do...
1.DialogBox is displayed.
2.The left side has been selected. =[OK]has been initial selected.
3.The "Enter" button of the keyboard is pushed.
4.It moves to the following Step with result "ok" selected.
Now the highlighting is on OKas default setteing.
When I want to put the highlighting on cancel as default setting,
how should I write the program?
I thank you for reading my inquiry.
hi
if u want the cancel button to be default, try the code given below.
String dialigText = "TEST";
IWDControllerInfo coninfo=wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager()
.createConfirmationWindow(dialigText,coninfo.findInEventHandlers("Approve_cancel"),"cancel");
dialog.addChoice(coninfo.
findInEventHandlers("Approve"),
"OK");
dialog.open();
Regards,
Rathna.
Hi,
Thank you for the answer.
It was confirmed that the problem had solved by the gotten program.
However, In addition, please forgive the question.
Can it set it without changing the left for the right?
The left sideok, With the right side made cancel.
Can you do the highlighting on cancelas default setteing.
Regards,
BESS
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.