Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > IB Question: How to make an image non-clickable?

IB Question: How to make an image non-clickable?
Thread Tools
Grizzled Veteran
Join Date: Jun 2002
Status: Offline
Reply With Quote
Mar 22, 2003, 02:43 PM
 
Im a IB newb and am wondering, I have a few images that are just that, images. They should not be clicked. But by default, they are. When you click on them it changes its state with a darker overlay. Im just wondering how I can go about just having an image without a click.

Thanks
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Mar 23, 2003, 12:17 PM
 
It sounds like you're using a button. What you want, if you're using Cocoa, is NSImageView.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Grizzled Veteran
Join Date: Jun 2002
Status: Offline
Reply With Quote
Mar 24, 2003, 12:24 PM
 
Sorry, I am using Applescript. How do I go about this please?
     
Grizzled Veteran
Join Date: Jun 2002
Status: Offline
Reply With Quote
Mar 25, 2003, 01:59 PM
 
Ive got a custom view and changed it to NS ImageView. But, thing is, im stuck as to how I am supposed to add an image into this.

Im using Applescript, if that helps. Im a newb, forgive me=-).
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Mar 25, 2003, 02:37 PM
 
Add the image to your project and put its name into the image view's "Icon" field.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Grizzled Veteran
Join Date: Jun 2002
Status: Offline
Reply With Quote
Mar 25, 2003, 05:03 PM
 
Don't wanna sound stupid, but, when I click on NS ImageView, and Attributes, I see not applicable?

When I double click it I get the same thing.

Sorry to ask all these questions
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:55 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2