I have a simple lib that is basically a refactored mash of MacOSLib
and Windows Functionality Suite.
Both contain a PressKey Function.
Basically, the module merges these into a single function which is
conditionally compiled.
I'm not at home right now so don't have it with me, but it's easy to
do yourself...
There is a lot of cross over (functionality wise) between these two
excellent contributions, and I found merging them together more
convenient that making conditional statements in my wrapper code...
- Cheers,
Tom
On 31/01/2008, at 2:40 AM, Joe Strout wrote:
> 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.
>
> Best,
> - Joe
>
> --
> Joe Strout
> Inspiring Applications, Inc.
> http://www.InspiringApps.com
>
>
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|