Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech2!swrinde!cs.utexas.edu!utnut!nott!cunews!dbuck
From: dbuck@superior.carleton.ca (Dave Buck)
Subject: Re: [VW2.0] Tab order problem
X-Nntp-Posting-Host: superior.carleton.ca
Message-ID: <DIu6HG.LoM@cunews.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Carleton University, Ottawa, Canada
References: <30B9B86C.6771@Cherniak.ON.CA> <DIrMqF.815@txnews.amd.com>
Date: Thu, 30 Nov 1995 03:17:40 GMT
Lines: 28

In article <DIrMqF.815@txnews.amd.com>,
Paul G. Schaaf <paul.schaaf@amd.com> wrote:
>To set the Widget tab order, open the canvas and shift-select 
>each of the widgets in the order you want the tab to move the 
>focus.  When they are all selected, choose 'bring to front' from 
>the pop-up menu, and then install the canvas. 

The technique you described is the ideal way to set the tab order if
you are designing a normal window.  From time to time, you may need to
change the tab order programmatically such as when you dynamically add
or change subcanvases.  In this case, the solution I provided will
work.

Note to all people wanting to change tab order:  Only use the solution
I provided if you are doing unusual things in the window.  For most
windows, you can just use the 'move to front' feature.

Thanks for pointing this out.  You are quite correct.

>Makes one wonder what other marvelous features are provided that 
>one never thought to look up.  

It's kind of scary, actually :-)

David Buck
dbuck@magi.com


