Re: Expanding a window and adding controlls dynammicaly.
Re: Expanding a window and adding controlls dynammicaly.
- Subject: Re: Expanding a window and adding controlls dynammicaly.
- From: Mike Abdullah <email@hidden>
- Date: Thu, 4 May 2006 17:55:06 +0100
Just initialise the controls like you would any other Cocoa Object,
and perform the appropriate methods on them, such as:
[[myWindow contentView] addSubview: myControl];
Mike.
On 4 May 2006, at 17:17PM0, Anoop wrote:
Hai all,
My window controller contains Arrow type NSButton "|>" I Need to
expand the
Window region just bellow the button ,while clicking it should
show the
Labels bellow it and hide those labels in the second click.
I could expand the window region just above the Button how is it
possible
for me to Expand and hide a window region.
I tried set Frame method but its resizing is not performed as I
desired.
I used these codes to resize the window
frame.size.height -=200;
frame.origin.y =200;
[objPanel setFrame:frame display:YES animate:YES];
I Need to add some controls dynamically at a specified location of
my window
controller. How is it possible for me to add my button to a
location without
using interface builder.
--
With Regards,
Anoop
_______________________________________________
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