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

};

Tags: Photoshop

Similar Questions

  • When I have two open browser windows, the first with several tabs, the second a window from a link (if one tab), and close the second window, I Quit Firefox message, ' do you want to save the tabs...?

    This was happening with FF 3 before moving on to 4 and not going on with FF4.0 until the 4.0.1 update has been applied, the first time, he ran. Same problem on another computer running FF3, so maybe a related problem of the extension.

    If I have three windows open and close the third, I don't get it. Only when two are open and one is closed. I could have three, close one, then the second and get the prompt.

    Non-disabled extensions
    Adblock more
    BugMeNot
    Cooliris
    Download Statusbar
    DownloadHelper
    DowntThemAll!
    FireGestures
    HTML5 Extension for Windows Media Player
    HTTPS everywhere
    Java Console
    Download the PDF
    Session manager
    TinEye Reverse Image Search
    YouTube how Snob

    People with disabilities

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Lightbox Widget composition: Close the second button?

    Hello.

    I'm duty besides the close button in the widget the ability for the user to click on a sentence in the text from the popup menu.

    As I saw in this video from Dani Beaumont. Self-generating Lightbox - YouTube

    She said, that the user can use the close button, or click on this sentence: continue to site or simply click here to close the overlay...

    I can't find a way to do this.

    Here, someone who can help me?

    Thank you.

    Markus

    There is no 'second' close button, as you suppose, this is the close button!

    You can configure the close button, just as you like. You can write to it, you can remove the text box it contains, or place an image in there or fill it in an image. You see: very simple!

  • remaining in close work % 3F round table

    I'm a bit complicated on narrow Panel? event.

    I want to clean some work are remained in consumer rountine that linked by queue.

    When I use the following code, the breakpoint cannot be controlled in highlight mode and has not kept information in a file.

    Can you recommend how to make the exit function when a user pressed the button close panel?

    Always throw the event and close the Panel after the case of output is processed.

  • < af:panelSplitter >, the second panel is not displayed on the page

    I have a page by its name "Page1.jsff" which has a sign inside < af:panelSplitter >. The first Panel is displayed on the page when I deploy the application. The second round table is not displayed.

    When I check the page in the browser using the Firebug, I see that the Panel is located on the page but not displayed.

    Please let me know where I have to change in order to make the second panel displayed on the page.

    NOTE: The "Page1.jsff" is a view in a taskflow activity and is added to a page as a region under the Toilet.

    The "Page1.jsff" source code is as mentioned below

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < jsp:root xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    xmlns:f = "http://java.sun.com/jsf/core" >
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_page1-->
    < af:panelSplitter binding = "#{backingBeanScope.backing_page1.ps1}" id = "ps1" > "
    < f: facet = 'first' name >
    < af:panelGroupLayout binding = "#{backingBeanScope.backing_page1.pgl1} '"
    ID = "pgl1" >
    < af:outputText value = "Hello #{securityContext.userName}".
    Binding = "#{backingBeanScope.backing_page1." OT1}.
    ID = "ot1" / >
    < af:commandButton text = "gotoPage2Button."
    Binding = "#{backingBeanScope.backing_page1." CB1}.
    ID = "cb1" action = "gotoPage2" / >
    < af:commandButton text = "checkNameAndPage2."
    Binding = "#{backingBeanScope.backing_page1." CB2}.
    ID = "cb2" action = 'checkName' / >
    < af:commandButton text = 'displayUserName.
    Binding = "#{backingBeanScope.backing_page1." CB3}.
    ID = "cb3" partialSubmit = "true".
    action="#{backingBeanScope.backing_page1.setUserNameMethod}"/ >
    < / af:panelGroupLayout >
    < / f: facet >
    < f: facet 'second' = name >
    < af:panelGroupLayout
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich".
    Binding = "#{backingBeanScope.backing_page1.pgl2} '"
    ID = "pgl2" layout = "scroll" >
    < af:outputText value = "#{requestScope.customUserName} '"
    Binding = "#{backingBeanScope.backing_page1." OT2}"id ="ot2 ".
    partialTriggers = "cb3" / >
    < af:outputText value = 'second group '.
    Binding = "#{backingBeanScope.backing_page1." OT3}.
    ID = "ot3" / >
    < / af:panelGroupLayout >
    < / f: facet >
    < / af:panelSplitter >
    < / jsp:root >

    It has a memory effect and impact the performance also.
    And since it is not necessary for the auto bind components, why should I do?
    See http://tompeez.wordpress.com/2011/08/28/remove-automatic-component-bindings/ for more information.

    Timo

  • Master / detail. Third do level not updated, if the second tier is not returned

    We have three level model master / detail.

    The first and the second level is 1 to 1

    The second and third are 1 to *.

    The second level is just an empty container from now and should not be displayed to the user. But it takes to get the first level to the third level.

    If make us only the first and third level tabulated, the iterator behind the third level table is not correctly being updated, actions.

    If we make on the other hand, the second-level table, the iterator for the third level table IS updated, to action - such as changing the current line.

    We worked arround by 'hide' the second table level in a group separator collapsed. Is there another way to get arround this problem?

    Top-level iterator:

    < iterator lie = "First" RangeSize = '25'

    DataControl = "AMDataControl" id = "FirstIterator".

    ChangeEventPolicy = "ppr" / >

    Second level iterator:

    < iterator lie = "Second" RangeSize = '25'

    DataControl = "AMDataControl" id = "SecondIterator".

    ChangeEventPolicy = "ppr" / >

    Third level iterator:

    < iterator lie = "Third" RangeSize = '25'

    DataControl = "AMDataControl."

    ID = "Third" ChangeEventPolicy = "ppr" / > "

    Not sure, but maybe you can use custom (for the first table) table selectionListener, I you must refresh the second iterator of pageDef...

  • close the word table does not work

    I'm having trouble with the active x progrmaming with MS Word.  My VI simply runs through a directory and opens each word document and converts it to text and it accumulates in a table.  My problem is that MS word does not close each file after loading in each iteration.  What I am doing wrong?

    Use the method Close _Document as the last thing in the loop FOR (close the document of reference after). Also, you should get the collection of Documents only once BEFORE the loop FOR and close this thing first reference after the for loop. Before closing the _Application reference, you can use the Quit method to close Word and then close the _Application reference.

    Ben64

  • How to get the second clue high table max and min

    Hello

    I need help to find the second clue to the data table, how can I do?

    Secure with the extract of vi.

    Thank you and best regards,

    Simon

    You forgot to make the comparison to see where the 2nd most high index has declined compared to the highest.

    You only add 1 if the 2nd above comes after the highest.  You added 1 regardless of the position.

  • can I move all functions to another monitor and still close the laptop without turning off the second monitor on a laptop

    can I move all functions to another monitor and still close the laptop without turning off the second monitor on a laptop

    You define 'Action close lid' to the 'status quo' instead of sleep or Shut down:
    Go to-> double click "Power Options" Control Panel-> 'Select a power plan' under your selected plan, click "Change plan settings"-> "Change plan", click on the blue link 'Change advanced power'-> in 'Advanced settings' tab expand "power buttons and lid"-> extend the action of the 'close' lid, set "on battery" and "Plugged in" to "Do nothing"-> click apply-> OK button

    Multiple monitors: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/multiple-monitors-frequently-asked-questions

    Set up multiple monitors
    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-multiple-monitors

    Move windows between multiple monitors
    http://Windows.Microsoft.com/en-us/Windows-Vista/move-Windows-between-multiple-monitors

    Understanding multiple monitors
    http://Windows.Microsoft.com/en-us/Windows-Vista/understanding-multiple-monitors

  • I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    Mr President.

    I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    formdoubletables.png

    the page source is

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:group id="Group">
          <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}"
                        required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId.hints.precision}"
                        shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1">
            <f:validator binding="#{bindings.VoucherId.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/>
          </af:inputText>
          <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}"
                        required="#{bindings.VoucherDate.hints.mandatory}"
                        columns="#{bindings.VoucherDate.hints.displayWidth}"
                        shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1">
            <f:validator binding="#{bindings.VoucherDate.validator}"/>
            <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/>
          </af:inputDate>
          <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}"
                        required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}"
                        maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}"
                        id="it2">
            <f:validator binding="#{bindings.Credit.validator}"/>
          </af:inputText>
        </af:group>
        <af:group id="g1">
          <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}"
                        required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}"
                        maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}"
                        id="it3">
            <f:validator binding="#{bindings.Lineitem.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}"
                        required="#{bindings.VoucherId1.hints.mandatory}"
                        columns="#{bindings.VoucherId1.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId1.hints.precision}"
                        shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4">
            <f:validator binding="#{bindings.VoucherId1.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}"
                        required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}"
                        maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}"
                        id="it5">
            <f:validator binding="#{bindings.Debit.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}"
                        required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}"
                        maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}"
                        id="it6">
            <f:validator binding="#{bindings.Credit1.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}"
                        required="#{bindings.Particulars.hints.mandatory}"
                        columns="#{bindings.Particulars.hints.displayWidth}"
                        maximumLength="#{bindings.Particulars.hints.precision}"
                        shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7">
            <f:validator binding="#{bindings.Particulars.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}"
                        required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}"
                        maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}"
                        id="it8">
            <f:validator binding="#{bindings.Amount.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/>
          </af:inputText>
        </af:group>
        <f:facet name="footer">
          <af:button text="Submit" id="b1"/>
          <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                     disabled="#{!bindings.CreateInsert.enabled}" id="b2"/>     
          <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}"
                     id="b3"/>
          <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}"
                     immediate="true" id="b4">
            <af:resetActionListener/>
          </af:button>
        </f:facet>
      </af:panelFormLayout>
    </ui:composition>
    
    
    
    

    Concerning

    Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.

    See you soon

    AJ

  • SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.

    SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.

    Hello

    You can use REGEXP_SUBSTR Oracle/PLSQL: REGEXP_SUBSTR function

    Select the function double REGEXP_SUBSTR('PUBLIC RELATION REPRESENTATIVE ','[^]+',1,2);

    Do you have any value of the column as no 2nd string?

  • FETCH ONE RECORD IN THE SECOND TABLE OF CORRELATED SUB QUERY

    Hi all

    I have provided the script below, I want to single fecth record in the second table in the join query,

    based on the example below, I want to go get one record of the table emp2 what matches with the emp_id of table emp1, please note emp2 may contain more record for the emp_id emp1 which respects

    all records can be selected in the table emp2.

    DROP TABLE emp1.

    CREATE TABLE emp1 (emp_id NUMBER);

    INSERT INTO emp1 VALUES (1);

    INSERT INTO emp1 VALUES (2);

    COMMIT;

    DROP TABLE emp2.

    CREATE TABLE emp2 (emp_id NUMBER, emp_name VARCHAR2 (100));

    INSERT INTO emp2 VALUES (1, 'Name1');

    INSERT INTO emp2 VALUES (2, 'Name2');

    INSERT INTO emp2 VALUES (1, 'Name3');

    INSERT INTO emp2 VALUES (2, 'Conjoint4');

    COMMIT;

    SELECT * from emp1.

    SELECT * from emp2.

    SELECT T1. EMP_ID, MIN (T2. EMP_NAME)

    FROM EMP1, EMP2 T2 T1

    WHERE T1. EMP_ID = T2. EMP_ID

    GROUP T1. EMP_ID;

    My output should be the same as the result set of query above, but I don't want this logic, please provide the solution by using a different logic, thanks in advance.

    2811876 wrote:

    Thanks for your comments :-)

    My business logic will change to 'Fetch N second timeline table', that's the reason why I asked for a different approach, if I use max, min to achieve this does not allow me to evolve dynamically.

    Although logic has not been expressed at all in your original question, so good job I asked.

    You could do something like:

    SQL > ed
    A written file afiedt.buf

    1 with emp1 (select 1 as the emp_id of union double all the)
    2. Select 2 double
    3               )
    4, emp2 (select 1 as emp_id, 'name 1' as emp_name double union all
    5. Select "name 2' Union double every 2
    6 select 1, 'name' 3' from dual union all
    7. Select 2, 'name 4' double union all.
    8 select 1, 'name 5' from dual union all '.
    9 select 2, 'name 6' from dual '.
    10               )
    11-
    12. end of test data
    13-
    14 select emp_id, emp_name
    15 of)
    16 select t1.emp_id, t2.emp_name
    17, row_number() over (partition by order of t2.emp_name t1.emp_id) rn
    emp1 t1 18
    19 join t2 emp2 (t1.emp_id = t2.emp_id)
    20       )
    21 * where rn<=>
    SQL > /.

    Enter the value for rows_required: 1
    21 Alumni: where rn<=>
    21 news: where rn<=>

    EMP_ID EMP_NA
    ---------- ------
    1 name 1
    2 name 2

    SQL > /.
    Enter the value for rows_required: 2
    21 Alumni: where rn<=>
    21 news: where rn<=>

    EMP_ID EMP_NA
    ---------- ------
    1 name 1
    1 name 3
    2 name 2
    2 name 4

  • Try to get a collection of frames of texts related with the second table in my document

    Hi all

    There are two long tables in my document, and I want to do is to get the collection of blocks of text that contain the second table to resize (single height),

    and set the number of columns to 3 columns and column gutter to 0, but I am unable to get the collection of blocks of text that contains the second table.

    I also want to apply a different master page to the pages that contain the second table.

    I know that I can change my number of columns and the gutter using script below, but the thing is I don't want the script to assign my first table,

    and I can not also put the tables in separate the file because there are cross-references.

    Script to change the gutter and the number of columns

    app.findObjectPreferences.textColumnCount = 1;

    app.changeObjectPreferences.textColumnCount = 3;

    App.Documents.Item (0) .changeObject ();

    app.findObjectPreferences.textColumnGutter! = 0 ;

    app.changeObjectPreferences.textColumnGutter = 0;

    App.Documents.Item (0) .changeObject ();

    I'm new to javascript and I searched for solutions for several days, but still can not find how to get it work.

    Any input will be appreciated!

    V

    I think that's what you want.

    var doc, secondTable, secondTableTextCotainers = [], ps, firstFrame, lastFrame, nextFrame;
    doc = app.properties.activeDocument;
    if (!doc) {
        alert("Jerk");
        exit();
    };
    app.findTextPreferences = null;
    app.findTextPreferences.findWhat = "\x16";
    var tables = doc.findText(false);
    if (tables.length > 1) secondTable = tables[1];
    else exit();
    lastFrame = secondTable.parent.insertionPoints[secondTable.index + 1].parentTextFrames[0];
    firstFrame = secondTable.parentTextFrames[0];
    secondTableTextCotainers.push(firstFrame);
    if (lastFrame != firstFrame) {
        nextFrame = firstFrame;
        while (nextFrame = nextFrame.nextTextFrame) {
            secondTableTextCotainers.push(nextFrame);
            if (nextFrame == lastFrame) break;
        }
    }
    var l = secondTableTextCotainers.length;
    // You might want to change this line
    while (l--) secondTableTextCotainers[l].fillColor = "Yellow";
    
  • Whenever I open a creative cloud application adobe (such as Photoshop, Flash, AfterEffects etc.) it takes so long to open, and then after a few seconds, it freezes and I have to close the application ("force quit"). What happens here? Th

    Whenever I open a creative cloud application adobe (such as Photoshop, Flash, AfterEffects etc.) it takes so long to open, and then after a few seconds, it freezes and I have to close the application ("force quit"). What happens here? Thank you

    If it's all programs of cc,

    Uninstall (properly using the uninstall programs) all cc

    clean through the use of the Adobe Creative Cloud cleaning tool to solve installation problems

    Restart your computer

    Reinstall the cc desktop application, https://creative.adobe.com/products/creative-cloud and use the app to install your programs of cc.

    If it's only some programs of cc who are broken, reset their preferences-

    Acrobat: https://forums.adobe.com/thread/1595848?start=0&tstart=0

    Adobe media encoder: https://forums.adobe.com/thread/1713540

    Legacy: http://helpx.adobe.com/after-effects/using/preferences.html

    hearing: https://forums.adobe.com/thread/1079494

    Bridge: https://helpx.adobe.com/bridge/kb/troubleshoot-errors-freezes-bridge-windows.html

    Dreamweaver: https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs6-cc.html

    Flash: http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html

    Illustrator: http://helpx.adobe.com/illustrator/using/setting-preferences.html

    InCopy: https://forums.adobe.com/thread/526990

    InDesign: https://forums.adobe.com/thread/526990

    Lightroom: https://helpx.adobe.com/lightroom/help/setting-preferences-lightroom.html

    Muse (mac): https://forums.adobe.com/thread/1246022?tstart=0

    Photoshop: https://forums.adobe.com/thread/375776

    Photoshop elements: https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html, http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm

    elements of first: https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html

    First pro: http://www.mediacollege.com/adobe/premiere/pro/troubleshooter/trash-preferences.html

  • Help!  I'm stuck.  No, not the child into the well.  I took a picture and put a second layer top with a rounded rectangle to make a frame.  My problem is that I need to find a way to hide the small box outside the box on the second layer.  Thanks to

    Help!  I'm stuck.  No, not the child into the well.  I took a picture and put a second layer top with a rounded rectangle to make a frame.  My problem is that I need to find a way to hide the small box outside the box on the second layer.  Thanks to all those who can help you.

    Another option is to put the Options bar of the Rectangle rounded to the path tool

    Trash bolt for the background layer, hold down the Cmd key and click on the symbol of the new layer to layer below the image to white. Then edit > fill with white.

    Return the image layer and draw the image as a path

    Click the load as a selection path in the Panel traced

    Edit > stroke and stroke with color

    Select > Inverse > delete

Maybe you are looking for