on 02-02-2006 8:28 AM
Hi,
Please teach the method of making it display to the first line in Dialogbox in "TEST" the second line as "Sample".
I want to put two lines in Dialogtext.
Could you mend the code below?
-
String dialogText = "Test" ; and "Sample"
IWDConfirmationDialog dialog = wdThis.wdGetSystemAdministrationController().wdGetAPI().
getWindowManager().createConfirmationWindow(dialogText,wdThis.wdGetAPI().getViewInfo().
getViewController().findInEventHandlers("Dialog_Add_Ok"),"Add");
dialog.addChoice(wdThis.wdGetAPI().getViewInfo().getViewController().
findInEventHandlers("Dialog_Add_Cancel"),"cancel");
dialog.open();
-
Regards,
Line breaks should work now in the dialog box as this has been fixed for the TextView element in some SP (13 or so).
So try as text "Test\nSample" or if this does not work try "Test\r\nSample".
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Don`t really know whether it is possible at all. If you have some specific requirements for confiramtion pop-up (like alignment, wrapping, additional elements like help link etc.) I would suggect you to create your own view with all appropriate elements and logic.
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
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.