display a text field?
display a text field?
- Subject: display a text field?
- From: Bob Ueland <email@hidden>
- Date: Mon, 5 Nov 2007 06:40:33 -0800 (PST)
I am trying to create a text field programmatically and to display it in the window. Here is the code
-(void)awakeFromNib;
{
NSTextField *myTextField=[[NSTextField alloc] initWithFrame:NSMakeRect(100.0, 100.0, 80.0, 25.0)];
}
The code runs OK but no text field is shown in the window. What must I do to get it to display in the window?
Thanks Bob
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden