Article View: borland.public.jbuilder.java.language
Article #18616Re: tab through inappropriate objects
From: Paul Furbacher
Date: Sun, 10 May 1998 00:00
Date: Sun, 10 May 1998 00:00
33 lines
1911 bytes
1911 bytes
Alex Humphreys wrote: > > I just set up my screens to let the user tab through the various fields > and buttons, and hit return on the button they want to click. > > Only problem is: some inappropriate objects get the focus (meaning that > you have to tab through images and uneditable textfields to get to > buttons and choiceControls). > > Is there a way to set the focusPath for a component or make an object so > it can't gain focus (I know with buttons I can set focusAware to > false--but what about the other objects?)? For any UI object which needs to be painted in "enabled" colors, you can do what the "International" demo does with image controls: place an enabled control (image, textfield, etc.) in a disabled panel. Simply disabling an image control produces horrifying results -- the image is painted in disabled colors. I'm not sure who made that design decision, but there isn't precedence for such a painting style -- images are typically "disabled" wrt focus, but "enabled" wrt to drawing. Imagine Photoshop showing all other layers but the selected one in disabled colors. Now, there's cool idea, eh? Or, imagine all images in HTML -- essentially disabled -- being painted in such "disabled" colors! That would be quite novel and so appealing. Paul Furbacher
Technical Details
Message-ID:
<3555D71A.24CA@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35535A63.8A88FF39@sema4.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,359e1d6406239bd6 X-Google-Attributes: gidf74b3,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: tab through inappropriate objects Date: 1998/05/10 Message-ID: <3555D71A.24CA@bilbo.bio.purdue.edu> X-Deja-AN: 351969816 Content-Transfer-Encoding: 7bit References: <35535A63.8A88FF39@sema4.com> Content-Type: text/plain; charset=us-ascii Organization: Biological Sciences, Purdue Univ. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.language