This is NXBrowser-with-acceptArrowKeys:YES in view mode; [Up]
Date: Sun 16-Jun-1991 08:33:23 From: eps@toaster.SFSU.EDU (Eric P. Scott) Subject: NXBrowser with acceptArrowKeys:YES I just couldn't leave well enough alone. When I (a firm believer that mice are vermin) realized that I could enable arrow keys for an NXBrowser, I was ecstatic. So I sent it an acceptArrowKeys:, and asked its window to unlike a mouse click, the NXBrowser's action message is never sent. I want things to behave like Workspace Manager Browsers! If I have to subclass NXBrowser and override keyDown:, I'm not going to be happy--that means that I can't use Interface Builder's prefab NXBrowser (well, I could, but things would get ugly), and instead need to set up a custom view and do all the initialization manually. The docs also say to keep my paws off [self sendAction:action to:target], and possibly also look at which key was pressed (for example, to have a left arrow from column 0 reset the currently selected NXBrowserCell). No doubt some other nonsense as well. Am I confused, or is NXBrowser just not well thought-out? [I assume SavePanel/OpenPanel doesn't use this, instead picking off arrow keys with textDidEnd:endChar: from its field editor?] Any suggestions are welcome! -=EPS=-
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.