Focus behaviour and shortcuts

I wonder if in flex UI is possible to change bahaviour for
losign focus ?
I mean i want changing tab with enter for some controls and
even in a table when i hit enter to go on the next editable cell in
the same row.
Also how can i attach shortcuts to buttons ?

Hi,
Please try handling keyDown and keyUp events. Please find
more details at the URL below.
http://livedocs.adobe.com/flex/3/langref/flash/display/InteractiveObject.html#event:keyDow n
Hope this helps.

Similar Messages

  • Tabs and shortcuts

    Why do my 'tab' key and shortcuts not work properly in Mavericks?

    Thanks for the reply.  End users are alkmsot always more helpful than the professionals.  I apologize for not specifiying...I just made the assumption that it is clear that the failures are in all apllications.  I use Pages and numbers a lot, so I make up shortuts for long and repetive phrases in Pages, for my email address, for Safari searches and so on that used to work in all applications. 
    Mavericks has reassigned my previous shortcuts.  That's fine. I don't mind because the new assignments are improvements for all users in general.  What is frustrating me is that: Apple > System Preferences > keyboard > shortcuts will let me go through the motions of setting up new shortcuts but when I try to use them in Pages or Safari there is no response
    Re tab key:  within a table in Pages, pressing the tab key does not advance from the cell just finished.  By pressing the shift plus tab (tab backwards) the cursor will go to the previous cell and then tab twice will bring you to the cell folowing the one just finished.
    I have been trying to work with Mavericks for two weeks, many hours working on this,  and all the help files have not changed one iota from Mountain Lion.
    I am still hoping to find the fix, or alternatively, a help file that is focused on Maveicks as distinct from OS X in general.
    Irwin
    iMac (purchased mid 2010) (Loved it ever since)
    OS X 10.9
    Safari 7.0
    Pages 5.0
    All installs up-to-date

  • Focus behaviour AR8.1.1 versus AR7.0.9

    I've observed a difference in focus behaviour between Linux R8.1.1
    and Linux AR7.0.9 and I'm wondering whether it is a bug or a deliberate
    change in policy. The difference is as follows.
    I launch AR on a document that has a /Widget annotation
    with a /U event, any widget will do. I then click on the /Widget
    so that it receives the input focus. After which, I obscure
    part of the AR window with a terminal window,
    and then I move the mouse from the terminal window back
    to the AR window.
    With AR8.1.1 I observe that the AR window is automatically raised.
    This is very odd as my KDE setup requires a click to raise a window.
    Therefore it would seem that AR is implementing its own window
    raise. I do have focus follows mouse, but irrespective of
    my window manager settings, AR 8.1.1 raises itself
    whereas AR7.0.9 does not. I've also been able to reproduce
    the difference with MWM and so I'm a bit perplexed.
    Has anyone else noticed this behaviour? As I said at the beginning
    of this note, I observe the difference for any PDF with a /Widget
    i.e. it is not specific to something I'm doing.
    James Quirk
    p.s. Going off on a tangent, I'm now wondering if this autoraising
    is responsible for the difference in refresh rates, between AR8.1.1
    and AR7.0.9, that I've reported elsewhere on this forum.
    I've also noticed that in some /Widget-heavy documents there is
    considerable blinking with AR8.1.1 when the document loads
    whereas with AR7.0.9 the PDF loads smoothly. Thus is would
    appear that unnecessary refreshes are occuring as the
    document is rendered. Again I'm wondering if the autoraise
    issue is involved.

    The file:
    http://www.amrita-cfd.org/4adobe/screen-refresh/test1.pdf
    is as good as any for showing the focus difference
    I describe above. It also shows the problem with blinking.
    When the document loads, click on the "continue reading" button
    to get past the cover sheet. Then click the ">>" button and
    follow the steps I outline above.
    James

  • Focus behaviour on E17

    Hi, is there any way to change the focus behaviour in E17?, I would like to use "click to focus" 

    Cam wrote:Be careful, I used E17 for a while and then went back to fluxbox, I had to click the windows to focus them again it felt weird
    Yep, but i've been using E17 for a couple of months and it's unstable but usable.
    Thanxs for the replay by the way

  • App-V 5.0 and shortcuts

    Hello, 
    There are a couple of things around App-V 5.0 and shortcuts I'm still a little confused about. 
    I once created a package of Project and Visio 2013 with the click-to-run\deployment tool. The package worked great until someone said they needed Project but don't have a license to visio. To avoid this I made a shortcut to the executable in %localappdata%
    and set restrictions to the shortcut with AD groups. However when I double clicked on a visio document, the user would still be able to run Visio. I tried to avoid this by creating two packages, one with Visio and one with Project. The problem here is that
    I can add one package to the management console but not the other because it says a package with that name and version already exist although the name is indeed different, the version is the same.
    SO, (TL;DR): How am I supposed to separate Visio and Project if it is in the same pacakge when creating two separate packages is not supported?

    You need to modify the deployment configuration XML file to disable shortcuts. Maybe create multiple DeploymentConfig.xml files? DeploymentConfig_VisioOnly.xml, DeploymentConfig_ProjectOnly.xml .. ?
    How to disable an Office 2013 application:
    Open a Deployment Configuration File with a text editor such as Notepad and search for "Applications."
    Search for the Office application you would like to disable, for example "Access 2013."
    Change the value of "Enabled" from "true" to "false."
    Save the Deployment Configuration File.
    Add Office 2013 App-V Package with new Deployment Configuration File.
    How to disable shortcuts for Office 2013 applications:
    Open a Deployment Configuration File in Notepad and search for “Shortcuts”.
    To disable certain shortcuts, delete or comment out the specific shortcuts you don’t want. You must keep the subsystem present and enabled. For example, in the example below delete the Microsoft Access shortcuts, while keeping the subsystems <shortcut>
    </shortcut> intact to disable the Microsoft Access shortcut.
    Save the Deployment Configuration File.
    Re-publish Office 2013 App-V Package with new Deployment Configuration File.
    http://technet.microsoft.com/library/dn481351.aspx

  • Keeping track of focus gains and losses

    In my application, I have a text field that a user can type in an artist/title and search a music library for the query. This application is for a touchscreen so I've included a popup keyboard for the user since no keyboard will be available to use.
    The idea behind it is the user touches the text field and gives it focus. Once focus is given to the text box, ther user will then be able to touch/click a JButton that will pop up a keyboard panel. I would like to pass to the keyboard panel which text field last had focus so as they touch the on-screen keys, it will type text into the last focused text field.
    I read over the tutorial for using focus listeners and I understand how that works, but how can I go about getting the object that last had focus?
    I'm thinking along the lines of have a focus listener on the JButton that displays the keyboard:
    // This is called when the user touches the button to display the keyboard
    if (artistText.focusLost)
    keyboardFocus("artist");
    }Obviously the above code isn't valid, but it's how I'm trying to explain myself. keyboardFocus method will have code to setText() to the artistText text field. I can figure that one out.

    I was testing something before you replied and I was wondering if it would be practical.
    Here is the partial code on my GUI class:
    // Calls the keyboardFocus() method whenever focus is lost on the field
    // and passes the component name
        private void titleTextFocusLost (java.awt.event.FocusEvent evt)                                   
            keyboardFocus(titleText);
    // Takes the passed component and stores it in a public variable
        private void keyboardFocus (JTextField comp)
            lastFocus = comp;
    // Variable that stores that compoent that last had focus
        public static JTextField lastFocus;Here is a snippet from my Keyboard class:
    // Then the Q button is pressed, the letter Q is set as the text to the last
    // JTextField of focus
        private void qKeyActionPerformed (java.awt.event.ActionEvent evt)                                    
            GUI.lastFocus.setText ("Q");
        } If this isn't practical, I'd definate be willing to change it, but what do you think?

  • Can't create menu and shortcut in Win2003 when install Oracle9.2

    It can't create menu and shortcut in Windows server 2003 when install Oracle9.2.
    And show the error message.

    Several possible reasons.
    Start by describing exactly what you did, including user ids (or at least desctriptions of them) and the permission that those user ids have.
    And don't forget to detail which 'Windows 2003'. There are, as far as I know, several flavours of that product and there may be patches.
    95% of the effort here is to validate the assumptions - the more you tell, the fewer the assumptions.

  • Touch commands and Shortcuts

    Attempting to search the Apple site and this discussion board for a possible listing of the Touch commands and shortcuts for the Macbook (example: saw a Mac Genius zoom with touchpad finger gesture)- curious about other possible commands..

    Touchpad gestures should be in your User Guide for the computer assuming you have one with a touchpad trackpad. As far as I'm aware that's only available on the MacBook Pro but according to your information you have a MacBook. Only the latest MBP model supports gestures on the trackpad. These models only run Leopard. Were they available for the MB, you would need a current model with Leopard, but you are using Tiger. Configuring your trackpad for scrolling is done using the Keyboard and Mouse preferences.
    As for keyboard shortcuts: Mac OS X keyboard shortcuts.

  • Hi, i have a problem that my macBook pro keys suddenly stopped working. The power button,volume keys, brightness keys and shortcuts do not work. Does anyone know why or how i can fix this problem?

    hi, i have a problem that my macBook pro keys suddenly stopped working. The power button,volume keys, brightness keys and shortcuts do not work. Does anyone know why or how i can fix this problem?

    hi, i have a problem that my macBook pro keys suddenly stopped working. The power button,volume keys, brightness keys and shortcuts do not work. Does anyone know why or how i can fix this problem?

  • When i download files , they go into subfolders such as "000000000002" within downloads, why is this behaviour and is this a bug?

    When i download files , they go into subfolders such as "000000000002" within downloads, why is this behaviour and is this a bug?

    Thanks Eric, Most files i download is from a  incident management application developed from my employer.  i use that all day long. I think you are partially correct, The application that i use may be creating these subfolders and using to put files into that.
    I will update this thread if i see that some other standard applications like safari / Mail are downloading into subfolders.
    Is some one else facing this issue??  

  • Why is it that i find adobe icon on various icons and shortcuts

    I have just installed the adobe reader (free version) and now i am finding that various icons and shortcuts like word excel etc are showing the adobe sign. is there anyone who can help (not a wizard
    at computers just a person who knows the basics
    cheers
    les

    Perhaps http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html ?

  • Nimbus focus painting and insets

    We are still having this problem - wanted to try again on the queue.
    We have a custom table cell editor component that uses a spinner for the editor component. With Nimbus look and feel, the focus is painted around the outside of the component. However in a table cell, this focus painting (and cooresponding insets) takes up too much space. Is there a way to turn off the focus paining (or control the insets) on Nimbus for this cell editor?
    Edited by: cmildenb on Jul 9, 2012 4:44 PM
    Edited by: cmildenb on Apr 22, 2013 10:41 AM

    Try this.
    JFormattedTextField f =
            ((JSpinner.DefaultEditor) spinner.getEditor()).getTextField();
    f.putClientProperty("Nimbus.Overrides",new UIDefaults());
    f.putClientProperty("Nimbus.Overrides.InheritDefaults",false);This will essentially result in a more basic painter for the painting of the spinner's text field. So no border is painted, nor any focus (though it will still be focusable). You'll still have the nimbus style buttons of the spinner.
    Alternatively you could try a "mini" or "small" spinner.
    spinner.putClientProperty("JComponent.sizeVariant","mini");
    spinner.updateUI();

  • Print PDF Menu and Shortcuts

    Hi,
    I've looked around online and not been able to find any answers. So this might not be possible, but thought it worth checking on here.
    I often print files as PDFs so I'd like to be able to do this using keyboard shortcuts. Pressing ⌘P brings up the print dialogue box, and pressing ⏎ then prints to a printer. Tabbing takes me through the various printing options, but doesn't take focus to the PDF menu at any point and I can't seem to set a working shortcut up to 'Save as PDF...'.
    Is it possible to create a personalised keyboard shortcut to 'Save as PDF...' or any of the other PDF print options. It would be great if this was possible as I use 'Save PDF to Web Receipts Folder' quite regularly too.
    Thanks

    Mark Griffin wrote:
    It's fairly straightforward to do this. See this hint: Shortcuts for Print - PDF menu. I set the Print as PDF... shortcut to ⌘P. So to print to a PDF in an application, I hit ⌘P to open the print dialog and then ⌘P again to save it as a PDF. Works in all the basic apps - TextEdit, Safari, Mail, MS apps, etc.
    This works on my MPB in 10.6 as well. Post back and let us know if this works for you.
    Mark G.
    that's a very neat trick. thanks for sharing.

  • How to change control panel options and shortcuts in CS4

    Hi there,
    I'm trying to customize the control panel in CS4 and am having trouble with a couple of options:
    - I've turned on distribute options but it won't display (only the align options will)
    - Where do I find/change the shortcut for "Highlight the first option in the Control panel" (currently cmd 6)
    Any suggestions would be much appreciated.
    Cheers
    Ben

    I bet A-M is spot on. As for this lingering issue
    macopp wrote:
    The issue with the keyboard shortcut is that I can't find the option to edit it - do you know where it is or how to search for a shortcut so it can be changed?
    since you know the current hotkey combo (CMD+6), you can call up the entire active keyboard set and search for this string. If you do so, you'll find this:
    Product area : Views, Navigation
         Toggle Keyboard Focus in Control Panel --- Default: Cmd+6

  • Adobe Captivate 6 and Shortcut Keys

    I have designed a course in Adobe Captivate 6 and want to include a Shortcut key such as CTRL+O which the user hits to perform an action like they do in a production system they are being trained on for their job (non Adobe related).
    When I set up a slidelet and the associated Action via a Shortcut to jump to a slide further down in the presentation this works in preview fine, but when I upload it to the LMS and test it there, it performs an Open function instead because this is being run in an Internet Brower.
    Does anyone know of anyway for the Captivate CTRL+O to supercede the Internet Explorer CTRL+O?
    Please let me know either way.
    Thank you...................

    Browser functions ALWAYS come before any functions of the content within the browser. 
    Trying to create course content that replicates keystroke shortcut behaviour of applications that use Function keys or Control keys is doomed to failure.
    I would recommend you find another way to display the required keystrokes (e.g. buttons or images on screen) and get your users to click with their mouse to indicate the correct keys.

Maybe you are looking for

  • I meet a RMI Exception ,Can you help me!!

    This is the main Method: public static void main(String[] args) throws IOException, ActivationException, NamingException, NotBoundException           System.out.println("Construting activiton description...");           Properties pro=new Properties(

  • How to reset computer to factory setting

    i am selling my imac and i need to reset the computer to factory settings. how do i do that

  • Does impdp create a oracle user if not exising

    Hi Does impdp create a oracle usr if oracle schema is not existing when running remap_schema regards kb

  • Email accounts

    I have 4 email accounts and until yesterday all 4 appeared on my screen as separate icons however today I only have one icon....I have checked in the set up and all 4 accounts are still there. It seems that one account has 'kidnapped' the other 3 acc

  • Can't find drivers to instal windows via bootcamp.

    I want to instal windos 7 to play guild wars 2 via bootcamp but bootcamp won't let me donwload the drivers does anyone know where i can find them or how to let bootcamp donwload them. i have a imac with snowleapord 10.6.8.