Just starting out..... Please help
Just starting out..... Please help
- Subject: Just starting out..... Please help
- From: Graham Wihlidal <email@hidden>
- Date: Sun, 8 Jul 2001 22:29:31 -0600
Hey list,
I have some questions I was hoping you could answer. I already
understand how outlets, actions, etc.. work
But, how do I call a function defined in an Obj-C class that is made
for an event from InterfaceBuilder to call it normally?
Eg)
- (void)LoginWindow_Display:(id)sender
{
[LoginWindow center];
[LoginWindow makeKeyAndOrderFront:self];
}
I have that code attached to a button in my interface. It works fine..
How can I call that in code regardless of the interface?
- (void)LoginWindow_Display:(id)sender
{
[LoginWindow center];
[LoginWindow makeKeyAndOrderFront:self];
}
I tried this:
[nil AboutWindow_Display];
It compiled but didn't work. Anyone know how?
My other question is, how can I make a Cocoa editfield into a password
field (i.e values hidden by a single character)
Thank you in advance,
Graham