Re: Custom view background texture/color
Re: Custom view background texture/color
- Subject: Re: Custom view background texture/color
- From: Mike Abdullah <email@hidden>
- Date: Tue, 26 Sep 2006 16:56:36 +0100
Begin forwarded message:
From: Mike Abdullah <email@hidden>
Date: 26 September 2006 16:56:01 BDT
To: Artemiy Pavlov <email@hidden>
Subject: Re: Custom view background texture/color
Reply-To: email@hidden
You'll need to write some code that sets the image for the custom
view to use. Something like:
- (void)awakeFromNib
{
[backgroundImageView setImage: [NSImage imageNamed:
@"backgroundImage"]];
}
On 25 Sep 2006, at 23:20, Artemiy Pavlov wrote:
Thanks Jeremy!
However I still can't figure out how to insert an image so it is
displayed on a background of all the elements which are now in
this CustomView... :-/
On 25 Sep 2006, at 10:37 PM, Jeremy Sacket wrote:
Artemiy,
1. Select the Custom view.
2. Open the Inspector.
3. Choose Custom Class in the Pull Down Menu
4. Select NSImageView
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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