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)
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 mails | Author | Date |
|---|---|---|
| John Stiles | Jul 28, 04:15 | |
| John Stiles | Jul 31, 22:54 | |
| Wagner Truppel | Jul 31, 23:45 | |
| John Stiles | Aug 1, 00:03 | |
| Ricky Sharp | Aug 1, 02:24 | |
| John Stiles | Aug 1, 02:53 | |
| Matt Neuburg | Aug 1, 17:14 | |
| John Stiles | Aug 1, 17:30 | |
| Ricky Sharp | Aug 1, 18:22 | |
| Ricky Sharp | Aug 1, 18:25 | |
| Matt Neuburg | Aug 1, 18:38 | |
| John Stiles | Aug 1, 19:09 | |
| Matt Neuburg | Aug 1, 19:35 |






Cocoa mail archive

