Af:panelAccordion expand mouse click on lable

Hello
I tried different approaches to expand item of panelAccordion when clicking on it's label but no luck by now.
First I tried with clientListener on the <af:showDetailItem>
<af:panelAccordion ... >
<af:showDetailItem ... >
<af:clientListener method="test" type="dbClick" />
</af:showDetailItem>
</af:panelAccordion>
But the method is invoked when clicking inside the showDetailItem, not when clicking on the header (where the label is)
I tried with setting the clientListener as a direct child of panelAccordion
<af:panelAccordion ... >
<af:clientListener method="test" type="dbClick" />
<af:showDetailItem ... >
</af:showDetailItem>
</af:panelAccordion>
Now the test method is invoked on the right place, but as a source of the event I get the panelAccordeon itself - so I cannot figure out which detailItem's header was clicked
Any Ideas?
Thanks
Angel

Hi,
note that the functionality you are after is implemented in the next version of JDeveloper 11g that is scheduled to release this year. So if you can live for a few month with having to click the plus icon then the problem will solve itself without coding
Frank

Similar Messages

  • Mouse Clicked gets lost some times.

    Hello All,
    The scenario is that i have a tree and the doubleclick on the tree node openes a view with some information. Also the node has some childrens. Sometimes when i double click the node, the tree node gets expanded but my view does not get opened. This was due to mouseclicked does not arrive with click count as 2.
    In my code double click handling is done in the mouseclicked event. The code looks like
    public void mouseclicked(MouseEvent ev) {
    if(ev.getClickCount() == 2) {
    .......//Opens a view
    In some cases when i double click, mouse clicked is triggered only once with click count as one. But the mousepressed and mousereleased is triggered twice with clickcount 1 and 2 resp. I am not sure is this a valid behaviour. Please find below the traces of events.
    Mouse clicked getting lost trace:
    ========================
    Process Event : java.awt.event.MouseEvent[MOUSE_PRESSED,(129,482),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_RELEASED,(129,482),button=1,modifiers=Button1,clickCount=1] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_CLICKED,(129,482),button=1,modifiers=Button1,clickCount=1] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_PRESSED,(129,482),button=1,modifiers=Button1,extModifiers=Button1,clickCount=2] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_EXITED,(129,482),button=1,modifiers=Button1,extModifiers=Button1,clickCount=2] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_RELEASED,(129,482),button=1,modifiers=Button1,clickCount=2] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    When doubleClick Works:
    =====================
    Process Event : java.awt.event.MouseEvent[MOUSE_PRESSED,(125,530),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1] on san.sample.CfCimTree[,0,-90,259x828,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_RELEASED,(125,530),button=1,modifiers=Button1,clickCount=1] on san.sample.CfCimTree[,0,-90,259x828,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_CLICKED,(125,530),button=1,modifiers=Button1,clickCount=1] on san.sample.CfCimTree[,0,-90,259x828,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_PRESSED,(125,530),button=1,modifiers=Button1,extModifiers=Button1,clickCount=2] on san.sample.CfCimTree[,0,-90,259x828,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.ComponentEvent[COMPONENT_RESIZED (0,-90 259x846)] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_RELEASED,(125,530),button=1,modifiers=Button1,clickCount=2] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Process Event : java.awt.event.MouseEvent[MOUSE_CLICKED,(125,530),button=1,modifiers=Button1,clickCount=2] on san.sample.CfCimTree[,0,-90,259x846,alignmentX=0.0,alignmentY=0.0,border=,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=false,rowHeight=0,scrollsOnExpand=true,showsRootHandles=true,toggleClickCount=2,visibleRowCount=20]
    Can anybody help me out to figure out to find what is the problem?
    Thanks in advance
    Sanjeeth S

    I just checked mouseClicked.. and its working fine for me.
    tree.addMouseListener(new MouseListener(){
                   public void mouseClicked(MouseEvent e) {
                        // TODO Auto-generated method stub
                        if(e.getClickCount() == 2)
                             System.out.println("mouseClicked");
                   public void mouseEntered(MouseEvent e) {
                        // TODO Auto-generated method stub
                   public void mouseExited(MouseEvent e) {
                        // TODO Auto-generated method stub
                   public void mousePressed(MouseEvent e) {
                        // TODO Auto-generated method stub
                   public void mouseReleased(MouseEvent e) {
                        // TODO Auto-generated method stub
    });If we double click on a node which is having child nodes, then it will collapse/expand when double click on it.
    In all cases I am getting the display "mouseClicked" when doing double click.

  • I am using FireFox 4. Where is the "Bookmark All Tabs-" feature. I would like to save my Tabs for a later session. The selection is not on the menu when I right-mouse click or go to the Bookmarks feature of the Menu.

    Missing "Bookmark All Tabs…" feature which was in previous versions of FireFox 3.x. If you right-mouse click on a neutral part of the Browser window, there would be choice of "Bookmark this page" or "Bookmark All Tabs…". I have been unable to find it either in the sub-menu or the BOOKMARK selection from the Menu Bar.

    What do you mean by Tabs sub-menu is it right-clicking on a tab ?
    I know that "ctrl-shift-D" still work.
    I know that a right-click on a tab gives the "Bookmark all Tabs" function.
    But I would like to see it back in the Bookmarks menu. (which is its logical place)
    Because today the choice only disappeared from the menu as it is still reachable through keyboard shortcut or through mouse right-click on a tab
    but tomorrow it will totally disappear and personally I don't want that as this is one of my favorite functionality.
    Tank you for your understanding !

  • How do I set my project to advance to next slide on mouse click vs just play?

    Captivate 6 on mac running OS 10.7.5 file format in question .htm (firefox)
    I'm brand new to Captivate 6 (never used it before) I have put together a mock presentation from scratch which has a few introductory slides then a quiz. When I publish it there is a "play" button which is NOT the behavior I want.
    I watched a training video from Lynda.com and the insstructor imported a PPT file, there was a dialog box which asked the how to advance slide, there was a drop down menu and one of two options was advance "on mouse click". This is the behavior I'm looking for.
    I've scoured the internet and forums etc to find a comparable option elsewhere in Captivate 6 when creating from scratch vs importing from PPT and cannot find one anywhere. I've also read that you can insert a click box object and that that would do what I'm looking for but that doesn't work either.
    Does any such option exist and if so where/ how do I get to it/ use it. Please see attachments below. First screen shot is the first slide I get which isn't the first slide either, what's up with that? Next one is simply to show how the project just "plays" instead of advancing slide by slide. Third is my publish dialog box. Bottom line I don't want a "play" button I want the user to mouse click next, next, next etc. How do I do this?
    Thank you for any help or suggestions!

    Maybe I understand something wrongly, but thought you also wanted to know how you can make slides advance on clicking the Next button instead of having it playing on automatically? And instead of using the playbar you want to have a Previous and Next button?
    The way imported PPT with advance on Mouse click works is because there is a click box added to each slide that pauses that slide at its end. The user has to click on the slide to advance.
    A click box is an 'interactive' object: this means that you can have it pausing the slide, that the user can interact with it and trigger an action like 'Go to Next Slide'.
    You added (from what I see on the last screenshot) another interactive object, but now I'm confused: the third screenshot has a Prev and Next arrow, I think those are shapes. You do not need to add a click box on top of them (what I see on the last screenshot), they can be converted themselves into buttons. I blogged a lot about those shape buttons. Anyway, both click box and shape button can pause the slide. This is the case by default for click boxes (at the end of their duration, their timeline), for shape buttons you have to tell them to pause in the Timing accordion. In your case I certainly would choose a shape button because they can be put on a master slide, or timed for the rest of the project whereas Click boxes need to be unique on each slide, you'l have a lot of copy/paste to do then. In the Action accordion, On Success you choose the action, I think in this case you want 'Go to Next Slide' for the Next 'thing'
    As for the first screenshot, Rod explained that you cannot get rid of the play button for pdf output, but you can have a poster image instead of the blank screen. There is a folder icon in Preferences, Project, Start and End when you deselect AuotPlay.
    Here is a link to an article where I explain shape buttons:
    http://lilybiri.posterous.com/why-i-like-shape-buttons-captivate-6
    There is an on-demand webinar as well on the Adobe site which I presented, only about shape buttons.
    Lilybiri

  • How can i open a link in new window (shift + Mouse Click) while not switching to the new window

    I want to open a new window (shift + Mouse Click) while not switching to the newly opened window. The focus should remain on the window from where i have opened the link.

    You can do that with tabs, but not with windows AFAIK.

  • Automator - How do I: Mouse Click, Move Windows, and more

    Hello,
    I am attempting to create my own Automator programs and for a while I had some that worked nicely. I have recently been tweaking my iMac so that it can "think" on its own (by automator of course) and do things for me. However, I've run across a block with Mavericks (I believe it's due to Mavericks).
    1. How can I get Automator to register a mouse click? "Watch me do" does not seem to want to work for me at all. I also would prefer if it would just be a registered mouse click, but not actually use the mouse (I know this is possible) so that if I'm doing something and it runs, it won't disturb my mouse and I can keep working.
    2. How can I register a keyboard stroke? Same as above
    3. How can I have automator move windows? I have two monitors and there are times when I may want it to move a window from one mintor to another
    The following is a list of all the things I'm attempting to accomplish at the moment (with other things when I think of them) with automator (either through applications, folder actions, or ical actions):
    1. Register a mouse click at a given area or on a given element in a safari page
    2. Register a keyboard stroke in a given program (be able to focus on a program and then do the keystroke)
    3. Move windows from one location to another
    4. Full-screen and Un-full-screen iTunes at certain times of day
    5. Download all purchased items on iTunes that aren't on the computer (sometimes iTunes doesn't download stuff if it was downloaded on my MacBook Pro first)
    6. Automatically voice read reminders (that I've set in Reminders) each day at a given time (I can use loop to repeat it to make sure I hear it all)
    I'll think of more of course, but the mouse click, keyboard stroke, and moving windows is the big thing I'm trying to figure out how to do. Can anyone help?
    Also, I am not a computer tech. I am tinkering with this because it's fun and helpful, but an answer of "just use applescript" or "just use java" will likely just give me a headache. I know that it's going to be one of those codes, but I'm hoping someone has a "base" code that can be copied and pasted that's just a standard click that I can adjust for where I need to click and what process I need to click on.
    If there is an Action Pack that includes a "Register Mouse Click" and/or "Register Keyboard Stroke", then that would work great, but the only action packs for automator I've seen that work with Mavericks is for photoshop.

    You're asking for a lot in one post.  It would be better to break your requests down a bit. 
    For example, to deal with mouse clicks, you can use the Automator Action Run Shell Script with this python script:
    import sys
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
            theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
            CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
            mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclick(posx,posy):
            mouseEvent(kCGEventLeftMouseDown, posx,posy);
            mouseEvent(kCGEventLeftMouseUp, posx,posy);
    ourEvent = CGEventCreate(None);
    # Save current mouse position
    currentpos=CGEventGetLocation(ourEvent);
    # Click the "Apple"
    mouseclick(25, 5);  
    # 1 second delay       
    time.sleep(1);        
    # Restore mouse position
    mousemove(int(currentpos.x),int(currentpos.y))
    It will look like this in Automator:
    To drag something (i.e. a window, a file icon) from position 40,60 to 60,300:
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
               theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
               CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
               mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclickdn(posx,posy):
               mouseEvent(kCGEventLeftMouseDown, posx,posy);
    def mouseclickup(posx,posy):
               mouseEvent(kCGEventLeftMouseUp, posx,posy);
    def mousedrag(posx,posy):
               mouseEvent(kCGEventLeftMouseDragged, posx,posy);
    ourEvent = CGEventCreate(None);
    # Save current mouse position
    currentpos=CGEventGetLocation(ourEvent);
    # move mouse to upper left of screen
    mouseclickdn(40, 60);
    # drag icon to new location
    mousedrag(60, 300);
    # release mouse
    mouseclickup(60, 300);
    # necessary delay
    time.sleep(1);
    # return mouse to start positon
    mouseclickdn(int(currentpos.x),int(currentpos.y));
    For keystokes in AppleScript (which can be added to Automator with the Run Applescript Action) see: http://dougscripts.com/itunes/itinfo/keycodes.php

  • Diable "open dialog box" on right mouse click so I can use l mouse to advance to next slide and r mouse click to "go back."  How in PP 2010 for mac????

    I do presentations in PP10.  I am new to macair, and used to Windows.  HOW DO I DISABLE THE "OPEN DIALOG BOX ON RIGHT CLICK"?  I would like to use L mouse to advance slide, and R mouse to go back.  The default is to use R mouse to open dialog box.  I can disable this by unchecking the box in "advanced" on the PC.  How do I do it with the Mac????
    Thanks
    hacmd

    Hi Rod,
    As originally stated in my opening post, the SWF is to be inserted into an Articulate '13 slide (what I called an aggregator originally - I tried not to bring them up since I don't want the chatter about "There's your problem - using Articulate"! ).
    Recall that posting this published file to our LMS did not allow right-mouse click functionality as the flash player menu just gets in the way.
    If I insert the captivate 6 files into Articulate as a Web Object (referencing the entire folder with html, htm and assets, and then posted to our LMS, and it DOES allow RM click operations in both IE and FF (although no sound on the Captivate slide in FF). But this is not what we want to do as this introduces 2 navigation controls (the Captivate one and the Articulate Player).
    Why must anything be posted to a web server for this functionality to work?
    I am able to go into the Captivate 6's published folder, and launch the Captivate demonstration by simply double clicking on the index.html file and this works great in both FF and IE after changing the security settings for flash.
    Again - I can not believe I am the only one out there trying to use the right-mouse click feature to do a software simulation by embedding the Captivate SWF into an Articulate '13 project.

  • Edit Spry Menu Bar using Mouse Click

    Hello…
    I created a Spry Menu Bar and it's working just fine. But on phones and Tablets the submenu doesn't work because it's a mouseover, is it possible to change it to a mouse click?
    Thanks!

    Yes, but it needs a lot of JS coding to do so.
    A better solution is to use a jQuery or pure CSS menubar or visit http://www.projectseven.com/ for a commercial version

  • How can I (neatly) control mouse click events in a multi-dimensional array?

    Hello everyone!
         I have a question regarding the use of mouse clicks events in a multi-dimensional array (or a "2D" array as we refer to them in Java and C++).
    Background
         I have an array of objects each with a corresponding mouse click event. Each object is stored at a location ranging from [0][0] to [5][8] (hence a 9 x 6 grid) and has the specific column and row number associated with it as well (i.e. tile [2][4] has a row number of 2 and a column number of 4, even though it is on the third row, fifth column). Upon each mouse click, the tile that is selected is stored in a temporary array. The array is cleared if a tile is clicked that does not share a column or row value equal to, minus or plus 1 with the currently targeted tile (i.e. clicking tile [1][1] will clear the array if there aren't any tiles stored that have the row/column number
    [0][0], [0][1], [0][2],
    [1][0], [1][1], [1][2],
    [2][0], [2][1], [2][2]
    or any contiguous column/row with another tile stored in the array, meaning that the newly clicked tile only needs to be sharing a border with one of the tiles in the temp array but not necessarily with the last tile stored).
    Question
         What is a clean, tidy way of programming this in AS3? Here are a couple portions of my code (although the mouse click event isn't finished/working correctly):
      public function tileClick(e:MouseEvent):void
       var tile:Object = e.currentTarget;
       tileSelect.push(uint(tile.currentFrameLabel));
       selectArr.push(tile);
       if (tile.select.visible == false)
        tile.select.visible = true;
       else
        tile.select.visible = false;
       for (var i:uint = 0; i < selectArr.length; i++)
        if ((tile.rowN == selectArr[i].rowN - 1) ||
         (tile.rowN == selectArr[i].rowN) ||
         (tile.rowN == selectArr[i].rowN + 1))
         if ((tile.colN == selectArr[i].colN - 1) ||
         (tile.colN == selectArr[i].colN) ||
         (tile.colN == selectArr[i].colN + 1))
          trace("jackpot!" + i);
        else
         for (var ii:uint = 0; ii < 1; ii++)
          for (var iii:uint = 0; iii < selectArr.length; iii++)
           selectArr[iii].select.visible = false;
          selectArr = [];
          trace("Err!");

    Andrei1,
         So are you saying that if I, rather than assigning a uint to the column and row number for each tile, just assigned a string to each one in the form "#_#" then I could actually just assign the "adjacent" array directly to it instead of using a generic object to hold those values? In this case, my click event would simply check the indexes, one at a time, of all tiles currently stored in my "selectArr" array against the column/row string in the currently selected tile. Am I correct so far? If I am then let's say that "selectArr" is currently holding five tile coordinates (the user has clicked on five adjacent tiles thus far) and a sixth one is being evaluated now:
    Current "selectArr" values:
           1_0
           1_1, 2_1, 3_1
                  2_2
    New tile clicked:
           1_0
           1_1, 2_1, 3_1
                  2_2
                  2_3
    Coordinate search:
           1_-1
    0_0, 1_0, 2_0, 3_0
    0_1, 1_1, 2_1, 3_1, 4_1
           1_2, 2_2, 3_2
                  2_3
         Essentially what is happening here is that the new tile is checking all four coordinates/indexes belonging to each of the five tiles stored in the "selectArr" array as it tries to find a match for one of its own (which it does for the tile at coordinate 2_2). Thus the new tile at coordinate 2_3 would be marked as valid and added to the "selectArr" array as we wait for the next tile to be clicked and validated. Is this correct?

  • Recording keystrokes and mouse clicks?

    Greetings,
    I need to be able to make scripts/macros by recording keystrokes and mouse clicks with location.
    Is this possible with Automator?
    Does anyone know of a way program to do this?
    It seems so simple.
    Thanks

    Keyboard shortcuts were often missed.  For example, I tried this sequence many times. 
    0: (setup:  text editor is scrolled to first line and cursor is at the beginning of the first line)
    1: Click on text editor window to focus it.
    2: press SHIFT-DownArrow to move cursor down one line and select the first line
    3: press CMD-X to cut the line.
    Automator never would capture those key strokes. 
    But today I has a break through.  This sequence does work:
    0: (setup:  text editor is scrolled to bottom of the file and the cursor is placed below the last line.)
    1: Click on text editor window to focus it.
    2: press SHIFT-UpArror to move cursor up one line and select the last line.
    3: press CMD-X to cut the line.
    about 70% of the time this did get recorded correctly (I did maybe 3 recordings and one failed to select).  Once it got recorded correctly it worked reliably. 
    So it seems to be able to capture some sequences but not others.  Both sequences work very reliably when I type them but automator can only capture the last sequence. 
    Thanks for the suggestions.  This tool is better than nothing but not anything I would recommend.

  • Mouse clicks send app to crazy land

    I have a multi-threaded app with two main windows. One is the data display / main user interface event handler. The other is a seperate window with nothing but the menu bar--basically categorized commands that may be executed independent of what the main user interface is doing. This way I can move the commands around, hide them, etc--they are seperate.
    From the user interface I am running a script. At first the sub-vi that ran scripts was a modal 'Cancel' button to end the script and return to the user interface. The modal property kept the user from doing anything with the user-interface while the script was executing. Perfect. The problem is, it also kept the user from accessing the command window. So I changed the scri
    pt from a modal dialog box to a non-modal pop-up window that i set to Always-on-Top. This allows access to the command window and keeps the 'Cancel' button on top so it won't disappear behind the user interface if the main window gets clicked. Also, the user interface remains locked out because the script sub-vi is called from the user interface event handler.
    The problem I have is that clicking on the main user interface (for example, selecting a different tab to view) while the 'Cancel' button dialog box is visible, does nothing. When the dialog box exits however, all of the clicks done previously (which you'd think would have been forgotten), get propogated. The application goes haywire momentarily trying to change and update things. If you clicked five different tabs while the dialog box was open, it would do nothing, then all of a sudden (when the dialog box exits), flip rapidly between the five different tabs selected, as fast as possible.
    Is there any way to cancel
    or ignore these mouse click events that get sent to the main user interface? Is this a problem with the windows Always-on-Top setting?

    This is certainly occuring because of the "Always on Top" selection. However, there is one option you have here. You could try using Dynamic Events. They're new to LabVIEW 7.0. You can actually unregister a particular event (tab changed) and have it only trigger when you want. For instance, you could unregister this right before the cancel window comes up. Then, if the user clicks the tabs, since this event is unregistered, they will not be tallied. Then, when you get back to that window, there will be no events stored up so nothing should happen.
    J.R. Allen

  • Mouse Clicks/Positons in Pictures!

    Even a guru learns new things...
    I just discovered the use of a picture control/indicator to detect mouse positions and clicks! What a wonderful thing. I have LabVIEW 6.0.2, and have, up to now, not known about this. To all those out there who I recommended to use the mouse click API for Windows, I apologize. This is such a marvelous way to get Mouse information. It's easy, efficient, and completely held within LabVIEW.
    If anyone is wondering what I am talking about, go to Help>Examples in LabVIEW and go to the Examples>Advanced Examples>Picture Control Examples>Mouse Control.vi to see what I mean. I didn't realize that if you dropped a picture control (even as an invisible object!) on the front panel that you could use prop
    erty nodes to get x and y positions, and also the left, right, shift left or right, and third mouse button click information.
    Of course, I hear that this may all be somewhat obsolete in LabVIEW 6.1, but for those still using 6.01 or earlier, it's a great tool that means you don't have to mess with API, MFC or dlls.
    Any comments or questions?

    Hi,
    This is ideal for some applications, you can even build drag/drop functions
    into a picture control using this. But there are some backdraws (or one very
    big one);
    The picture control needs to be the control on front.
    The picture control needs to cover the entire area you need information on.
    This implies that normal functions of controls and indicators cannot be
    used, not even simply clicking on a button...
    It also makes the screen updates take a lot more proccessor time, because
    controls/indicators are overlapping. In the example for instance, the charts
    are not clear to read, because they're flickering.
    Regards,
    Wiebe.
    "Labviewguru" wrote in message
    news:[email protected]..
    > Even a guru learns new things..
    >
    > I just discovered the use of a picture control/indicator to detect
    > mouse positions and clicks! What a wonderful thing. I have LabVIEW
    > 6.0.2, and have, up to now, not known about this. To all those out
    > there who I recommended to use the mouse click API for Windows, I
    > apologize. This is such a marvelous way to get Mouse information.
    > It's easy, efficient, and completely held within LabVIEW.
    >
    > If anyone is wondering what I am talking about, go to Help>Examples in
    > LabVIEW and go to the Examples>Advanced Examples>Picture Control
    > Examples>Mouse Control.vi to see what I mean. I didn't realize that
    > if you dropped a picture control (even as an invisible object!) on the
    > front panel that you could use property nodes to get x and y
    > positions, and also the left, right, shift left or right, and third
    > mouse button click information.
    >
    > Of course, I hear that this may all be somewhat obsolete in LabVIEW
    > 6.1, but for those still using 6.01 or earlier, it's a great t
    ool that
    > means you don't have to mess with API, MFC or dlls.
    >
    > Any comments or questions?

  • Mouse clicks not recognized?

    I have a 20" iMac w/ the most recent updates. In the past couple of days I have a problem with mouse clicks not being recognized. It seems to happen when I begin to fill in a text field either in Safari or the Finder (like trying to enter username/password, to authenticate in the finder, etc) The wierd thing is that this only happens on one of the two user accounts on this computer. I have also created a new user account and it is fine. I've looked for applications that are different, but can't find any. I have repaired permissions and repaired the disk through disk utility.
    I am at the end of my rope! Please help!

    I somehow managed to fix it, for now. I think I ended up resetting the PRAM. I gave up trying software solutions and unplugged everything, including the iMac's power cable, and cleaned up the mess of cables behind my desk because I needed some time to think. After starting up the computer, everything seems to be fine. If the problem comes back, I'll post here again. Thanks for the suggestion!

  • Mouse clicks not detected on JTabbedPane

    Hi all,
    I have a JPanel placed inside a JTabbedPane. I want to double-click on the JPanel and bring up a JDialog. This works fine if the JPanel is not in a JTabbedPane, but if it is on a JTabbedPane, then the mouse clicks are not detected. I'd greatly appreciate any help you can give me.

    Here is a sample program that seems to work:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    public class TestInternalFrame extends JFrame
         public TestInternalFrame()
              JDesktopPane desktop = new JDesktopPane();
              setContentPane( desktop );
              JInternalFrame internal = new JInternalFrame( "Internal Frame" );
              desktop.add( internal );
              internal.setLocation( 50, 50 );
              internal.setSize( 300, 300 );
              internal.setVisible( true );
              JTabbedPane tabbedPane = new JTabbedPane();
              internal.getContentPane().add(tabbedPane);
              tabbedPane.setPreferredSize( new Dimension(300, 200) );
              JPanel panel = new JPanel();
              tabbedPane.add( "Empty Panel", panel );
              panel.addMouseListener( new MouseAdapter()
                   public void mouseClicked(MouseEvent e)
                        System.out.println(e.getClickCount());
         public static void main(String args[])
    TestInternalFrame frame = new TestInternalFrame();
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    frame.setSize(400, 400);
    frame.setVisible(true);

  • Mouse clicks blocked improperly when stage resizes

    Hi everyone,
    Been working on this for a while with no success. would really appreciate your help.
    We have the following issue: 1 main flex application is loading another flex application swf using a swfloader placing the child app in the same security domain, but in separate application domains from the parent. There is an '...allowDomain(*)' between the apps and the stage scaling is set to no scaling.
    The problem is that when the stage is resized (window size increases or it goes to fullscreen) the child app 'grows' a large invisible area that blocks mouse clicks from reaching the parent app. This area far exceeds the child app's width & height and can be seen only when doing 'right-click' --> 'show redraw regions'. When scaling the window slowly back to the original stage size that the flash player started out with, those areas grow smaller and eventually disappear. If i load the child app when the main app stage size (window size) is already very big (or in fullscreen), this issue does NOT appear.
    Thanks in advance,
    Uri

    Sounds like a bug.  If you have a simple test case, please file a bug.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for

  • How do I put music on my iPod from itunes and icloud

    I recently uploaded my music from itunes up to icloud.  Today I put my ipod classic to itunes and 'synced' and found that the only songs that are now on the ipod are ones itunes hasnt uploaded to icloud or songs I 'downloaded' icloud to me itunes on

  • Dynamic Subjet in Mail Adapter

    Hi everybody, Landscape: I would like to fill dynamically the "Subject" field in a Mail Adapter. We receive data from a JMS Adapter and if no rule match the condition, it will send an email with the DCJMSCorreleation in the subject or in the body. In

  • SAP to 3rd party: EDI and XI: Needed advantages and disadvantages

    HI All, I have a requirement to sent PO data from SAP to 3rd party Vendors.(more than 30 vendors). Client insists on using EDI.!! I have completed the config on SAP R/3 side and IDOCS are created in SAP R/3. Since we have XI in the landscape, I have

  • Regarding Jump Queries

    Hi Guys,                I want to pass three variable values from sender query to recieving query. can anybody explain me how to do this. Ex: Sender query : fiscal/period                       profit center                        financial stmt heir

  • Wine and resolution issue

    hello! i have used archlinux for a year or so. everything went quite perfectly, but because archlinux is not multilib (i need it for my 32-bit blitzmax application) i installed gentoo last week. and because gentoo did not get me "that feeling" of arc