• 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: Icon style button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Icon style button


  • Subject: Re: Icon style button
  • From: David Remahl <email@hidden>
  • Date: Tue, 13 Nov 2001 17:38:09 +0100

> On Tuesday, November 13, 2001, at 10:55 AM, David Remahl wrote:
>
>> I would like to create a control which acts just like a button (is
>> depressed
>> when mouse-down, action if mouse-up within bounds, noting if mouse up
>> outside. Should appear as depressed only while inside of the button).
>> However, I would like it to mimic an icon. The standard Toolbar items do
>> just this. Has anyone sucessfully overridden NSControl or NSButton to
>> create
>> a control like this. The depressed state should either be a darkened
>> version
>> of the standard image, or a separate image.
>
> Sounds like NSButton already does what you want if you turn off the
> bordered attribute.
>
Yes! Thanks...That slipped my eye...

/ david


References: 
 >Re: Icon style button (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Obtaining version number of framework at runtime... API avail able?
  • Next by Date: Re: Playing sounds without QT
  • Previous by thread: Re: Icon style button
  • Next by thread: Re: Icon style button
  • Index(es):
    • Date
    • Thread