Re: show selected image in a segmented control
Re: show selected image in a segmented control
- Subject: Re: show selected image in a segmented control
- From: Sandro Noël <email@hidden>
- Date: Thu, 26 Nov 2009 23:39:56 -0500
On 2009-11-26, at 11:02 PM, Jerry Krinock wrote:
>
> 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.
that depends if your segmented control in Interface builder has a mode of select one.
if it is select any or select none, the segmented control will not show the selection.
best regards.
Sandro
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden