Tab Focus of Extended Canvas Object

I have extended the Canvas control to add some functionality;
however, I now need my control to be able to be tabbed to and
focused and I can't seem to get this to work.
I have set the tabEnabled to true, the "focusSkin" to
HaloFocusRect, the focusEnabled to true, and set the tabIndex on
the object.
None of these seem to work. When I tab through the items on
the screen the canvas object just seemed to be skipped over.
Any ideas on how to get this extended canvas object to get
focus by tabbing to it would be helpful. Thanks for any
help.

View Objects tend to behave very strange if they do not have a key column.
I had the same problem as you described (though in custom screen) and the problem disappeared
the second I marked the id-attribute as "key". Maybe this solves your problem as well.
Good luck!

Similar Messages

  • How to disable the tab focusing for a JTextField object because those ...

    Hi All,
    Here I need some help. I want to disable the tab focusing( tab index) for a JTextField objects because those objects are set as setEditable(false). Also can u tell me about how to change the tab index orders for JTextFields.
    Many thanks,
    Vijaycanaan.

    I want to disable the tab focusing( tab index) for a JTextField objectsLook through the API and find methods with the word "focus" in the method name.
    Also can u tell me about how to change the tab index orders for JTextFields."How to Use the Focus Sub System":
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html

  • [svn:fx-trunk] 7073: When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.

    Revision: 7073
    Author:   [email protected]
    Date:     2009-05-19 08:27:59 -0700 (Tue, 19 May 2009)
    Log Message:
    When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.
    QA Notes:
    Doc Notes:
    Bugs: SDK-19717
    Reviewers: Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19717
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

    Revision: 7073
    Author:   [email protected]
    Date:     2009-05-19 08:27:59 -0700 (Tue, 19 May 2009)
    Log Message:
    When looking around a tab group to determine which object to focus on, not only should the object be selected, but it should also be enabled and visible.
    QA Notes:
    Doc Notes:
    Bugs: SDK-19717
    Reviewers: Alex
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-19717
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as

  • Is there any way to extend an object past the canvas?

    I'd like to know if there is any way to extend an object past the canvas and onto the background of a web page created with iWeb '08. When I move an object it gets clipped at the edge of the canvas. What I'd like to do is:
    1) Place AdSense outside the canvas, to the right, on the background.
    2) Place an image so part of it is on the canvas, and part of it is on the background. (kind of like the iWeb icon where the picture extends past the cork board)
    Is this possible to do with iWeb? If not, is it possible to do editing the HTML once it has been generated?
    When I move an object so its partially on the canvas and partially on the background, what make the part on the background invisible? Is there a piece of CSS that's doing this? (and if so how do I turn it off)
    Thanks,
    Jeff

    Jeff:
    Look at Cyclosaurus' post in this topic: http://discussions.apple.com/thread.jspa?messageID=9273769#9273769. It may address what you're wanting to accomplish.
    OT

  • Accessable Tab Focus Menu XML

    The XML menu I have developed is accessable for tab use only when the menu is the only accessable object on stage. When I put other objects on the stage that are tab focused, the XML menu is no longer tab accessable. How do I make my XML menu accessible when other accessible objects are on the stage?

    hey bob, you can enter '''about:config''' into the location bar of firefox, confirm the info notification (in case it shows up), search for the preference named '''browser.search.context.loadInBackground''' & toggle it to true by double-clicking it. that should bring back the old behaviour...

  • Extended Canvas, Event Listener - drag enter

    I'm trying to add an eventListener to my extended Canvas
    Class but seem to be having a slight problem.
    I've created a loop which runs 16 times, adds an instance of
    the canvas to a container and sets an drag enter event listener for
    each one, however when i drag over only one of the canvas' reacts
    to the drag enter (the last instance) - regardless of where i drag
    the object.
    heres some example code
    for(var i = 0; i < 16;i++)
    var foo:extendedCanvasObj = new extendedCanvasObj();
    foo.setstyle.......
    foo.addEventListener(dragEvent.DRAG_ENTER,function(event:DragEvent){
    change the canvas backgroundcolour };
    container.addChild(foo);
    }

    Thanks for the quick reply,
    I understand what you mean, but how would i stop it from doing this?  I want the "new boxes" to know when a drag proxy has entered them but i don't want them to accept a drop.
    Basically i'm building a form builder and the boxes represent fields.  I want them to know when the proxy has just enter them to i can perform a collision detection and move them to create space to drop the new field. 
    Tom

  • Extend Graphics OBJECT

    Hi!
    I need to add functionality to existing Graphics objects, like in:
    interface ABC {
      public void drawString(String,int,int);
      public void m();
    class ABCGr extends Graphics implements ABC {
      public void m() {}
    class Sth extends JPanel {
      public void doSth(ABC d) {}
      public void paintComponent(Graphics g) {
        ABC d = (ABCGr)g;
        doSth(d);
    }(This does not run, of course.)
    The crucial point here is that doSth() is also called with something else than an extended Graphics object (i.e. another ABC).
    Is the only way to achieve this to write a wrapper that contains a reference to the Graphics object and wraps all Graphics methods explicitely? This would be a bit clumsy!
    Any hint to a more elegant (and probably better performing) way would be greatly appreciated!
    Best regards,

    As much as I hate to say it, you really can't extend the graphics object.
    Here's why, basically the graphics object is supposed to be an interface to a canvas so it sit right on top of the thing that you are drawing to, be that the screen, an image in memory or the printer. SO you really can't extend it. You'd have to extend every seperate instance.
    What it sounds like you want to do is provide a bunch of utility functions to the Graphics object. This is probably better done with a class of static functions like this.
    class GraphicsUtil {
    static void doGraphicsFun( Graphics g) {//do stuff
    }I know that it's not the most elegant solution, but the graphics class is an abstract class and you can't really add functionality like that. Think about extending an interface, if you extend an interface, you can't make all the classes that implemented the old interface implment your new functions.
    I wouldn't write a wrapper, this will only slow your code down, static functions are the way to go.

  • How do I stop Yahoo mail's popup dialog box from changing the tab focus?

    Hi,
    When I have a tab opened to Yahoo mail and I open a Yahoo email on my other computer or Blackberry, there's a time delay and at some point, Yahoo shifts my browser focus to display a pop-up dialog box that says "You have been disconnected from chat because you have signed into Yahoo! Messenger from another computer." I can't even switch back to the tab I was on without dismissing the popup.
    I'd love it if I could turn off the pop-up, - don't care about the disconnection - but in the meantime, is there some way to prevent Yahoo from changing my tab focus?
    Thanks!

    Hi Douglass,
    You will need to navigate to the following folder.
    /Users/yourusername/Library/Mail/V2/MailData
    and backup the following file... MessageRules.plist
    Open the file in BBedit to confirm your rules are infact inside that particular plist file as Mail will also create backups occasionally.
    Once you reinstall, do a compare/replace with the newly created MessageRules.plist and you should be able to bring your "old" rules into your fresh install.
    as for mailboxes, those are contained within this folder
    /Users/yourusername/Library/Mail/V2/Mailboxes
    and it will be up to you to backup those files and File/Import Mailboxes them into the new install.

  • Unable to extend from object Application Module

    Hi All,
    oracle.apps.icx.por.reqmgmt.server.ReqMgmtAM has an invalid View Instance AllReqsVO.
    In 11i there were customizations in iproc in which the ReqMgmtAM has been extended and some methods have been coded .Now I am working on porting the changes to R12 instance and wanted to redo the changes R 12.1.2 jdeveloper version 10.1.3.3.0.
    The extended AM in R11 has two overriden methods getGroupVOName, bindSummaryQueryInnerWhereParams to call two extended VO objects .
    Now in R12 Jdeveloper when I am trying to extend the ReqMgmtAM it does not allow me mentioning oracle.apps.icx.por.reqmgmt.server.ReqMgmtAM has an invalid View Instance AllReqsVO.
    What should I do ? Please advise .
    The changes is to have a poplist instead of MyRequisitions and choosing MyRequisitions or Mylocation requsitions will show all the requisitions belonging to that Deliver to location ...and user should be able to go the requisition details page and should be able to copy to cart and perform actions as it is .
    --Chandra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    hi
    is this ReqMgmtAM a root AM ,if it is so, extension of root Am may cause so many problems ,if u provide your requirement details ,we can go for some alternate solution also .
    thanx
    Pratap

  • How do I prevent tab focus from changing when I scroll tabs with the mouse wheel? [SOLVED]

    Whenever I scroll my tabs with the mouse scroll wheel the tab focus changes from the page I'm currently on to the tab being scrolled to. I usually have a large list of tabs open and I depend on being able to scroll tabs without changing page focus to keep myself organized.
    Also, I'd like to disable tab scroll wrapping; Once I've scrolled my tabs to the end I'd like it to stop scrolling, not wrap around to the start of my tabs.
    Is there a way to disable these features and revert to the tab scrolling behaviour of a previous version of Firefox?

    This is not a standard feature and can be caused by an extension.
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • Tab focus progressing to parent window from popup

    Hi,
    I am using JDeveloper 11.1.1.7.0 version.
    I have a bounded task flow with .jsff fragments and I am trying to call another bounded taskflow(with .jspx files) as "Run As Dialog" from this taskflow.
    Here I am able to set initial focus to the required input element using <af:document> tag's "initialFocusId" property. Up to this, it is working fine.
    When I tried to tab, cursor is moving to next fields as expected. But after completing all the fields and buttons in the popup, tab focus is progressing to the parent window links and buttons.
    Is there a way to block the cursor progression to parent window and make it to rotate within the popup window.
    Thanks,
    Gopal.

    This is a bug in ADF Framework. Filed a bug with ADF Framework and they have accepted this as a bug.
    I'll update this post once I get the resolution from ADF team.

  • Tab focus on af:table

    We have an af:table component on a page. In order to make the page keyboard accessible, we should be able to tab to that component using the Tab key on keyboard. However, when the af:table component is selected using Tab key, it does not get visual tab focus. So it is hard to tell that af:table component is currently selected by the Tab order.
    Is there any way to enforce visual tab focus (dotted lines) around the af:table component?
    Thanks

    We have an af:table component on a page. In order to make the page keyboard accessible, we should be able to tab to that component using the Tab key on keyboard. However, when the af:table component is selected using Tab key, it does not get visual tab focus. So it is hard to tell that af:table component is currently selected by the Tab order.
    Is there any way to enforce visual tab focus (dotted lines) around the af:table component?
    Thanks

  • Tab focus issue with 2 popups open

    Hi!
    I've just got a nasty problem with 2 popups and a tab focus.
    First poup automatically opens second popup and if you press TAB
    key focus goes to the first popup window - underneath the top one.
    As a matter of fact - if you open the second popup by
    clicking on the button in the first window - no problem. It happens
    only if the first window opens second via AS.
    I've found on the internet the following
    article:
    But my joy was premature - this piece code:
    quote:
    SystemManager.activate( popup );
    is simply uncompilable. I tried other methods, like:
    this.systemManager.activate(this);
    without any luck.
    Does anybody know the solution to this problem?
    Thanks in advance!
    Cheers,
    Dmitri.

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • TAB focus lost to browser

    Hey Folks.  Have an AS2 file that keeps TAB focus/order properly when using Firefox or Safari but NOT when using IE.  It's fine at first but when I TAB to and select a button the next TAB goes to IE's address bar. This does NOT happen in Firefox or Safari.  Can someone please point me to some info on how to avoid this?

    hi,
    maybe when you reactivate the browser, you reactivate the site(!) and not the applet.
    The applet is only a part of the site and has to be activated, too.
    I guess this is the problem.
    but i got no idea how to fix this.
    sorry.
    cu Errraddicator

  • Changing tab focus with the keyboard

    I've read about changing the tab focus from one page to another programmatically; however, I would like to have shortcut keys to change tabs (like many programs that use CTRL+Tab to change windows within the program).
    I could use an event structure to capture keyboard button presses and then change the value of the tab control, but is there a more straightforward approach?
    Thanks!
    mlloyd

    You can set all other controls not to be tabbed through and the tab control to have its pages tabbed through. That way, when you use tab, only the tab control's pages will be on the tabbing list. This, however, is probably less straightforward.
    I'm not sure what's the problem with the method you outlined. In most cases, if you want something to happen, you will have to code it. This appeares to be one of those cases. You can make a subVI to do the tabbing for you, if you don't want to have to code all of it in your VI. Pass the reference of the tab control into the VI after you detect the event and use that to decide whether to increase or decrease the tab value. Be sure to cycle the number back to the first page when it reaches the end.
    Try to take over the world!

Maybe you are looking for

  • Design PDF form acrobat 10 pro

    Ok so I'm making a PDF form for my school to make it easier for teacher to make hand made report cards. I have an issue where I have a grid Which is a 4x3. Is their an easy wy to create a grid in the PDF form so that the user can write inside each bo

  • How do I update Table DFKKTHI (Aggregate Invoice posting)

    Hi, I need to implement the functionality of Aggr. Inv. posting for the client (Distributor). For this the user needs to do the following 1.     Invoice individual bills (EA19 / EASIBI). [Creates an entry in DFKKTHI table] 2.     Run Transaction REDI

  • JAI - Colour problem converting GIF to JPEG

    Hi I'm using JAI to load a GIF, and then save it as a JPEG. When I save it (using the "filestore" operation in JAI.create(...) the resulting JPEG seems to be monochrome. However if I save the same image as a BMP, it's fine. I think this has something

  • An unexpected error

    I'm importing a 2-record file to "opportunities" as a test, and cant get it to go in. Both records throw the same log error: <em>An unexpected error occurred during the import of the following row: 'Payment ID: 31384'</em> I've tried removing that pa

  • Best way to upgrade the local repository from 11.7.3 to 12.2.3.3 DS 3

    Hi, we are going to upgrade our DI 11.7.3 to DS3 - 12.2.3.3 in Sep. I found out there are different ways to upgrade the local repository from the SAP doc and tech support. I try to find a best and safe way to do it. If anyone had experince and inputs