Skip navigation.
 
mlRe: NSTabView and edit fields
FROM : John Stiles
DATE : Tue Aug 01 00:03:03 2006

On Jul 31, 2006, at 2:45 PM, Wagner Truppel wrote:

> John,
>
> I tried your sample and I reproduced the first part of your claim, 
> but not the second, namely, that clicking on the field and then 
> switching tabs by means of the tab bar makes the field lose its 
> halo. The halo never went away when I tried it, no matter what.
>
> It seems to me that the behavior you described is normal and 
> correct. After all, once the field has gained focus, it remembers 
> that it has the focus. Switching to another tab should not make the 
> field lose its focus since the field isn't accessible anyway until 
> the user returns to that tab, in which case the state of the 
> application is as it was when the user last left that tab view.
>
> Or perhaps I misunderstood your problem and am missing something. :)


The problem is that the text field can have a halo but not actually 
have focus.

Please use the buttons to switch between tabs, not the tab bar. In 
the real code, it's a "tabless" tab view; the user can only navigate 
with buttons, not with the tab bar. Maybe I should have hidden the 
tabs in the sample, too, but I wanted to make it apparent that I was 
using an NSTabView.

Related mailsAuthorDate
mlNSTabView and edit fields John Stiles Jul 28, 04:15
mlRe: NSTabView and edit fields John Stiles Jul 31, 22:54
mlRe: Re: NSTabView and edit fields Wagner Truppel Jul 31, 23:45
mlRe: NSTabView and edit fields John Stiles Aug 1, 00:03
mlRe: NSTabView and edit fields Ricky Sharp Aug 1, 02:24
mlRe: NSTabView and edit fields John Stiles Aug 1, 02:53
mlRe: NSTabView and edit fields Matt Neuburg Aug 1, 17:14
mlRe: NSTabView and edit fields John Stiles Aug 1, 17:30
mlRe: NSTabView and edit fields Ricky Sharp Aug 1, 18:22
mlRe: NSTabView and edit fields Ricky Sharp Aug 1, 18:25
mlRe: NSTabView and edit fields Matt Neuburg Aug 1, 18:38
mlRe: NSTabView and edit fields John Stiles Aug 1, 19:09
mlRe: NSTabView and edit fields Matt Neuburg Aug 1, 19:35