|Jun 8, 2009, 09:56 AM||#1|
Dialog with few buttons
I am using Cocoa with Obj C.
I am showing some dialogs using "NSRunAlertPanel". One button is made default (which is shown in blue color). When that dialog popsup, by clicking "tab", I am able to change the focus to different button (I am seeing buttons surrounded by "blue" color). But when I press enter, that particular button is not clicked. But the default button is only getting clicked.
Is it the default behavior on Mac or do I have to write any additional code for this?
|Jun 8, 2009, 10:00 AM||#2|
Try testing your application with full keyboard access turned off and turned on, just to see how this particular dialog behaves under both settings. I suspect that you press a different key other than Enter/Return to select a tabbed-to non-default button (Space?) on the Mac OS.
iMac Intel (Rev H, 27"), 1TB HDD, 16GB RAM, 10.8.4
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|How to close page when dialog box with 'OK' button appears||mac06||Mac Applications and Mac App Store||2||Aug 13, 2011 10:49 PM|
|Mac OS Lion dev. 4 Curious Dialog Box||-BigMac-||Mac OS X 10.7 Lion||5||Aug 9, 2011 07:11 PM|
|Update dialog in R U S S I A N!||Odisey||Windows, Linux & Others on the Mac||0||May 27, 2011 09:50 AM|
|How to create a dialog after click button?||pnitnam||iPhone/iPad Programming||0||Jul 30, 2008 04:21 AM|
|OSX Dialog boxes, glowing buttons?||Uoila||Mac Basics and Help||2||Feb 7, 2008 07:30 PM|
All times are GMT -5. The time now is 12:50 AM.