Draw a TextFieldBorder only in edit mode
Draw a TextFieldBorder only in edit mode
- Subject: Draw a TextFieldBorder only in edit mode
- From: Alexander Lamb <email@hidden>
- Date: Wed, 16 Aug 2006 21:18:54 +0200
Hello list,
Probably a well known question:
I would like to use a text field which displays the same way as the
details of a person in AddressBook. This means that it doesn't look
like an editable field until you are in edit mode AND click in the
field. At that time it displays a border around the field.
Is it simply a matter of subclassing NSTextFieldCell and creating a
NSTextField using the subclass? If so, how do I know I clicked in the
field? Is it simply a matter of doing this in the delegate
(startEditing, etc...)?
Thanks,
Alex
--
Alexander Lamb
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