NSMatrix Subclassed NSScrollView viewable area width?
NSMatrix Subclassed NSScrollView viewable area width?
- Subject: NSMatrix Subclassed NSScrollView viewable area width?
- From: James Andrews <email@hidden>
- Date: Tue, 18 Jan 2005 19:35:12 -0500
Hi
I've created an NSMatrix subclass, that in IB I have made a subclass
of NSScrollView.
I've overWritten initWithFrame so I can set some stuff beforehand, and
after [super initWithFram:FrameRect] I want to get the width of my
viewable area so I can decide on the amount of columns I want to
generate. I use the bounds method of the NSMatrix to get the bounds,
thinking that would be the width of view, but it is not. I figured,
that maybe it was a method in an inherited class so I climbed the
hierachy and looked around and don't see anything usable. I even
checked the Hierachy of NSScrollView and no avail. Can anyone point
me in the right direction.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden