Weird NSScrollView problems!!!
Weird NSScrollView problems!!!
- Subject: Weird NSScrollView problems!!!
- From: Manish Pattath <email@hidden>
- Date: Tue, 11 Nov 2003 20:43:13 -0800 (PST)
Hi All,
I have a NSMatrix made up of NSButtonCells.chose
Layout Menu-> make sub views of-> NSScrollView.
that is to say, my NSMatrix is enclosed in a
NSSCrollView.
depending on the folder selected by user, the images
in those folder are populated in the NSButtonCells.
There are chances that a folder contains no Images /
100's of Image etc.
I can navigate from one folder to another using a
combobox on the toolbar.
My problem is, the Scrollbars appear correctly when
for the first time i access a folder, say Folder A.
when i go to another folder say Folder B [here too the
Scrollbars are not appearing] and return back to
Folder A, the Scroll bars
are not displayed at all.when i click on the LAST
visible NSButtonCell edge,the scrollbar appears
revealing all the NSButtonCells.
In the code, I know the number of images based on
which i dynamically create the reqd number of rows and
coloumns of the Matrix
AND I DO NOT set the NSMAtrix as NSScrollView's
documentView or anything.
Is this correct or i need to do any such thing.?
I have tried all the Scroll* methods of the
NSScrollView and NSMatrix and their base classes, BUT
with no results.
there must be something wrong in the way i am handling
the things.
Can anyone pls throw some light on this?
2]
There is a "Select All" check box to select All
images,
When i go to a folder say Folder A which has 6 Images.
now i Navigate to Folder C which has no Images[select
All option is disabled here]. When i click on the
empty areas inside the ScrollView,
even though the SelectAll checkbox is disabled, it
gets checked!!
before navigating from Folder A to Folder C i remove
the matrix ROW BY ROW saying "removeRow" inside a for
loop.
should anyhting else be taken care of?
Why does this happen?
Kindly help as i am unable to make out anything.
Rgds,
manish.
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
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.