Button enabled.
Button enabled.
- Subject: Button enabled.
- From: "Michael Flack" <email@hidden>
- Date: Mon, 15 Oct 2007 22:40:06 -0700
Hi All,
I tried and searched the list extensively for something which seems
simple but doesnt seem to work for me.
My nib has a simple textbox and a button,
1) I want to bind my button to be enabled only iff their is sometext
typed into the textbox
2) Ideally I want as soon as I start typing into textbox it should
call a validate method and replace the value of the allowed value.
So say input to Textbox is "123abc" and only "abc" is valid:-
1) Button enables as soon as something is typed into textbox
2) As you type 123 nothing appear only abc ie the valid input appear
in the textbox.
*Want to achieve this through bindings, not the textbox callbacks.
TIA,
MiƧ
_______________________________________________
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