On 2009 Nov 26, at 11:04, Pierre Berloquin wrote:

> I'm using a segmented control with four segments.
> I initialise it with four images.
> It does display the images perfectly but ... it doesn't show which image is
> selected.

I use segmented controls with images and do not have this problem.  The 
selected segment is given a blue-ish background.\

For more evidence, if you have Xcode in all-in-one view, look at the segmented 
control in the left side of the toolbar which shows "project" vs. "debug" 
icons.  Note that the selected one turns gray-ish.

Maybe your images don't have an alpha mask?

> How can I highlight the selected segment/image?

Sandro's code looks like it will work if you want to do it that way.

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to