Setting the image on a pop up button
Setting the image on a pop up button
- Subject: Setting the image on a pop up button
- From: Buddy Kurz <email@hidden>
- Date: Tue, 10 Dec 2002 07:23:44 -0800
How do I display an image to the left of the text on a popupbutton? I
can set the image on the individual menu items and it gets copied to
the button title when an item is selected manually but [button
selectItemAtIndex:index] doesn't change the button title or text. I
used [button setTitle:[button titleOfSelectedItem]] to update the title
after updating the selection but there doesn't seem to be an equivalent
method to set the image.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.