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: Joe Strout <joe at inspiringapps dot com>
Date: Wed, 30 Jan 2008 08:12:21 -0700
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>
On Jan 30, 2008, at 12:22 AM, Tom Benson wrote:

> Than in the gotFocus event of that control
>
>       If not CanGetFocus(me) then
> DeclareLib.PressKey(DeclareLib.PressKey.kTab)
>
> PressKey is a cross platform function that calls a system level
> declare to simulate a press of the Tab Key...

Do you have such a function?

Thanks,
- 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>


From  Wed 30 Jan 2008 15:19:51 +0000
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id AB9D659D5012; Wed, 30 Jan 2008 07:20:06 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME 
        autolearn=no version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id F0D6A59D4FD9;
        Wed, 30 Jan 2008 07:19:58 -0800 (PST)
Received: from m.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 8B8D2DBD168;
        Wed, 30 Jan 2008 09:19:55 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from QMTA05.emeryville.ca.mail.comcast.net
        (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48])
        by lists.realsoftware.com (Postfix) with ESMTP id 95160DBD15D
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 30 Jan 2008 09:19:52 -0600 (CST)
Received: from OMTA06.emeryville.ca.mail.comcast.net ([76.96.30.51])
        by QMTA05.emeryville.ca.mail.comcast.net with comcast
        id jPKy1Y00116AWCU0A0HZ00; Wed, 30 Jan 2008 15:19:52 +0000
Received: from rmailcenter91.comcast.net ([204.127.197.191])
        by OMTA06.emeryville.ca.mail.comcast.net with comcast
        id jTKs1Y00648FKsk8S00000; Wed, 30 Jan 2008 15:19:52 +0000
X-Authority-Analysis: v=1.0 c=1 a=13T1IWOBWRYA:10
        a=38wd67y9yYRY6Lnb1SwmZA==:17 a=CVLRCbwXRhm7UcfhbxoA:9
        a=ta_QeM9VsS5Qrt3mEFYDLtC1iRUA:4 a=6-x43y6uxGMA:10
        a=d1h8ZcBdFqxbkArOBAtslN3esN4A:4 a=37WNUvjkh6kA:10
Received: from [204.14.71.111] by rmailcenter91.comcast.net;
        Wed, 30 Jan 2008 15:19:51 +0000
From: keatk at comcast dot net
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: [FR] Provide a way to Remove Control from Tab order
Date: Wed, 30 Jan 2008 15:19:51 +0000
Message-Id: <013020081519 dot 15455 dot 
47A0959700048C7700003C5F22070208530B049D0199D30E0E05 at comcast dot net>
X-Mailer: AT&T Message Center Version 1 (Oct 30 2007)
X-Authenticated-Sender: a2FhLXdvcmxkQGNvbWNhc3QubmV0
MIME-Version: 1.0
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

Notreallya reply to the last message but Iwant it attached to this thread:

In the feedback report:
Andy Dent wrote:
-------------------------------------------------------------------------
Further to the evaluation about determining "whether or not a control can be 
tabbed into", this is unfortunately not a sufficient solution.

Some accessibility guidelines require that ALL fields be accessible by the 
keyboard. Thus, for a dense entry form, the real need is to be able to have the 
required and other high-priority fields tabbed through but be able to continue 
on and tab through the remainder.
-------------------------------------------------------------------------
Given the structure of  RS code, allowing TabOrder to be that flexible would 
likely not happen anytime soon but a flag could. So I added the follwing to the 
feedback report in response to Andy (and the evaluation:
A field could still be accessed by keyboard even if it's set not to be tabbed 
into, you if you code it that way, using keyboard shortcuts.
Another solution would be to be able to press a modifier key along with TAB to 
ignore the flag.
A third solution (IMO less desireable than a flag because it's more work) would 
be to have have TabbedInto and TabbedOutOf events (or one event with an in/out 
boolean parameter)and give us SetFocusNext(AsTabbed as Boolean) and 
SetFocusPrevious(AsTabbed as Boolean) methods on  RectControl.
As to the Evaluation may I suggest that TabStop in not good name for the flag 
as it implies one could not Tab past that control. The control should still be 
in the TabOrder - just skipped.
A better name for the flag might be TabOver as boolean.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

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


From  Wed 30 Jan 2008 15:28:22 +0000
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 2FD3459D540C; Wed, 30 Jan 2008 07:28:33 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME 
        autolearn=no version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id C931759D5403;
        Wed, 30 Jan 2008 07:28:28 -0800 (PST)
Received: from m.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id D1795DBD538;
        Wed, 30 Jan 2008 09:28:25 -0600 (CST)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from QMTA07.emeryville.ca.mail.comcast.net
        (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64])
        by lists.realsoftware.com (Postfix) with ESMTP id A7B78DBD52B
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 30 Jan 2008 09:28:23 -0600 (CST)
Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35])
        by QMTA07.emeryville.ca.mail.comcast.net with comcast
        id jRfL1Y0020lTkoC0A0BD00; Wed, 30 Jan 2008 15:28:23 +0000
Received: from rmailcenter91.comcast.net ([204.127.197.191])
        by OMTA04.emeryville.ca.mail.comcast.net with comcast
        id jTUP1Y00648FKsk8Q00000; Wed, 30 Jan 2008 15:28:23 +0000
X-Authority-Analysis: v=1.0 c=1 a=3AcnbX9DA_gA:10
        a=38wd67y9yYRY6Lnb1SwmZA==:17 a=JiQsX0z0JK2c82J04EEA:9
        a=5zEHkcrj8RDjlhJKnOshEY3A4uMA:4 a=MZPa1CqiPVsA:10 a=gi0PWCVxevcA:10
        a=v6LiTkjRtiPBQ1MaY0IA:9 a=WtVILpJ2deijOZCKxCEwqxWWv0kA:4
        a=37WNUvjkh6kA:10
Received: from [204.14.71.111] by rmailcenter91.comcast.net;
        Wed, 30 Jan 2008 15:28:22 +0000
From: keatk at comcast dot net
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: ... Remove Control from Tab order (simple work around)
Date: Wed, 30 Jan 2008 15:28:22 +0000
Message-Id: <013020081528 dot 1925 dot 
47A09796000750680000078522070208530B049D0199D30E0E05 at comcast dot net>
X-Mailer: AT&T Message Center Version 1 (Oct 30 2007)
X-Authenticated-Sender: a2FhLXdvcmxkQGNvbWNhc3QubmV0
MIME-Version: 1.0
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

I missed the original post which may have the answer to thsi question:

-------------- Original message -------------- 
From: Joe Strout <joe at inspiringapps dot com> 

> On Jan 30, 2008, at 12:22 AM, Tom Benson wrote: 
> 
> > Than in the gotFocus event of that control 
> > 
> > If not CanGetFocus(me) then 
> > DeclareLib.PressKey(DeclareLib.PressKey.kTab) 
> > 
> > PressKey is a cross platform function that calls a system level 
> > declare to simulate a press of the Tab Key... 
Besides that Xplatform KeyPress Function (which I would LOVE to hear about), 
how do determine if the control was tabbed into:  KeyBoard.AsyncKeyDown?
- Karen
_______________________________________________
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>