• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Fwd: NSImageView's images are invisible until clicked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: NSImageView's images are invisible until clicked


  • Subject: Fwd: NSImageView's images are invisible until clicked
  • From: Ben Kazez <email@hidden>
  • Date: Fri, 04 Jun 2004 16:11:13 -0400

Whoops! Just checked IB and it thinks it's an NSMatrix of NSImageCells. Maybe this will help?

Begin forwarded message:

From: Ben Kazez <email@hidden>
Date: June 4, 2004 4:05:48 PM EDT
To: email@hidden
Subject: NSImageView's images are invisible until clicked

I've got an NSMatrix of NSImageViews that don't hold any images until they are told to do so programmatically:

=======================================================
[[squares cellAtRow:row column:col] setImage:(p == PLAYER_BLACK ? image_BLACK : image_RED)];
=======================================================

However, when this code runs, I can't see the image until I click on that spot in the NSMatrix. Any ideas?

Ben
--
Ben Kazez
http://ben.kazez.com/


--
Ben Kazez
http://ben.kazez.com/
_______________________________________________
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.


  • Prev by Date: NSImageView's images are invisible until clicked
  • Next by Date: Re: Representing UTC time in a readable format
  • Previous by thread: Re: NSImageView's images are invisible until clicked
  • Next by thread: Project Builder and 10.1
  • Index(es):
    • Date
    • Thread