two two signs calling even third round table

Hi there, I'm designing a new application.  I have two main panels, each displayed on a single PC monitor.  I have a third panel that displays detailed data common to both of the first two panels.  This third panel is a Panel, such that it must submit its fields updated in the Panel of the appellant.

I prefer open this same third panel from the first two panels.  But to do this, I need to know which of the two panels opened the third.

How would I go to do this withouth making a global variable?  This would be a case of use callbackData?  If so, I'm not clear how to on this subject.

Hi ElectroLund,

I see a problem in your code.

In the reminder of the appellant, you set the callbackData Panel.

This means that, in a reminder of command, you should retrieve this value, which is different from the callbackData command you receive in the callback. To recover the callbackData Panel you must do something like this (I have no installation CVI for now to test):

void  *cbkd;

GetPanelAttribute (panel, ATTR_CALLBACK_DATA, &cbkd);
if (cbkd) {
  // The panel has some callbackData installed
}
else {
  // No callbackData installed on the panel
}

Finally, comparing callbackData value (that you set for a simple '1') of PANEL_1, which I assume is a name of constant sign is not good: PANEL_1 can be equal to '1' by accident and this can change if you change the order of z-plan of the panels.

Tags: NI Software

Similar Questions

  • Skype opens apparently two outgoing calls at once

    It's on Fedora 17 for the moment, but if I make a call (even the Skype test call), Skype seems to put in place two (or more) calls with on a three second delay between them. So audio is intercalated between calls and it sounds terrible.

    Has anyone else seen elsewhere? If so, how can I get it to work properly. 17 64 - bit Fedora using XFCE, Skype 4.2.0.11.

    Rick

    After reading the other posts, I had a ' yum reinstall alsa-lib * ', so stop Skype and rebooted. And the problem is solved!

    It's a little scary as to why it was fixed, but I'm OK at this point.

  • Why do I receive two sign ons powered?

    Why is two sign ons when coming under tension on my IMac? Guest user just started coming? It's an update?

    Guest user is a special user account that you can leave a comment to use. The history of the user (for example the browser history) is deleted when they log out. You can turn off the pane of preferences users and groups.

    It is very useful if you want people to use your computer, but you don't want to mess up your stuff or see private information.

  • Two sign ins on computers

    Hello

    Recently, we have created two sign ins on computers.

    How can I access all my old wp files located in other directories of people.

    JO

    11/13/2010 05:41, josmith4163 wrote:

    Hello

    Recently, we have created two sign ins on computers.

    How can I access all my old wp files located in other people
    directories.

    How to capture a file or a folder in Windows XP
    http://support.Microsoft.com/kb/308421

    John

  • Retrieve two values of column in a table

    Hi I want to retrieve two values of column in a table and store the values as a single column value in another table... How to do with it?

    Use in this way:
    Insert in tab2 (col1) select col1 | col2 from tab1;

  • Visual Basic - How to Center a round table on a form?

    Hello, I'm trying to focus a round table on a form.  How can I do?  I did experiment with it, but nothing worked.  :(

    Hello

    Assuming that your group name is Panel1

    Try this please. >>

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Panel1.location = new Point ((Me.Width-Panel1.Width)-2, (Me.Height - Panel1.Height)-2)

    End Sub
    End Class

    '
    For VB.Net other questions please use the forums here. >>
    http://social.msdn.Microsoft.com/forums/en-us/category/VisualBasic

  • Close the second round table

    Thanks to this forum, I learned a lot lately

    Now, I have this little problem that I can not rosolvere:

    I created a panel that opens another Panel

    The problem is that if I want to close the second panel with the close button which does not close

    to close the second Panel, I have to click x at the top of the page sx mac

    How can I do to close the Panel by clicking directly on the end?

    round table 1

    var win = new window ("palette", "GROUP1");

    win.cancelOk = win.add ("panel", [10,495,300,540], "");

    win.cancelOk.buildBtn = win.cancelOk.add ('button', [10,10,180,35], ' OPEN the PANEL 2', {name: 'ok'} ");

    win.closeButton = win.cancelOk.add ("button", [190,10,280,35], "FARM");

    ////////////////////////////////////////////start panel 2//////////////////////////////////////////

    win.cancelOk.buildBtn.onClick = function () {}

    var win = new window ("palette", 'GROUP 2');

    Win.cancel2Ok = win.add ("panel", [10,495,300,540], "");

    win.cancelOk.buildBtn = win.cancelOk.add ('button', [10,10,180,35], ' OPEN the PANEL 2', {name: 'ok'} ");

    win.closeButton = win.cancel2Ok.add ("button", [10,10,280,35], "FARM");

    win.onDeactivate = function() {}

    Win.Update ();

    };

    var closeWin = false;

    win.closeButton.onClick = function() {}

    closeWin = true;

    w.Close ();

    };

    win.onClose = function() {}

    closeWin = true;

    };

    Win.Show ();

    while(closeWin == false) {}

    App.Refresh ();

    };

    }

    ////////////////////////////////////////////finish panel 2//////////////////////////////////////////

    finisch Panel 1

    win.onDeactivate = function() {}

    Win.Update ();

    };

    var closeWin = false;

    win.closeButton.onClick = function() {}

    closeWin = true;

    w.Close ();

    };

    win.onClose = function() {}

    closeWin = true;

    };

    Win.Show ();

    while(closeWin == false) {}

    App.Refresh ();

    };

    It works for me, except that you had an error in the script:

    win.closeButton.onClick = function() {}

    closeWin = true;

    w.Close ();

    };

    Should read:

    win.closeButton.onClick = function() {}

    closeWin = true;

    Win.Close (); fixed here

    };

  • Hello! I do a menu print of tarp for a round table, I did this from ms word since I have no idea where can we make a semicircle menu upside. My problem is that it has a very low resolution, please help me how to print possibly with 3' table

    Hello! I do a menu print of tarp for a round table, I did this from ms word since I have no idea where can we make a semicircle menu upside. My problem is that it has a very low resolution, please help me how to print possibly with 3' round table. Thank you

    Oh dear.  It turned into a terrible mess of a thread with opinions and advice.    You do your layout with Word.  In my experience, Word is a nightmare when it comes to positioning many areas of text and images.

    You shouldn't have changed the Word document in a JPG file, because the text all which perfectly progressive, which would be printed to "all" size without loss of image quality, then became an image file.  But if you "had" to make it a JPG, just about the worst possible way to do this is with the Snipping Tool, because the resulting image would have only the resolution of your computer screen.  Dows following?

    How big are the pictures you used in Word?  They probably didn't need to be very large, because each image is only an impression at a relatively small size.

    First thing to try is to open the Word Document and save in PDF format using the Standard option (after you select Save as PDF

    It will keep the text in the form of scalable vector objects which allows printing at any size.  However, I don't have the knowledge of how Word uses images.  I just did a little test, and while I could zoom in to see in the text, I'm not sure that the same is true of the images.  Depends on word refers to the image of the player, or he brings as an object of frame size, and I suspect it's the latter.  You need to do some research on it, because it might make you save a lot of time.

    You have Publisher?  Editor certainly reference the drive images, and friezer downsize to fit the page.  I suspect that you can import a Word into Publisher document, which would put you best part of the way with it.  I would like to test it, but I use it as a loyal user of Adobe InDesign.   If you are forced to restart, then editor or InDesign would be lot better, but it's doable with Photohop.  Just make sure that you start with enough pixels, which means 36 inches at 300 dpi or 10 000 square pixels.  When did save as PDF using the preset high quality printing, and ask your color printer (probably just use sRGB)

    Good luck

  • Select at least 1 rank, even if the table is empty

    Hi all

    I've got table t1:
    with t1 as (
    select 1 as column1, 't' as column2 from dual
    )
    select * from t1 
    My need is to select at least 1 rank, even if the table is empty, for example:
    with t1 as (
    select 1 as column1, 't' as column2 from dual
    )
    select * from t1 where rownum = 0
    union all 
    select 0 as column1, '' as column2 from dual
    The problem is that I don't know the amount of columns and its data type. How can I make a dynamic query based on the current structure of table t1?

    Hello

    This looks like a job for an outer join:

    SELECT  t1.*
    FROM            dual
    LEFT OUTER JOIN t1    ON  1 = 1
    ;
    

    Because it is not reference individual columns from t1, you do not need to know what are the columns it, or what their data types.

  • The two problems with sub form of table, associated with check boxes

    Hi all -
    Jari already helped me thereby once last week, but I'm running into some new questions.

    http://Apex.Oracle.com/i/index.html
    workspace: Leppard
    username: Guest
    PW: app_1000
    Application: MyTestApp

    Maybe I need to split these into two questions, if so just let me know.

    Question 1: On the first tab (tab 1 report) I have a simple tabular presentation based on the EMP table. The column of the box on the far right, when checked restores the Ename column readonly. The problem is that it only works one way. Unchecking the checkbox is not cancel the read-only.

    It is javascript code that I have on the page:
    function test(pThis) {
     //get the current row index on change
     var currIndex = $('input[name="'+pThis.name+'"]').index(pThis);
    
     // check current items value (return value of lov)
     if (pThis.value=='Y') {
      $('input[name="f02"]')[currIndex].style.backgroundColor = "LightGrey";
      $('input[name="f02"]')[currIndex].readOnly=true;
    }
    else if (pThis.value=='N') {
      $('input[name="f02"]')[currIndex].style.backgroundColor = "Red";
      $('input[name="f02"]')[currIndex].readOnly=false;
    }
    }
    The attribute of the element on the checkbox column is
    onClick="javascript:test(this);" 
    (It seems to work although I use onClick or onChange so I don't know if that makes a difference).

    But the main problem is that the code does not recognize the value of "n" in the column. I checked with firebug and columns I have untick are definitely on 'n', but I can't get javascript code to recognize this value. Even if I take the "ElseIf" code and just change the first part to (pThis.value ==' no) still does not work. There seems to be something with the value "n" recognize themselves do not, but I can not understand.

    Question 2: on the second tab - tab report 2. The same report but this time, I use a javascript character counter similar to that described in the sample application of the Dene (page 276 > http://apex.oracle.com/pls/otn/f?p=31517:276:19207673535900:NO). The counter of characters on the Ename field include javascript and an expression of HTML on the Ename column. The counter works fine, but now, the javascript code to make the column readonly work over all.

    Any ideas on these are much appreciated!

    Thanks in advance,
    John


    • Please please understand what HTML is generated and how to inspect. Once you do this, you can easily eliminate many problems with selectors not seeming to work. A text box is not an input for example element.
    • Boxes rely on the checked, not the value property. Apex circumvents this by creating a hidden extra element which will get the value based on the checked property of the visible checkbox
    • Do not use these horrible onchange and onclick attributes :( Use a dynamic action or jQuery to bind events.
    • Do not apply a style via javascript. Use CSS for this drive as with jQuery, you can easily add, remove, or toggle the classes too. And if you know jQuery selectors, you can understand css selectors because they are substantially the same.
    • I don't know why people insist on using rowIndex or substringing ID. I find it unnecessary and more complex that the alternative (crosses with jQuery)
    • The difficulty also in things into action through pagination. Running on just the visible page it of a trifle, but through paging requires more work than just check "fire on loading the page" is not enough. I'm sure you'd want your ENAME either red or gray column and readonly as soon as the page is loaded, and not when you start typing in the box...

    Form 1 tab: copied to Page 12 and made my changes here:_


    • OnChange on ENAME. This removed. No idea why you would need it there seems a crutch for not having the field in the desired state when the page is loaded.
    • OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
    • Dynamic action "checkbox: ENAME readonly value."

      • Event: After refresh
      • Selection type: region
      • Region: Form of tab 1
      • No condition
      • Scope of the event: static
      • Real Action

        • Run the JavaScript Code
        • Fire on loading the Page: YES
        • Code:

          //at page load and after each region refresh:
          //each: check all checkboxes and set readonly on ename accordingly
          //click: when the checkbox changes, change ename accordingly
          $("td[headers='CHECKBOX'] input[type='checkbox']:visible")
          .each(function(){checkReadonly(this);})
          .click(function(){checkReadonly(this);});
          



  • Page > function and global variables declaration

    function checkReadonly(pCheck){
       var lCheck = $(pCheck);
       lCheck.closest("tr")
       .find("td[headers='ENAME'] input:visible").each(function(){
          $(this).prop("readonly", lCheck.prop("checked"));
       });
    };
    

  • Page > CSS Inline

    td[headers='ENAME'] input{
    background-color: red;
    }
    td[headers='ENAME'] input[readonly]{
    background-color: lightgrey;
    }
    

    CSS works so much better for this than the application of style through js...

  • Form 2 tab: copied to Page 13 and made my changes here:_


    • OnChange on ENAME. This removed. No idea why you would need this.
    • OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
    • Dynamic action: identical to page 12, just modified trigger area
    • Changed input to TEXTAREA when it is required:
    • Page > function and global variables declaration

      function checkReadonly(pCheck){
         var lCheck = $(pCheck);
         lCheck.closest("tr")
         .find("td[headers='ENAME'] textarea:visible").each(function(){
            $(this).prop("readonly", lCheck.prop("checked"));
         });
      };
      

    • Page > CSS Inline

      td[headers='ENAME'] textarea{
      background-color: red;
      }
      td[headers='ENAME'] textarea[readonly]{
      background-color: lightgrey;
      }
      

    • The f_set_counter function, I changed a bit: there are 2 straps too, put a semicolon at the end of each line.
      -Change $x (node) .value $s (node, value) and $v (node)
      -changed $x (node) .innerHTML to $(node) .text)
      I know: it worked. I like this better. OCD? :/

    function f_set_counter(pThis,pLength,pMaxLength,pReset)
    {
       if (pLength>pMaxLength){
          alert('The maximum length of '+pMaxLength+' exceeded.');
          $s(pReset, $v(pReset).substring(0,pMaxLength));
          $("#"+pThis).text(pMaxLength);
       }else{
          $("#"+pThis).text(pLength);
       };
    };
    

    Published by: Tom on February 15, 2013 12:48
    Made a mistake in the case of dynamic action :->, click after refresh!

  • Two reports call "f01".

    HY everybody,

    I need help on the APEX...
    I got a page with two SQL reports on two different tables. Each of this report, I learned a box generated with
    APEX_ITEM. CHECKBOX(1,NIV_NUM_INT,'UNCHECKED')

    The two reports are the details of my master record and are on the same page.
    My problem is that my dear APEX called the two block boxes "f01".
    I tried to disable the boxes called "f01" like this:

    for + (j = 0 ++; + j < document.wwv_flow.f01.length; j+ +) {+
    + document.wwv_flow. F01 [j]. Disabled + += + true;
    +}+

    And the result is that the two blocks are disabled.
    So, I am unable to save the checkboxes checked in my database...
    My question is, what could I to got two different names for the block of my ckeckbox?

    IE: V6.0 or V7.0
    Mozilla: version 3.0
    APEX: 3.0.1.00.08

    All these versions are required by the client, so I can not change it...

    PS: sorry for my English, I'm french and I'm doing my best!

    Thanks for you answers!

    I'm not sure what you need, but you write:

    "On each of the reports of this I had a checkbox control generated with.
    APEX_ITEM. CHECKBOX(1,NIV_NUM_INT,'UNCHECKED') ".

    In this topic you have a report:
    APEX_ITEM. CHECKBOX(1,NIV_NUM_INT,'UNCHECKED')
    treat this report as: APEX_APPLICATION. G_F01

    and on the other hand:
    APEX_ITEM. CHECKBOX(2,NIV_NUM_INT,'UNCHECKED')
    treat this report as: APEX_APPLICATION. G_F02

  • How to divide the C: drive into two partitions without a third-party program?

    Hello

    Is there a way to divide the C: drive into two partitions C: and D: on Windows XP without a third pary program?

    If anyone has an idea, please give some steps.

    Thank you.

    Assem

    Hey Assem,

    Once you have created a primary partition, it is not possible (for Windows XP) to divide the partition without using third-party software. You can see:http://support.microsoft.com/kb/309000 to create a new partition.

    I hope this helps...

  • Is it possible to join/merge two conference calls in MCU for one call in the same MCU

    Situation - endpoint is part of two meetings of MCU (with one call on hold).  I want to merge these two meetings to the MCU.  Is there a way.  MCU is 45xx series and this is a deployment of VCS - MCU.  Thanks in advance.

    No way to merge that I know, I've had similar scenarios and there is no automatic way to do it, the Conference, the participants will have to unplug one and join the other.  Multiway will not work because that is intended to the unique endpoints being transmitted to a MCU, no MCU is not lift themselves.

  • Two signs of order in my office made the fallen on my taskbar

    I have my office toolbar did the fallen on my taskbar. He was well at the beginning, but recently, I see two control panels in my Desktop Toolbar. I checked my desktop icons, there is not even a control panel (Just Me, computer, network, R Bin the usual stuff) the other questions in the community did not help either. Help me fix it please, it looks just ridiculous on my desk.

    Hi Laurent,.

    Functionality of the icons in the toolbar of Office Panel two control will vary with a small difference.

    The control panel with the arrow icon will help you navigate directly to the option available in its menu arrow. In which, normal Control Panel icon will open a window, it must double click on each item to browse to the desired option. There is no option to remove one of the item of Control Panel.
     
    Hope it clarifies your doubt. If you still have questions, please answer.

  • Cannot remove the two records at once in a table

    Hi all

    I have a version in the form of table, here I have a point of delete button where them remove those audited point tabular presentation.  If I have checked for two records continuously one after the other and press the button Delete, remove only the first record I checked only. Whereas, if I chose two records where both of them is not one after the other. Both will get supprim├⌐s.

    Start

    GO_BLOCK ('ACT_QT_TXN');

    PREMIER_ENREGISTREMENT;

    LOOP

    IF: ACT_QT_TXN. CHECK_BOX256 = 1 THEN

    delete_record;

    COMMIT_FORM;

    END IF;

    NEXT_RECORD;

    IF (: System.Last_Record = "TRUE") and: ACT_QT_TXN. CHECK_BOX256 = 1 THEN

    DELETE_RECORD;

    COMMIT_FORM;

    EXIT;

    ON THE OTHER

    IF (: System.Last_Record = 'TRUE') THEN

    EXIT;

    END IF;

    END IF;

    END LOOP;

    PREMIER_ENREGISTREMENT;

    execute_query (no_validate);

    end;

    Something wrong with my script above? Please help me. Thanks /.

    Kind regards

    Lim

    The problem is with Commit_form after every single deletion. What karim gave is smooth, but I like it this way-

    PREMIER_ENREGISTREMENT;

    DECLARE

    BEGIN
    LOOP

    WHEN THE OUTPUT: SYSTEM. RECORD_STATUS = "NEW";

    If: CHECK_BOX = 'Y' then

    delete_record;
    end if;
    NEXT_RECORD;

    END LOOP;

    COMMIT;

    PREMIER_ENREGISTREMENT;

    execute_query (no_validate);

    END;

    Concerning

    Bobin

Maybe you are looking for