Re: Scrolling List of Thumbnails?
Re: Scrolling List of Thumbnails?
- Subject: Re: Scrolling List of Thumbnails?
- From: Jerry LeVan <email@hidden>
- Date: Thu, 17 Jun 2004 08:35:04 -0400
Hi,
Well, it turns out that I can make a matrix of image cells
embedded in a scrollview using IB.
The good news is that images are scaled "for free" so that
I don't have to scale them myself.
The bad news is that there does not seem to be any easy
way to perform any kind of action by clicking on one of
the images. ( I want to show the image in a larger view)
Image cells appear to be "dead" to actions. NSMatix appears
to want to forward every click to the image, which does
not know what to do..Highlighting also appears to be a problem.
*****************
My second line of inquiry was to construct a matrix of button
cells embedded in a scrollview via IB.
The good news is that I can "click" on one of the images and
cause an action to be triggered that allows me to identify
the image.
The bad news is that assigning an image to a button cell does
not cause scaling to occur and the button cell does not respond
to command that enables scaling. Consequently I will have to
manually scale the image before assigning it to the button
cell.
*****************
Observations and Questions...
I found it *very* difficult to make a connection in IB from
my controller object to the NSMatrix, IB wanted to always
choose the matrix element instead. I found that if I created
several entries in the matrix it would be marginally easier
to perform the connection. (I wanted the finished interface
to only have one instance showing at startup...).
Is is possible to subclass NSView so that it can respond to
a click like the the NSButton does ie trigger an action
routine?
Thanks
Jerry
_______________________________________________
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.