|Jun 8, 2009, 08: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, 09: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|
|AppleScript Dialog||NecroDayz||Mac Programming||3||Apr 24, 2014 11:35 AM|
|Duplicate buttons in the choose photo dialog in contacts||minimo3||iOS 7||3||Nov 17, 2013 08:17 AM|
|Retina+a dialog box||rmger||OS X 10.8 Mountain Lion||0||Jul 16, 2013 06:22 PM|
|Dialog sheet||cpuin||Mac Programming||0||Jun 19, 2013 04:38 AM|
|Up for a challenge? Highlighting dialog buttons with ARD||kdpyke||OS X||2||Dec 3, 2012 04:21 PM|
All times are GMT -5. The time now is 03:20 AM.