"Two Button Dialog" is displaying OK and CANCEL button in different language..

Attachments:
4.jpg ‏56 KB

That doesn't look like the standard LabVIEW Two Button Dialog (icon is different).  Have any code you can show?
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Creating a dialog box with OK and Cancel buttons without OADialogPage

    Hi Experts,
    i want to create a dialog box for Delete Confirmation means after clicking on delete it should pop up a small dialog box with OK/Cancel buttons
    and need code for the same to handle the buttons.
    i have created with OADialogPage but its showing in a complete page but i want to show those buttons in a small box.
    Plz help.
    THANKS IN ADVANCE.
    Thanks
    Raja.

    Hi,
    I have not tried using javascript in destination URI as suggested by Mukul.
    I have tried the below code for opening a page as dialog box.
    You can try it for your requirement by creating a dialog page of your own, say XXDialogPage (with OK and Cancel button)
    StringBuffer l_buffer = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    String url = "/OA_HTML/OA.jsp?page=/xx/oracle/apps/fnd/dialog/webui/OADialogPG";
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:500, height:500},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    In dialog page's controller, you can forward it to the page onc ethe user selects OK or Cancel.
    Pass the selected value back to the main page and further you can use it for deleting.
    Regards.

  • Two buttons with different colors

    Hi,
      I am very new to the Web Dynpro. I have placed two buttons in my web dynpro application. What to want to change the first button color to RED and Seond button color to GREEN. How to do this?

    Hi Praveen,
    We have very limited options while changing the colors of the UIElements in WebDynpro.
    There is no direct way to change the color.
    For the Button UIElement we have a property called Design.
    You can set the property value to "emphasized" or "standard" to get different look & feel.
    Or Check the following article by Bharathwaj
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/colourful webdynpro applications.pdf
    Regards, Anilkumar
    Message was edited by: Anilkumar Vippagunta

  • How to text for Submit button in different languages.

    Hi All
    We have a requirement to add 'Submit Button' in iSupplier Portal's Standard Pages.
    We have substituted the controller to add the Submit button and it works fine also .
    Our Application has 7 different languages, so the requirement is to show the button Text w.r.t the
    language only .
    We have written the following code
    OASubmitButtonBean oasb= (OASubmitButtonBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext,"BUTTON_SUBMIT");
    oasb.setID("IPOPrintReportButton");
    oasb.setUINodeName("IPOPrintReportButton");
    oasb.setEvent("IPOPrintReportButton");
    oasb.setText("IPO Print Report Button");
    //oasb.setTranslatableText("XXIPO","XXIPO_PRINT_REPORT_TXT");
    pageButtonBarBean2.addIndexedChild(oasb);
    when we have used setText method , we are getting the same name in every language. so we tried using setTranslatableText Method and gave it the Messages to set the Button Text. But Now button text is empty .
    Pls tell us how to achieve this requirement of having text in different languages on the button ..w.r.t the environment language. we have also defined same Message 'XXIPO_PRINT_REPORT_TXT' for other languages.
    naveen

    Hi Kumar
    Can u pls brief this a little more .
    Lets say I get the language as German in the Controller . Now how do i set the test for the submit button .
    Do u mean to say I should check like this:
    If (langaue is german )
    button.setText("German Submit")
    else if (langauge is netherland)
    button.setText("Netherland Submit")
    harcoding the vaues in the contorller??

  • Ipod nano 5th gen stopped working and now is in different language, wants a passcode

    I was listening to a movie when it suddenly stopped. When I looked at the ipod it was in a different language and looking for a passcode. When I plugged it into a computer I got a"usb device not recognized" error message. I've hooked it up to 2 different computers using 2 different usb cables and I still get the same results.

    Search for a solution over on Knowledge Base, call U.S. iPod and Mac technical support: 1-800-APL-CARE (1-800-275-2273) and/or take a trip to your local Apple Store or AASP. 
     Another option is to check out the DIY iPod Repair website. 

  • ITunes and app store in different language

    So I got a refurbished phone from apple cause something went wrong with the last one. But now the new phone is in a different language when I go to the app store and iTunes. Any reason it's like this? In settings it's all in English. Att couldn't help so I might have to take it back to apple if I don't find a solution. Anyone have any ideas?

    Try to download something. Enter your iTunes username and password, despite it being for another country. It should then correct itself.

  • Issues with iCloud synchronisation and contacts over two or more devices.  iTouch and iPad2 sync with different results from iMac.  Thoughts?

    Has any one experienced issues with iCloud synchronisation and contacts over two or more devices? The primary machine is an iMac running Lion. Address Book was created from vcf file (backup of address book prior to moving to iCloud). iTouch replicates Contacts just fine and matches the Address Book on the iMac. The iPad 2 does not showing only 123 contacts where there should be 200. I have turned off iCloud on both devices thus erasing the iCloud content of both devices and staring from scratch with both devices with identical results. Even turned off iCloud on the iMac and erased the Address Book and rebuilt with the same results. Anyone have any ideas or suggestions? I am going nuts.....

    To follow-up with this issue:
    I ended up performing a security wipe on my device. The security wipe finished, and I was about to reconnect with Exchange when I decided to visit our host's web site to see if they had any articles covering the issues I was experiencing. While they didn't have anything specific, I did find a step-by-step guide to connecting a BB10 device to Exchange... and right there at the end, it said "Do NOT enable memo sync."
    I contacted support, and the rep told me that OS 10 has an issue with memo sync and it can cause all sorts of unpredictable behavior. Now, whether or not this is accurate I can say this: So far, the device is not disconnecting and reconnecting like it was before. Problem is, is this a result of not enabling memo sync, or is this a result of the security wipe?
    I may have overlooked it, but I don't recall reading anything about that anywhere else. I'm tempted to try re-enabling the memo sync to see if everything blows up again. At least that way I can see for myself if the memo sync is a real issue. Of course, perhaps it's an issue with SherWeb (our host) specifically. Hm...
    Anyway, for those that were interested, and for those that may come along in the future with a similar situation, the strange behavior that I first reported is no longer happening. I just don't know if it was a result of a security wipe or a result of not enabling memo sync with Exchange.
    Ian

  • Displayed values and printed values are different.

    I have multiple pages in PDF and each page consists of multiple form fields.The data in form fields displays the correct values but when on clicking on any
    of the field value is getting changed(the value in 1st page is getting displayed for the remaining all pages) and on click on some other location value again restores.
    On printing the PDF the values in the 1st page getting printed in all the pages.This is a bit urgent and need help on this.Using Adobe 9.0 standard version

    Hi Anshuka ,
    Make sure that the form field does not have the same name ,that may be a possible reason you are getting the duplicate values for rest of the pages.
    If possible please share the PDF with me so that I can have a look at it and assist you further.
    Regards
    Sukrit Dhingra

  • Two buttons with different ids keep overwriting eachothers onclick

    My flex app has 2 different states ('Employee Results' and 'Place Results') all based on one original base state (so three total)
    I have a search button called searchbtn on one view state.
    I have a search button called searchbtn2 on another view state.
    They both are in their own unduplicated control bars, meaning I didn't copy and paste from one screen to the other.
    I have assigned an onclick event of currentState='Employee Results' to the searchBtn.
    I have assigned an onclick event of currentState='Place Results' to  the searchBtn2.
    The problem is this.
    When I assign the event to the searchBtn it works.
    When I go to the next view state and assign the event to searchBtn2, the searchBtn is overwritten with the same onclick that is in searchBtn2.
    Why is this happening and how do I get around it?

    Sorry.  It was the way I was nesting things.  I had forgotten some closing
    tags.
    Thank you!
    The soul of a journey is liberty, perfect liberty, to think, feel, do just
    as one pleases.
    William Hazlitt, "On Going a Journey," 1822

  • 4.0 ORA-06502 and ORA-01722 in different languages

    Hi!
    After 4.0 installation on my XE-database there are some errors - dependig on which language is actual.
    german language is actual:
    home > administration > dashboard:
    every report results ORA-01722
    english language is actual:
    home:
    report about top applications results
    ORA-06502: PL/SQL: numeric or value error ORA-06512: at "APEX_040000.WWV_FLOW_4000_UI", line 731 ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Is there any idea about what is wrong?
    Kind regards,
    Andrea

    Hi Andrea,
    I see similar errors on my instance. I updated to 4.0.1 and saw some of them disappear, but a few of them are still there. Even reinstalling 4.0.1 from scratch did not change anything about this.
    Apparently the de-translation has some gaps, e.g. the title for the worspace administration is
    "Workspace &COMPANY verwalten." where &COMPANY should be the workspacename, or the confirmation message when deleting an application, which says "Anwendung &F4000_P20_FLOW_ID wurde gelöscht.". Both messages appear with the correct substitution value as soon as I switch the language to English.
    What made me wonder at first wass that both dashboards for "Top Applications" and "Top Users" worked in German, but threw erros in the English version. Without changing anything in my system they "started" working later, so I guess there was a problem with the proper initialization for those reports.
    I still have a complete set of ORA-01722 in the German version of the activity dashboard, which works better in English:
    Top Users, Top Applications and Top Pages say "Report contains no data", which is better than ORA-01722. Recent Logins shows correct results, Recent errors gives me the 01722-errors I produced before.
    Does anyone else have these problems? Or does anyone have a solution for them?

  • Printing GR and GI documents in different languages

    We have users logging in French and English.  When posting a Good Issue or a Goods receipt the documents are printing in English only.  We have set up SAPscript documents for both languages.

    Hi
    did you try to complete transaction with same language?  I had same problem some time back for JP language. we asked user to log in JP language and complete the transaction and then ask him to take a print out  with same log in language. It was working.
    please confirm.
    regards
    Srinivas

  • Hi, I just bought an Iphone 3 on ebay and everything is fine with but AppStore and Itunes are in different language. I am guessing that's because the seller lived in china. I can't understand a thing and Can't log in either

    Hi the thing is that iOS doesn't up...And if does it only shows up Chinese. I really want to change the language to English but there is yet another problem. The thing is that the iPhone doesn't work with my Laptop and everytime I plug it in it doesn't show up. I've tried logging in but there is a thing that shows which has something to do with iOS and don't understand it because it is in Chinese. I already have an apple IPod touch and my old IPhone(which doesn't work anymore so I had to buy this one). Please help, I jus don't know what to do...

    Return it for a credit. Buying things like phones and computers on eBay is not a good idea. If the person refuses to refund your money, use the eBay appeal process since you were sold something that does not work.
    Barry

  • Change color and font in two button dialog box

    The two button dialog is boring.
    I need to change the font (larger), the background color, the button color, and hilite the important part of the message.
    Ex: is this color RED ? I'd like to see RED is red.
    Attachments:
    DIALOGBOX.vi ‏16 KB

    Hi trout00;
    I think it will be better if you create your own dialog window. Create a vi with all the features you want the dialog window to perform. Edit the connectors of the vi so they return what you want to retrieve (Right-click the upper right icon in the fron panel of the vi and select "Show Connectors"). Then, edit the configuration of your vi so it behave like a dialog box (Right-click the upper right icon again and select "VI Setup..."). Finally, add your vi to your main application vi.
    Regards;
    Enrique
    www.vartortech.com

  • How to handle "ok" and "cancel" button of dialog popup?

    Hello everyone,
    I'm using a dialog with type="okCancel". My question is how to handle ok and cancel button of this popup window. Here is my code below:
    <af:popup id="kriterPopup">
    <af:dialog title="Kriter Seçiniz" type="okCancel" inlineStyle="width:500px;height:400;" id="d2"
    dialogListener="#{BasvuruDegerlendirmeBean.kriterDialog}">
    <af:selectManyCheckbox label="Kriterler :" id="smc2"
    binding="#{BasvuruDegerlendirmeBean.kritersCheckbox}">
    <af:forEach items="#{BasvuruDegerlendirmeBean.kriterList}" var="item">
    <f:selectItem itemLabel="#{item.ybKriter.tur}" itemValue="#{item.ybKriter.tur}" id="si3"/>
    </af:forEach>
    </af:selectManyCheckbox>
    </af:dialog>
    </af:popup>
    I want to handle ok and cancel button of this window, and redirect to the pages which I want.
    Can anyone help me how I can do?
    Thanks, with my regards.
    Ali

    You need dialogListener..
        public void dialog1_dialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().equals(DialogEvent.Outcome.yes)){ //for Yes
            }else{ //for Cancel
        }

  • Unable to close OK button of JOption dialog when 2 dialogs are displayed.

    1. Run the below sample program
    2. Click the "Click me" button immediately.
    3. two dialogs are displayed, one by mouse click and another by threa.d
    4. Now OK button of both dialogs are not working.
    Expected behaviour:
    the ok button of second dialog shold be active and should close the dialog.
    Sample:
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    public class test
         public static void main(String arg[])
              MainFrame frm1 = new MainFrame();
              frm1.setVisible(true);
    class MainFrame extends JFrame implements Runnable, ActionListener
         messagedlg errdlg = new messagedlg();
         JButton btn;
         MainFrame()
              btn = new JButton("Click Me");
              JPanel pnl = new JPanel();
              this.getContentPane().add(pnl);
              pnl.setLayout(new FlowLayout());
              pnl.add(btn);
              btn.addActionListener(this);
              setSize(400,400);          
              setLocation(400,200);
              Thread t = new Thread(this);
              t.start();          
         public void run()
              errdlg.showError(this,"mainscreen message");
         public void actionPerformed(ActionEvent ae)
              System.out.println("action start");
    //          SwingUtilities.invokeLater(Thread.currentThread());
              errdlg.showError(this,"mainscreen action message");
              System.out.println("action end");
    class messagedlg
         public static void showError(JFrame frame, String msg)
              try{Thread.sleep(1000);}catch(Exception ex){}
              Object[] options = {"OK"};
              int n = JOptionPane.showOptionDialog(frame,(Object)msg, msg,
                   JOptionPane.OK_OPTION,1,
              null,     //don't use a custom Icon
              options,  //the titles of buttons
              options[0]); //default button title
    }

    Some things you need to know.
    1. NEVER create or modify UI objects outside of the event dispatch thread (EDT) - you are doing this when you pop up the dialog on the new thread
    2. NEVER sleep on the EDT - you are doing this when you respond to the action event
    3. When you make mistake number 1, if you feed the same root frame to two modal dialogs on different threads then, well, on your head be it
    Some reading for you, before you get into more trouble ;o)
    http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html

