• 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
Re: NSMatrix Opacity ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix Opacity ?


  • Subject: Re: NSMatrix Opacity ?
  • From: "Lizardo H. C. M. Nunes" <email@hidden>
  • Date: Mon, 08 Oct 2001 13:07:17 -0200

Well, I've just omitted the methods:

- (BOOL)drawsBackground

and

- (BOOL)drawsCellBackground.

By the way, can I set the thickness of the border?

Regards,
Lizardo H. C. M. Nunes

...But we preach Christ crucified, to the Jews a stumbling block, and to the
Greeks foolishness;(...)but God has chosen the foolish things of the world
to confound the wise, and God has chosen the weak things of the world to
confound the things which are strong;(I Cor.1:23&27)

P.S.: I realize that I couldn't make myself clear and I apologize. I'm
learning Cocoa in my spare time and I use to post to this list too late at
night...

>From: "Lizardo H. C. M. Nunes" <email@hidden>
>To: email@hidden
>Subject: NSMatrix Opacity ?
>Date: Mon, Oct 8, 2001, 2:06 AM
>

> Hi,
>
> I'm playing around with the AppKit and now I'm studying different kind of
> matrixes. A piece of my " MyMatrix.m " is as follows,
>
> - (id)initWithFrame:(NSRect)frameRect
> {
> ( ... )
>
> [ self initWithFrame:frameRect
> mode:(int) aMode
> prototype: (id) aCell
> numberOfRows: (int) anInteger
> numberOfColumns: (int) anInteger ];
>
> ( ... )
>
> return self;
>
> }
>
> I also have
>
> " -( BOOL )isOpaque{ return YES; } "
>
>
> Unfortunately, I can't resize the Window without loosing Matrix
> definition. I tried
>
> [ self setNeedsDisplay: YES ];
>
> in " -( id )iniWithFrame: ... " above and it didn't work. I'm pretty sure
> there's a simple solution, but I couldn't figure it out.
>
> Any help would be great,
> Lizardo H. C. M. Nunes


  • Prev by Date: NSTextField action
  • Next by Date: Re: NSString to *NSGlyph conversion...
  • Previous by thread: Re: NSMatrix Opacity ?
  • Next by thread: How to modify dialup number, login and password
  • Index(es):
    • Date
    • Thread