I think it's a first responder problem, but I'm not sure. I'm implementing an edit window for data in a table view. Very similar in concept to the UI for editing filter rules in Mail.app.
I have an editing window that I attach to my primary window with:
[NSApp beginSheet: criteriaEditPanel
modalForWindow: [self window]
modalDelegate: self
didEndSelector: @selector(criteriaEditDidEnd:returnCode:contextInfo:)
contextInfo: (void *)[criteriaList objectAtIndex: index]];
The panel displays properly, from the title bar of the main window. I can manipulate the pop-up controls on the panel with the mouse, but I can't edit the text fields and I can't tab between fields. Everything else works fine. Any ideas?
joe
Turn off Scroll Lock on your keyboard Look at your keyboard and see if you can find a Scroll Lock key (which might be abbreviated, such as SCRLK). If it has an illuminated status light, press the key to turn off the light. Then try Excel again. With luck, this solved your problem.
Excel often freezes upon opening or it suddenly stops responding when you open a file. This issue is frequently caused by previously installed add-ins or macros and not by Excel itself. Antivirus software and Windows updates are other common causes of this error.
The only way to resolve the issue is to use the mouse to click on a cell, at which time the entire keyboard become functional again. For example, if i use Alt+H+H to fill color of a cell, as soon as i select a color the keyboard will freeze.
Disable scroll lock. Check the status bar in Excel to see whether scroll lock is enabled. If it is, disable it using the Scroll Lock key on your keyboard, or using the on-screen keyboard in Windows. If you have an extended keyboard on a Mac, you can press either F14, Shift + F14, or Command + F14 to toggle scroll lock.
Solved. Believe it or not, you have to have the Title Bar enabled for the panel, even though it's never visible when displayed as a Sheet. When enabled it in IB, keyboard input started working.
@spudwaffle - none of the objects had Refuse First Responder checked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With