Control position of popup dialog box

Hi,
Is there a better method of positioning a popup dialog below a string control? - see attached (run parent.vi)
Can I obtain a Pane ref and a VI ref given a string control reference? so that I only need to pass the string ref
thanks
Al
Solved!
Go to Solution.
Attachments:
parent.vi ‏9 KB
child.vi ‏16 KB

If your VI has multiple panes (or just to be prepared), you can find, here  a VI that returns the pane of a control.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!

Similar Messages

  • How to display a screen as Popup Dialog box in Module Pool

    Hi All,
    I have a requirement to display a popup dialoge box into module pool.
    i need to display a screen as a popup on the current screen on a button click.I have developed a screen and in atribute tab i have defined the screen type as modal dialog box but  it is displaying previous screen screen is hide i want to display on the same screen as a popup.
    Thanks
    Narendra

    Hi Narendra,
    Try to trigger the popup once it is done with the previous action might be anything.
    i have shown one sample code where after i click on save button when the data is saved successfully
    after that it has to trigger me a popup asking for conformation for the next action.
    A small piece of code
    INSERT INTO ZORMD1 VALUES WA_ZORMD1.
        IF SY-SUBRC = 0.
          G_LOCAL1 = 0.
          MESSAGE S000.  " Data saved successfully and immediately call the popup
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
      DEFAULTOPTION  = 'Y'
    TEXTLINE1 = 'SUCCESSFULLY SAVED'
              TITEL = 'POPUP FOR conformation'
             START_COLUMN         = 25
             START_ROW            = 10
            CANCEL_DISPLAY       = 'X'
           IMPORTING
    ANSWER  = G_PRINT
    IF G_PRINT = 'J'.
    PERFORM PRINT_OUT.
    ENDIF.
    Do the modification according to your requirement.
    Cheers!!
    VEnk@

  • OK button not visible in popup dialog box.

    Hi,
    There is some problem with the popup dialog boxes that I am using. Sometimes I can see the OK button while sometimes it is not visible.
    Any clue regarding this odd behaviour?
    Many Thanks,
    Anagha

    HI everybody,
    I am also having similar error now.
    IN the standard Dialog box, I am not able to get the button, despite of doing everything properly.
    Please find the code used:
    IWDControllerInfo conInfo= wdThis.wdGetAPI().getControllerInfo();
                                  IWDEventHandlerInfo evntInfo = conInfo.findInEventHandlers("Ok");
                                  IWDConfirmationDialog confDialog =wdComponentAPI.getWindowManager().createConfirmationWindow("Please Enter a search Criteria", evntInfo , "OK");
                                  confDialog.setTitle("Confirmation Window");
                                  confDialog.open();
    I  have created the eventhanler.
    I tried all possible ways but nothing has resolved the issue.
    The only difference is that I need to place this code in custom controller only.

  • Message Popup dialog box - "Value invalid or out of range"

    Hi
    From time to time I get an error when trying to display Message Popup dialog boxes. The error appears sporadically and always disappears when I restart TestStand. This happens for all Message Popup dialog boxex (TS standard box).
    The error is "Value invalid or out of range". I get no clues as to why this occurs.
    Any ideas?
    TestStand 2010 SP1 running on Windows 7 64bit.
    Attachments:
    Untitled.png ‏29 KB

    Can you provide the sequence containing that step?
    Without seeing the parameters, its quite hard to give you some hints where to look....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Help with JOptionPane -- Popup Dialog Boxes

    I need to create a popup dialog box that looks like this:
    http://img88.imageshack.us/img88/6900/jbuttonpm2.jpg
    red = JTextField (Where the user will input a number that I need to store)
    green = Drop Down List with 1,2,3 as choices
    blue = JButtons for OK and Cancel
    So yeah, I need an easy way to collect a bunch of information from the user, and this was the best way I could think to do it. The user has to enter a number for all of the fields, but is there any way for the field to have a value of 0 there by default?
    I read some of the Java tutorials for using the JOptionPane's showXXXDialog but I wasn't sure if that can't of method could create such a complex dialog box. Any help would be really appreciated. How can I make that dialog box and get all the input I need from it?

    Create a panel containing red and green and pass it as message to JoptionPane.showConfirmDialog with OK_CANCEL_OPTIONS to have blue. If it returns OK_OPTION read and use values from panel. That's it.

  • Any way to apply "chapter markers" in uninterrupted playback (without popup dialog box) ?

    Long story short: I hate the default marker color of olive green, especially since my current project is shot in nature so they are essentially visually invisible when I look at the timeline with thumbnails on. So it'd be nice to use chapter markers (I've given them a hotkey) since they're vibrant red. But when I use the keystroke, the marker options popup dialog box appears. Is it possible to disable the popup?
    I use markers by adding them on the fly while watching all raw footage stringed together in a dedicated timeline (to quickly weed out select takes). This is a somewhat common technique amongst editors who learned from old "film" film editors (they did the same with workprints & a grease pencil). Currently I'm having to press "D" to select the current clip playing, and then press "M" (custom hotkey) to mark the take. It'd be nice to do so in a single button push… anyone know of such a way?
    Of course, just letting us change the marker colors would be nice too. Btw, I already did feature requests for these.
    This issue alone causes me to just do projects in FCP7 still. I'm trying to finally fully transition to Premiere Pro with this one, but this marker thing is killing me... Adobe peoples if you're reading this.

    Hi Ann, thanks for the suggestions. As with a lot of editors, having just the video head displayed occupies every clip's duration when looking at a long timeline. And dealing with the chapter marker popup is a huge speedbump when we're talking about literally dozens of markers.
    I posted my questions as a shot in the dark, assuming there was a 99.9% chance that there's no solution in Premiere, but I appreciate your info.

  • Automatically click OK or close LabVIEW popup dialog box

    I am able to automate user actions on any front panels within the project by modifying its values (signaling) through VI References, but I can't figure out how to access a popup dialog box to automatically close it or click OK.
    Is there a way to do this without replacing all LabVIEW built-in dialog box calls with a custom one?

    Just curious, why automate user interactions? Why not have a "mode" you are in. If it's a user interaction mode, you do what the user chooses. If it's not set in user interaction mode, you just use a state machine to go to the next step, and you don't show the dialog.
    My suggestion here seems much simpler then having value signaling propery nodes all over the block diagram.
    CLA, LabVIEW Versions 2010-2013

  • How do I stop Yahoo mail's popup dialog box from changing the tab focus?

    Hi,
    When I have a tab opened to Yahoo mail and I open a Yahoo email on my other computer or Blackberry, there's a time delay and at some point, Yahoo shifts my browser focus to display a pop-up dialog box that says "You have been disconnected from chat because you have signed into Yahoo! Messenger from another computer." I can't even switch back to the tab I was on without dismissing the popup.
    I'd love it if I could turn off the pop-up, - don't care about the disconnection - but in the meantime, is there some way to prevent Yahoo from changing my tab focus?
    Thanks!

    Hi Douglass,
    You will need to navigate to the following folder.
    /Users/yourusername/Library/Mail/V2/MailData
    and backup the following file... MessageRules.plist
    Open the file in BBedit to confirm your rules are infact inside that particular plist file as Mail will also create backups occasionally.
    Once you reinstall, do a compare/replace with the newly created MessageRules.plist and you should be able to bring your "old" rules into your fresh install.
    as for mailboxes, those are contained within this folder
    /Users/yourusername/Library/Mail/V2/Mailboxes
    and it will be up to you to backup those files and File/Import Mailboxes them into the new install.

  • EPSON printer update v2.3.1:  color controls now dimmed @ print dialog box

    I have lost the ability to control color in the Print/Print Settings dialog box after this update. The Ink tab is dimmed and set to "Color," the Color Settings tab is also dimmed and set to "Off (No Color Adjustment)," and the Advanced tab brings up only information about the Colorsync profile. The graphic file (Photohop) I'm printing from is a grayscale file.
    There is no difference in the Print dialog box between having Photoshop manage the colors or having the Printer do it.
    My concern is that the printer will now be consuming color ink, but the actual prints appear to be using only the matte black.
    Anybody else run into this? Should I be concerned?
    Thanks

    From PHOTOSHOP (CS4) In the printer driver menu, the COLOR MATCHING pulldown shows the choices are grayed out. But go to the PRINT SETTINGS pulldown. There you should be able to select BLACK/COLOR Ink, color settings if appropriate (VIVID etc)...
    Apparently not all programs gray out the COLOR MATCHING boxes - a demoed a RIP that does not do this but it has other issues (ImageNext2.1).
    Also CS4 has the ability to completely disable color management (used for printer profiling), but some apps cannot do this with this driver (ImageNest2.1, DataColor Spyder3Print)

  • Taking control of OS print dialog box

    Hi,
    Can I customize the OS print dialog box which appears, when I execute the FlexPrintJob.start method? I want to enable page range selection and some other fields.
    Other option is, if some how I can get the list of printers and other printer specific options availabe in my custom Dialog box.

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Controls become inactive while dialog box is active

    Hello Experts, 
    I am trying to create two pop-up windows appearing one after another when my program starts. I used two button and single button dialog box. However, while the dialog box is active on the screen, I cannot modify the controls on my VI. Is there any way, I get modify the control while the dialog box is active? May be my approach is wrong, please direct to any relevant post/article on this topic. 
    Let me know if you need any specific information. 

    Dialog boxes are modal.  That means that they are in front of all other windows and no access to those other windows is possible until the modal window is closed.
    If you cannot tolerate modal windows, then create your own dialog boxes using subVIs which open when called and then close afterwards.  You can make them look like the modal boxes but they can be moved behind other windows.  Of course they can also get lost back there.  Keep that in mind if the response from those dialogs is required before some other part of the program can continue.
    Lynn

  • I have been getting a popup dialog box asking me to update flash player, but I don't know if I should trust it, as the exe file name is "tmp4E11.exe".

    Hi Team,
    I am only sending you an email as I am unable to find the answer to this question anywhere on your web site.
    Just started within the past half an hour, I have been getting an update Flash Player dialog box popping up on my desktop, saying to update now or later or not at all, but I don't recognize it as the standard type of update dialog box that is sent by Adobe.  The file name that is being used to click on for the update is "tmp4E11.exe:, is this a genuine Adobe update.  I just can't stop this dialog box from popping up every ten seconds.  HELP please.
    Thanks.

    Hi,
    if it's popping up every 10 seconds or so it's not official Flash Player update as ours does not display that often.  Can you post a screenshot of it, How to post a screenshot in the forum.
    Maria

  • Popup Dialog boxes in Extensions

    I am building an extension that allows our company to insert a CFINVOKE tag for a ColdFusion component with all of the proper arguments. One of the arguments for the component is an array of address information that looks like so in CF:
    <cfset AddressArray = ArrayNew(2)>
    <cfset AddressArray [1][1] = "XYZ Widget">
    <cfset AddressArray [1][2] = "123 Somewhere St">
    <cfset AddressArray [1][3] = "Nowherevilleton">
    <cfset AddressArray [1][4] = "AA">
    <cfset AddressArray [1][5] = "55555">
    <cfset AddressArray [1][6] = "555-555-5555">
    <cfset AddressArray [1][7] = "http ://goo.gl/rTyhf45">
    This array can include multiple addresses. Too add a second address simply increment the first array index number from one to 2 and repeat the structure.
    My extension needs to be able to create a multidimensional array in JS that is based off a form.
    The primary form for the extension holds form fields for the other component arguments which consits of checkboxes and text fields and one textarea.
    The textarea needs to be populated via a second form that appears when the user clicks on the "Add Address" button which should create a second dialog box with a simple form of text fields for the name, adddres, city, state, zip, phone, and url that are need by the CF array.
    What I cannot figure out how to do is create this second dialog box. I have the following JS in place but it throws an error (openDialog() is not a function)
    function addAddress() {
        var retVals = {name: null, address: null, city: null, state: null, zip: null, phone: null, url: null};
        window.openDialog("MapAddress.htm","", "all=no", retVals);
    I tried window.open() but that just opens my browser. MapAddress.htm is the file that contains the second form.
    All I need to know is how do I create a second dialog box from inside an extension, or is this even possible?

    Hi,
    You can open another form, but you have to pass parameters between windows (that is, your .htm files with your forms). Look at native extensions like C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS6\configuration\Commands\ServerObject-MastDetailPHP.htm for instance, and the dwscripts.callCommand() function in C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS4\configuration\Shared\Common\Scripts\dwscripts.js for an undocumented way of doing it.
    But the simpliest way is to have two layers in your form and hide and display them according to your needs with some JavaScript like this:
    var layer = dwscripts.findDOMObject('mylayername');
    layer.style.visibility = "hidden";
    or
    layer.style.visibility = "visible";
    Regards,
    Xavier
    MyDreamweaverExtensions.com

  • Userid/password in a popup dialog box?

    When I sign on to the forums today either on an iPhone or Firefox in windows, I'm getting a popup box to enter userid/password instead of the usual Oracle single sign on page.
    Is this something new?

    Seems to be a feature :-) Has happened many times before - it is typically corrected within a few hours
    Where's my handle?
    Handle not working
    HTH
    Srini

  • Empty PopUp Dialog box while uploading a document in document library

    Hi ,
      I  want to upload a document to shared document folder .While adding new document to this library it opens browse dialog and then  after i selected some specific document  then select "ok" then after it appears an empty dialog
    which does not contains any thing except close and maximize button at the top corner.
    It appears in all sites/site collection through out the  web application
     Can any one help me ....
    thanks in advance ...
    Nag 

    hi
    Try uploading a single file of small size.
    Please let me know the outcome
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for

  • IDoc to File, SM58 shows error, ST22 short dump - Runtime error

    Hi friends, I am doing a simple IDoc to file scenario using the EVMSTA01 IDoc. My XI is running on client 100 and I am trying to send the IDoc from the client 200 on the same machine. I have completed the design and configuration steps required and a

  • How to go back to previous FCPX?

    Hi. I am in the midst of a couple projects this week.   My FCP was updated automatically by Maverik and I want to go back to the previous version, as I'm a bit wary of jumping into the new fcp 10.1 in the midst of 2 big projects...How do I go back??

  • After a windows 7 update, firefox dropdowns just flash briefly

    any dropdown menu just flashes...works OK in IE. Happened right after Windows did a BIG update...took about half an hour to complete the update. It flashes so fast you can just tell that it was supposed to be an autocomplete or dropdown but not what

  • "There were errors installing the software. Please try again"

    I have decided to sell my iMac and G4 iBook, in order to buy a Macbook Pro. I have two people interested, but only if both computers are formatted and as they were when they left the factory. I erased all my files from both computers, leaving just th

  • How can I change the playbar language?

    How can I change the playbar language? Tool tips...