Re: Icon style button
Re: Icon style button
- Subject: Re: Icon style button
- From: Ondra Cada <email@hidden>
- Date: Tue, 13 Nov 2001 17:09:14 +0100
David,
>
>>>>> David Remahl (DR) wrote at Tue, 13 Nov 2001 16:55:18 +0100:
DR> I would like to create a control which acts just like a button (is
DR> depressed when mouse-down, action if mouse-up within bounds, noting if
DR> mouse up outside. Should appear as depressed only while inside of the
DR> button). However, I would like it to mimic an icon. The standard Toolbar
DR> items do just this. Has anyone sucessfully overridden NSControl or
DR> NSButton to create a control like this. The depressed state should either
DR> be a darkened version of the standard image, or a separate image.
Why you don't want just to assign an image and an alternate image to a button?
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc