• 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: [NSDrawer] Why isn't my default button blue+pulsing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSDrawer] Why isn't my default button blue+pulsing?


  • Subject: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • From: Frédéric BLANC <email@hidden>
  • Date: Mon, 6 Jun 2005 01:18:03 +0200

   Hi Cameron,


> (…) I think the intended use of drawers is for displaying
> auxiliary information.
I agree.

> Any pushbuttons in a drawer should be related
> to control of that auxiliary information.
What I wanted to do was still compliant with this context: my drawer
would display contextual data upon which one could bring some
modifications (hence the "Submit" button to validate those changes).

> The action of the main
> window should not be affected by whether or not a drawer is open.
Hmm… I'm not sure to have understood the idea since once the "Submit"
button is pushed, the main window should be updated with this new
data…

> Thus it seems to me that you are misusing drawers if you are
> expecting that a pushbutton in a drawer will be the default button.
I thought that if my main window didn't sport any button, my drawer
could use one (to inherit the automatic handling of the "Return"
keystroke). I may have misused a drawer here… Thanks for giving me
your opinion.

> I'm just guessing, but it seems that you probably should be using a
> sheet (or a dialog) instead of a drawer if you want the user's focus
> to be concentrated on that pushbutton.
You're right; but I didn't want something so modal (hence the drawer…)
I guess the "default" aspect of this pulsing button is intimately
bound to this "modal" concept; I didn't get it straight away, but now
that I think about it thx to you, it seems quite logical. I think I'll
drop the "default" aspect of this button, and listen to the "Return"
keystroke to validate the changes. (Note: This was an intermediate
state before some "Undo" feature has landed; b/c with such a feature,
I don't even need a "Submit" button ;) !)

Thx Cameron: you didn't solve my problem as I imagined, but you make it end :) !

Have a nice week,


--
— Frederic BLANC (email@hidden)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >[NSDrawer] Why isn't my default button blue+pulsing? (From: Frédéric BLANC <email@hidden>)
 >Re: [NSDrawer] Why isn't my default button blue+pulsing? (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Flickering buttons?
  • Next by Date: OSX Version
  • Previous by thread: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • Next by thread: Re: [NSDrawer] Why isn't my default button blue+pulsing?
  • Index(es):
    • Date
    • Thread