realbasic-nug
[Top] [All Lists]

Re: Advancing focus by tab order

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Advancing focus by tab order
From: Emile Schwarz <emile dot a dot schwarz at wanadoo dot fr>
Date: Mon, 27 Feb 2006 19:09:46 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060227172838 dot 1FDC4112F7F8 at lists dot realsoftware dot com>


realbasic-nug-request at lists dot realsoftware dot com wrote:
Subject: Advancing focus by tab order
From: Steve Goodrich <steveg at longbodycs dot com>
Date: Mon, 27 Feb 2006 10:19:29 -0700

Is there an automated way to tell a REALbasic application to move focus to the next control on a form?

Set their Control Id values in the increase order...

1, 2, 3, 4, 5, 6, 7 and so on.

Also, you can use place EditField1.SetFocus (EditField1 is the reference of the first EditField in the form [Window]) in EditField9.LostFocus (EditField9 is the reference of the last EditField in the form [Window]).

You may also use this trick in the .GotFocus Event if you want to avoid that Control...


HTH,

Emile


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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