Maybe you are looking for

  • Printing graphics - URGENT!

    Hi all, I am trying to send a Java2D graphics to a printer. I am reading the file name from JFileChooser. Here is my code:      if(jfc.getFileFilter().getDescription() == psFileFilterDescription){           File psfile=new File(jfc.getCurrentDirector

  • The debugger has finished stepping, but it cannot find the source file

    Hi guys, has anyone seen this message while debugging? I've just installed 1.5 and I'm getting it all the time. SQLDeveloper doesn't show on the screen the anonymous block that handles the debugging, even though it seems to be working with it. Tks in

  • 3D applications in JAVA

    hello my problem is i am trying to make a 3D environment using pure java concepts, im a newbie to java and this is my college project......actually wat i exactly wanna know is.........how can a increase or decrease the size of an image without affect

  • Does Toshiba supports an BIOS Update Utility like DCCU?

    Hi all Different notebook manufacturer use a utility called the Client Configuration Utility (DCCU) which can be used to update the BIOS for multiple notebook models from the series. I have searched these forums and the web but I cannot find a simila

  • Making an Array on or after frame 13 Invisible

    I have a movieClip called "button" within another movieClip called "movie1_mc" I want the "button" movieclip, which also loads XML on frame 12 of "movie1_mc to vanish on or after frame 13 This is the code I have in place but, "button" movieClip isn't