On Sat, 18 Nov 2006, Graeme Geldenhuys wrote:

> On 11/17/06, George Birbilis <[EMAIL PROTECTED]> wrote:
> > Speaking of tab order, I remember I had seen once a form designer, where tab
> > order was shown as a number (white number in a small black circle) at say
> > the top-right of each control that was visiteable by tab on a form (for the
> 
> I've seen that as well, but can't remember where.  I don't think it
> was GExperts (awesome plugin for Delphi) - maybe Castalia.
> 
> In the end I always set tabs, using the following method, which
> requires no plugins and works perfectly.  Basically every component's
> Tab Index is set to 0. See below for an explanation.
> 
> * Start in reverse order.  What must be the last tab in the form,
> before jumping to the first tab.
> * Set that component's Tab Index to 0
> * Now work your way to the first component (remember it's reverse
> order). Set the second last component's Tab Index to 0.  Doing so auto
> sets the last component's Tab Index to 1.
> * Now keep going. Set the 3rd last component's Tab Index to 0. Again
> the 2nd last and last components Tab Index's are auto modified. When
> you come to components like Group Boxes, don't select the items in the
> Group Box, rather select the Group Box itself. We'll handle the
> components inside the Group Box later.
> * Once you reach the first component, most tabs orders are now fixed.
> * Last remaining step is setting components inside GroupBox's.  Follow
> the same process, but just with the components inside the group box.
> Start at the last component and work towards the first, setting every
> Tab Index to 0.
> 
> That's it.  As I said, it's pretty much setting each component's Tab
> Index to 0. No need to remember the last used number, etc.  :-)

GExperts has a perfectly simple dialog which sets the tab order in the
order that you selected the components (but still allows you to change
the order)

Seems to me that this is a perfectly simple dialog to do.

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to