I want to connect an outlet to a textField controller/component in a
window/panel,
I declare an outlet in .h file as blow:
------------------------
  id txtInfo;
-------------------------
and here is the action for a button:
------------------------
-(void) OKAction : (id) sender;
----------------------------

In the implement's OKAction, I want to change the txtInfo's string:

[txtInfo setStringValue: @" ..... " ];

----

How can I connect the textField component to the outlet -- txtInfo --
manually, and the action can visit the outlet?

Thanks in advance!
-- 
View this message in context: 
http://www.nabble.com/How-to-connect-an-outlet-to-a-controller%28conmponent-in-a-window-or-panel%29-manually--tp22180866p22180866.html
Sent from the GNUstep - General mailing list archive at Nabble.com.



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to