realbasic-nug
[Top] [All Lists]

Re: ... Remove Control from Tab order (simple work around)

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: ... Remove Control from Tab order (simple work around)
From: Arnaud Nicolet <anic297 at mac dot com>
Date: Thu, 31 Jan 2008 00:17:39 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <012920082204 dot 6405 dot 479FA2D20005E6C80000190522070208530B049D0199D30E0E05 at comcast dot net> <BB4E33FD-DB45-4663-81BB-C314845465C5 at mac dot com> <12359673-8E3F-42DF-9132-25C017A5A9AF at great-white-software dot com> <DDC434F2-B54F-4406-B96A-427519C53BE1 at inspiringapps dot com>
Le 30 janv. 08 à 16:40 soir, Joe Strout a écrit:

> On Jan 30, 2008, at 8:33 AM, Norman Palardy wrote:
>
>> The only downside is this is an all or nothing kind of solution.
>> What's needed is a way to designate that a tab into a control should
>> skip the control but if you click on the control it can get focus.
>> There might be a means to use your mechanism to detect this case and
>> behave accordingly.
>
> With all the typing that's gone into this thread, it seems like we
> could have solved it by now.  The Window.KeyDown event should get the
> Tab (or Shift-Tab) key before it's used to change the focus.  So, we
> could make a Window subclass (TabManagedWindow) which intercepts that
> keypress, and moves the focus in whatever custom way you choose --
> perhaps by looking at the ControlOrder plus a set of non-tabbed-into
> controls you set up in the Open event.
>
> Not quite as elegant as having it built-in, but not that big a deal,
> either.  If you have some unusual data-entry app that needs a
> nonstandard tab order, this would let you do it.

Do you know how we can access wether any control or just edit fields  
and listboxes can have the focus on Mac OS X? (you can choose either  
in system preferences).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>