• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: select Button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: select Button


  • Subject: Re: select Button
  • From: "John Q." <email@hidden>
  • Date: Wed, 1 Jan 2003 17:42:06 +0100

Thank you Nicholas!!
I have check this last week, but when I test the interface in the interface builder,
it does not work!! I don4t know why!! I have read the same what you4ve said in the documentation from apple.
But I will check this out once more!!
I hope it will run!!
To Jean-Oliver from the list:
Do you know something about taborder in microsoft systems?
Windows is stupid but the taborder is great!! You can make a taborder and navigate with the tab or courser keys through Buttons, textfields and so on.
You need no mouse to navigate a program!!
On the cocoa gui is it according to the ADC possible thats the same what Nicholas told me!!
But it is not running on my system!!
I would make it twice like the manual from Nicholas and hope it will work!!

Thanks for helping
Raphael


Am Dienstag, 31.12.02 um 18:17 Uhr schrieb Nicholas Riley:

On Tue, Dec 31, 2002 at 05:25:01PM +0100, John Q. wrote:
Hi guys!!
I4m new in the list and start to program with cocoa!!
In my projekt I must have one not normaly thing for a mac!!
I would like a program wich must use buttons selection!!
I would like to jump from button to button with the courser keys!!
And if i press enter the funktion get called!!

Just subclass NSButton, intercept key events and manually set the
first responder. Cocoa already has support for a key loop that
includes buttons, it just is navigated with tab, shift-tab and the
space bar to invoke, rather than the arrow keys and return/enter as
you requested.

I need this selection for some drawers too!! If the drawer comes out
the first button
must be selected!!

You can do this by manually setting the first responder to a button in
the drawer.

--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSMutableDictionary crashing?
  • Next by Date: Re: select Button
  • Previous by thread: Re: select Button
  • Next by thread: Re: select Button
  • Index(es):
    • Date
    • Thread