Skip navigation.
 
mlRe: NSTabView and edit fields
FROM : Ricky Sharp
DATE : Tue Aug 01 18:22:25 2006

On Tuesday, August 01, 2006, at 10:15AM, Matt Neuburg <<email_removed>> wrote:

>(2) the problem you're describing (the field has apparent focus but typing
>does nothing) is easily solved by using delayed performance:
>
>- (void) doIt: (id) dummy {
>    [myTabView selectTabViewItemAtIndex:1];
>}
>
>- (IBAction)goToSecondTab:(id)sender {
>    [myTextField setStringValue:@""];
>    [self performSelector:@selector(doIt:) withObject:nil afterDelay:0.1];
>}


Just be careful when employing solutions such as this.  I used to have something similar to delay the start of speech synthesis when users entered a particular screen in my kiosk.  However, my automated testing framework could exit the screen before the selector would be called.  I believe in my case it caused a crash.

I would definitely look for other solutions and use this one as a last resort.

--
Rick Sharp
Instant Interactive(tm)

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