Invisble child window pane

Hi,
        I'm currently doing a project which has parent and child vi concept. When i was searching for few examples related to the concept, i came across this example. In this example i'm not able to drag if the window pane is invisble, meaning the child window disappears. With window pane visible i could drag. So how could i solve this problem? Is it possible drag without window pane for child vi?
Attachments:
main.vi ‏10 KB
sub.vi ‏28 KB

Under very few circumstances would I ever have more then one event structure in one VI.  You have two, and one is inside another...inside a while loop.  I would recommend avoiding having more then one event structure, and just handle all events in one, keeping previous data in the shift register.
Also regarding moving windows without a title bar and child/parent windows.  Here is a proof of concept I made a while ago that puts children windows into a parent window and the children can be moved and resized as a child, or made a floating window.
http://screencast.com/t/P9SJ1anR
http://lavag.org/topic/17046-multi-panel-interface/
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • Data transfer B/W parent windonw and child window with out java script

    hi ,
    i am using h:outputLink Tag to open child window , i am unable to pass parent window text box value to child window with out java script , Here i am using two different backing beans for parent and child windows . Plz help me .

    Hi -- I pass details between pages regularly. The following has worked for me:
    ApplicationFactory factory = (ApplicationFactory) FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
    ValueBinding binding = factory.getApplication().createValueBinding("#{beanName}");
    BeanName beanProperty = (BeanName) binding.getValue(FacesContext.getCurrentInstance());
    ... then set the you can set the values. Can't recall if I need to use SaveStates for the items. Probably if you use request scope beans.

  • Accessing variables from Child window from the parent window

    Hi All,
    I am in the process of integration of payment gateway, here I am opening payment gateway page as a new window, and after payment is done then I need access one variable which is hidden variable ...any ideas

    Have a hidden field/js variable in the parent page. Add a Javascript function in parent page which would take a value as parameter and set in the parent page hidden field/js variable. In the child window, you can invoke the method from script block as window.opener.setValue(document.getElementById('CHILD_WINDOW_HIDDEN_FIELD_ID').value)
    For Javascript related questions, please visit Javascript forums.

  • Session expiration issue with parent and child window

    Hi,
    We have two applications (App1 - Implemented using JSF, Spring and Hibernate and App2 -Implemented using Spring MVC, Spring JDBC).
    I have implemented 'Test Access Content' functionality in App1.
    First admin user (Role- Manager) needs to login to App1
    As part of 'Test Access Content' functionality, he enters URL with encrypted key and click 'Test Access' button.
    It opens new window (implemented using java script - window.open) and hits spring controller of App2.
    In spring controller of App2, I am decrypting the key to get user details. After that i am setting user details in session, constructing final URL to display actual content.
    Problem is parent window maintains session till child window renders response. Once child window renders response, parent window loosing session.
    So, if i click any button in parent window after child window renders response, it displays login page as there is no session for parent window.
    Please note that App1 and App2 are sharing same domain. only context paths are different for both apps (app1 and app2).
    Any suggestions on this issue are much appreciated. Please let us know if you have any questions.

    Hi,
    When you open a child window from parent window then you can access child data in the parent window through javascript.
    We have a main web page. There are quite many links on it from which >user can open new web pages but the data is saved when the submit >button on the main page is clicked. Also data that user entered on the >other sub pages is not displayed in the main window.
    1 is this a case of parent and child window.case 1 When you are submitting the main page you need to run javascript function and get data from child windows and save that to database or session. next time when you are displaying the main window you need to query session or database to display the child window data in the main window.
    Case 2> closing child window and you need data in the parent. This can be done in two ways.
    1> When you are closing the child window populate some variables of the main window using javasript.
    2> Save the values in the database or session and refresh the main window and extract data from database or session
    Where should the data be saved that user enetered on the sub pages as the data is not shown in the main page - should it be stored in the session?It is design decision. You can store data in either session or database when you are closing the child window. But ifyou are saving the data on the main page then you can populate main page with child windows data using javascript. Save the data t database when main window data is saved. Depends on business requirements.
    In short if you are saving child windows data in session or database then you need to refresh main screen to pull that data otherwise populate main screen using javascript.
    I hope i answered your questions :) best of luck

  • How to define Side Panels for linked to Child Window Applications

    We are trying to use the NWBC Side Panel with PPM 6.0 in NWBC 3.5.  We have a Role that has a menu defined that gives the users a link to the INM_WORKCENTER_APP which displays the current user's Tasks in a table.
    When we click on a task in the table it opens the task details using the CPROJECTS_FPM application in a new window.  This new window that opens up doesn't have any of the Side Panels that we have defined on the role with the main menu links.
    We have tried to add the side panel using different application alias and at different levels in the Role, but can't get a Side Panel to show up on the child window.  We even tried to switch the window to open INPLACE in the main window and it still switches to no side panels.  The only side panels we are able to see is side panels that the user has manually added under connections and the Data Context Viewer side panels.
    Is NWBC capable of having side panels to be defined to be available for these linked to child applications that are called from a main application screen?  If so, what is the possible configurations we need to make on the role for this to work properly?
    Thanks in advance for any help!

    Wanted to close this thread with the solution that worked for us.
    We had to change the Launchpad configuration for Role CPROJECTS Instance OIF.  We changed the Application from a Web Dynpro ABAP type to Object Based Navigation.  Set the Application Parameters Business Object to PROJECT and Operation to DISPLAY.
    Then for our role defined in PFGC for our NWBC, we added a new menu item to the Web Dynpro application CPROJECTS_FPM with Configuration CPROJECTS_FPM.  Then under Object Based Navigation we set the Object Type to PROJECT and Method to DISPLAY to match what we set above in the Launchpad.  Then set the menu item to be invisible since we didn't want it to show to users.
    Now when we launch the child window it uses OBN and sees the definition in our role and utilizes the same Side Panel definitions defined for the role.

  • Placing a hatched or window pane effect on a photo in the album

    Iam in the middle of making an album as a gift, one of the photos was placed with a window pane effect on it, I know how to remove it, but would like to place that same effect on a different photo in the album. Unable to find out how to do it.  Tjank you for your help.

    What version of iPhoto? I assume you mean you're making a book, right?  Can you take a screenshot of the photo with the effect and post it (use the camera button in the tool bar).  What does the photo look like back in its Event?  I don't know what you mean by a window effect but it might be one of the Effects options in the Edit mode
    Select the photo in it's Event and use the Photos ➙ Revert to Original menu option if it's not grayed out.  That will remove any edit done in iPhoto.
    OT

  • How to make the parent window inactive when a child window is opened

    hi everybody, i am chaitanya. i am working on a window based application. there are some action events in it. when an event occurs then a child frame is opened prompting the user to confirm for yes or no.
    the problem i got is, when the child window is opened the parent window is also active. I dont want this to happen. please help me to fix this problem.
    thank you all in advance, have a nice day.

    Use a modal JDialog, or better still given the apps. requirement for input, a JOptionPane. The JOptionPane.showInputDialog() or JOptionPane.showConfirmDialog() methods seem well suited to the task.

  • Maximize/Minimize MDI Child window

    Dear Members :
    I am on Oracle forms 10.1.2 and irrespective of whether value of separateFrame=true/false, when I try to maximize mdi-sheet window (within application frame), the whole thing flickers and after some time browser crashes. Does "maximize allowed" property not work for child windows in MDI application ?
    Behavior of minimize is also peculiar, as the the whole mdi application frame develops a vertical scroll, when I again try to resize the minimized mdi-sheet window, as it shows up with it's original size down from it's lower position; instead of getting back to where it originally appeared.
    I tried above both using JInitiator and JRE - but same behavior.
    Could anyone please suggest ?
    Thanks in advance.
    Atanu
    Edited by: user11184124 on Sep 28, 2011 3:09 PM

    ...If you want to make your voice heard to the VC++/MFC developer support people via Connect, that is a reasonable option.  If others vote the "me too" there, your suggestions might gather enough weight for some future action.
    <
    Robert, if you do post a bug report on Connect please post a link to
    your bug report back here so we can find it.
    I guess the bug report is really that Windows 8 doesn't draw MDI child
    windows in a consistent style to the top level frame window (I see the
    same thing using Forte Agent, so I don't think it's an MFC issue).
    For instance, if you are asking that MFC include some new visual manager(s) to support the newer Windows 8 appearance,
    Please, no more application specific "visual managers". Don't make it
    easy to make an inconsistent mess of UIs.
    I've just been saddled with a WPF application that's a right mess in
    that respect - some parts change correctly when the user changes the
    Windows scheme to high-contrast, while other parts use AvalonDock with
    its own theme idea of what the colors should be.
    Dave

  • Communicating between the parent and child windows in Struts

    Hey,
    I would like to know what is the best way to communicate between the child and parent windows on a struts based web application. For example i have a struts based jsp page. I call a child window from this page. On the child window i select few values and they have to be shown on the parent. What is the best way to achieve this in struts.
    Thanks
    in advance.
    KM

    The only way to do this without Javascript is to have the child window have a form and the form has a target defined as the name of the parent window (how to name it without using frames or having it open from another window, I'm not sure), and when you submit the form, it'll submit to the parent window/frame and you can process that form on the server and return the same parent page with the selected values.
    Otherwise, you need Javascript to set form values to "window.opener" from the child window.
    Either way, it's not really a Struts thing, technically.

  • I sent a matrix,its row and column to a child window. However "Acess violation" & 'Memory cannot be reference" error occurs when I try to plot the data in the child dialogue. Why?

    My OS is Win200 professional.
    I'm running a data acquisition program. I'd got this main dialog which the user selects the input channel.
    The child dialog should show the graph.
    I'd initialise all the NI_DAQ configuration in the main dialog class. After acquiring the data, I send the matrix to the child window for it to plot. There is no compilation error.
    However when I try to plot the data, Windows complained about Acess violation and Memory cannot be accessed error.
    I'd attached my program below.
    Attachments:
    DataAcqDlg.cpp ‏10 KB
    Ch1Dlg.cpp ‏7 KB

    Wynn:
    I believe this problem is occurring because you are using the index operator (brackets "[","]") instead of the functional call operator (parentheses "(",")") in your code to access the matrix.
    SigCh1Vect[i] = SigCh1Max[1,i];
    The index operator is not defined for the matrix, because the C++ language does not allow a two-argument overload of this operator. Instead you have to use the function call operator for matrices and remember to use the index operator for vectors.
    I believe that what is happening is that the compiler is using one of the defined cast operators on the matrix (operator DataType) to convert the symbol "SigCh1Max" into a double pointer. It then interprets the bracket as it would any array index operation. So the compile
    r effectively sees:
    SigCh1Vect[i] = *(((Real64*)SigCh1Max) + (1,i));
    In this case, I believe the comma operator is defined to return the rightmost operand, or "i". Changing your code to
    SigCh1Vect[i] = SigCh1Max(1,i);
    should fix the problem. Please let me know if any issues exist after this fix.
    In the next release of Measurement Studio, I will recommend that the index operator be defined on the matrix classes, even if it simply throws an exception. The existence of this operator will prevent problems like this from showing up.
    Hope this helps,
    -- Chris W.
    Measurement Studio R&D
    National Instruments

  • Calling a Function in the Parent Window from the Child Window

    QUESTION: How do I call a function resident in the parent
    window from a child window?
    BACKGROUND
    I have a JavaScript function resident in the parent window
    that reformats information obtained from the Date object and writes
    the result to the parent window using the document.write( ) method.
    I would like to call this function from the child window and have
    it write to the child window instead. Is this possible? If not,
    must I rewrite the entire function and nest it in the below code?
    If so, what is the proper form of nesting?
    CODE: The code that creates and fills the child window is
    provided below. The highlighted area indicates where I would like
    to enter the information from the function resident in the parent
    window. I have tried every imaginable permutation of code that I
    can imagine and nearly destroyed my parent document in the process.
    I am very happy that I had a back-up copy!
    function openCitationWindow() {
    ciDow = window.open("", "", "width=450, height=175, top=300,
    left=300");
    ciDow.document.write("A proper way to cite a passage of text
    on this page:<br /><br />Stegemann, R. A. 2000.
    <cite>Imagine: Bridging a Historical Gap</cite>. " +
    document.title + ". [<a href='" + location.href + "'
    target='_blank'>online book</a>] &lt;" + location.href
    + "&gt; (");
    MISSING CODE;
    ciDow.document.write(").<br /><br /><input
    type='button' value='Close Window' onclick='window.close()'>");
    ciDow.focus();

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • Calling a function in child window from parent window

    Hi,
    How can I call a method in child window from parent window in adobe air using javascript. In the following example I need to call mytest() function in
    child.html from parent.html file.
    Thanks,
    ASM
    //parent.html
    <HTML><HEAD>
    <script>
    var initOptions = new air.NativeWindowInitOptions();
    initOptions.type = air.NativeWindowType.NORMAL;
    initOptions.systemChrome = air.NativeWindowSystemChrome.STANDARD;
    var bounds = new air.Rectangle(300, 300, 600, 500);
    var html2 = air.HTMLLoader.createRootWindow(false, initOptions, false, bounds);
    var urlReq2 = new air.URLRequest("child.html");
    html2.load(urlReq2);
    html2.stage.nativeWindow.activate();
    html2.window.mytest();       //NOT WORKING
    </script>
    </HEAD><body></body></HTML> 
    // child.html
    <HTML><HEAD>
    <script>
    function mytest()
      air.trace("in child window");
    </script>
    </HEAD> <body></body></HTML>

    I suspect your problem is that the child window hasn't been created by the time you call the function in the parent.Loading the content is an asynchronous processes -- AIR doesn't stop executing your code until the window has finished loading child.html. So, you will need to add an eventlistener to html2 and call the function from there:
    html2.addEventListener( "complete", onChildLoaded );
    function onChildLoaded( event )
         html2.window.mytest();

  • How to parse parameter from child window to parent window in JSP

    I have two JSP i.e. course1.jsp and course2.jsp. I would want to find out how I could parse the parameter/value from child window to the parent window when the child window get closed.
    What I am trying to do is actually a file upload process. The child windows will open for user to upload the file, and when close, the file name will be parse into the parent form for database update. Is this something possible at all? or is there any other better approaches.
    Thank you.
    These are the two files:
    --------course1.jsp ------------
    Attach File <p>
    <FORM name="courseForm" action="course2.jsp" method="post" enctype="multipart/form-data">
    <TABLE cellSpacing=1 cellPadding=3 border=0 WIDTH=500>
    <TR >
    <TD>
    <input type="text" NAME="f_file_name" size="30" VALUE="this value should be taken from child windows">
    get file name
    <p>
         <INPUT class="buttons" TYPE="submit" NAME="submit" VALUE="Submit">
    </TD>
    </TR>
    </TABLE>
    </FORM>
    ---- course2.jsp -------
    <%
    String filename = "this is the string needs to go back to parent windows when I click on close";
    %>
    <p>
    close

    In course2.jsp, you have to write some javascript code to reload the parent window document to reload the document with an added parameter. But, instead of doing this, you can also do simple thing; in course2.jsp, you can reference course1.jsp controls via javascript object, "parent". On closing event of course2, you can write:
    parent.courseForm.f_file_name.text = '<%=filename%>' ;
    window.close() ;
    But for this to work, you must open your course2.jsp document thru window.open() function instead of simple hyper link (as you did thru ).
    So, modify the hyperlink line like below:
    get file name
    Hope it helps.

  • Problem in Passing the value from child window to Parent window.

    Hi Frenz,
    I have a requirement like this. i have to pass a value from child window to parent window to one test field. That text field is not a normal text field.
    It was created like the following as SQL query.
    select
    ''LNo,
    apex_item.text(25,'',0,15,
    'style="width:100px;" onblur="javascript:showUpsell(this.value);" onkeypress="javascript:validateKeyPress(event,this.value,this.id);" onkeyup="javascript:this.value=this.value.toUpperCase();" id="P37_ITEMNO"') ItemNo
    Now i want to pass a value to the Item no from child window.
    i wrote the java script like this,
    opener.document.forms[0].f25.value="100";
    It was not working..Any suggestions for that..
    Thanks in advance

    Dear Baaju,
    How do you redirect your control from Child to Parent window.
    If you use a button to do this, then you can set this value in the branching of page.
    Rana

  • How to pass a data from child window to parent window

    Hi,
    I have a jsp page with two hidden fields and a button, On clicking the button a popup will come out. There are two combobox in the popup and a search button. After putting a value in the comboboxes,if I click the search button, I need the datas of the combobox to pass to the parent's hidden fields then I need to do a data base search with that values of hidden fields and display the result in the parent page.
    I could I solve this problem, Please help, Its urgent.
    Thanks and Regards
    Rajib Sharma

    I think that you can use the JavaScipt as follow to pass a data from child window to parent window
    <HEAD>
    <script>
    function passData(){
    opener.form1.test1.value=form2.test2.value; //pass the value of test2 to the parent's test1
    window.close();
    </script>
    </HEAD>
    <BODY>
    <form name=form2>
    <input name=test2 type=text>
    <input type=button onclick="passData()" value=CLOSE>
    </form>
    </BODY>

Maybe you are looking for

  • Syncing dual boot data: SL and Mavericks?

    Hello Happy New Year to Us All! I am wondering what to do to best keep user data between SL and Mavericks synced?  I have an old Macbook Pro with Snow Leopard and I want to dual boot SL and Mavericks. My computer is an 8 gb RAM mid '09 15" Macbookk P

  • A/r down payment request/invoice

    Hi Can anybody give a link for Documentation Resource Centre, on a/r down payment request/invoice in sap 2007 B Thanks

  • Photos using mass amounts of hard drive and duplicates

    Hello I am helping my friend organizing her iPhoto Library. I do not use iPhoto for myself so I am not familiar with it too much. I organize my photos using Bridge and keep them on my external drive. My friend takes a lot of photos and organizes them

  • Convert DVD HD Project to DVD SP (clarification)

    I am aware that the subject of this post has been addressed elsewhere in the various forums numerous times; for those who are searching for the answer and come upon this post first, here is a summary of my understanding of things to avoid further sea

  • Problems with Lightroom 5.2 and Photoshop CS5. Please help!

    I recently bought Lightroom 5; and now edit my raws initially in Lightroom. Once edited I export them as JPGs. Then I usually also open them as the JPGs in Photoshop CS5. Once opened there is noticeably more grain in each photo which is creating havo