-[NSCell setSelectable:]... not working
-[NSCell setSelectable:]... not working
- Subject: -[NSCell setSelectable:]... not working
- From: Adam Atlas <email@hidden>
- Date: Fri, 10 Jan 2003 19:36:31 -0500
I have a simple subclass of NSCell that is meant to present attributed
strings and draw a few other things in the background. I need it to be
selectable (but not editable), and I have everything up to the
being-selectable part working. I call [self setSelectable:YES]; in the
init... method, but when I run the application, it is not selectable. I
am using NSCell's built-in support for NSAttributedStrings (category
NSCellAttributedStringMethods, also in NSCell.h).
Am I doing this the right way? I don't see why it shouldn't work,
unless there's another step involved that I missed, or if I somehow am
required to use a container like an NSTextField?
Thanks,
Adam Atlas
--
Adam Atlas
Where a calculator on the ENIAC is equipped with 18,000 vacuum tubes
and weighs 30 tons, computers in the future may have only 1,000 vacuum
tubes and weigh only 1.5 tons. - Popular Mechanics, 1949
_______________________________________________
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.