Re: Dynamically changing UI properties
Re: Dynamically changing UI properties
- Subject: Re: Dynamically changing UI properties
- From: Finlay Dobbie <email@hidden>
- Date: Tue, 30 Oct 2001 18:30:50 +0000
On Tuesday, October 30, 2001, at 06:18 pm, Dan Huntsinger wrote:
The outlet to the Text Field here is called "textField". For some
reason
the above code isn't doing what I want it to. Is there something I
need to
do extra to "update" the window so that the text field will indeed be
un-editable and un-selectable?
Nope... Are you *SURE* the outlet is connected up right?
My second question is about enabling and disabling buttons to the user
by
"graying" them out. I'm guessing you might be able to do this with
NSUserInterfaceValidation or NSUserInterfaceItem, but I'm not quite up
to
speed with these with my current knowledge and skills. Is there an
easier
way?
Just setEnabled:YES or setEnabled:NO does the trick.
-- Finlay