PushButton problems
PushButton problems
- Subject: PushButton problems
- From: "Josh Ferguson" <email@hidden>
- Date: Thu, 17 Jan 2002 09:19:53 -0600
- Thread-topic: PushButton problems
First of all, I apologize if this issue has been brought up before. I
glossed through the archives and couldn't find an answer. I'm sure I'm
missing something pretty basic... Here's what's happening:
I have a screen that has a series of Edit Text fields, and an NSButton
that is attached to an action method in my controller class. I set the
button the be equivalent to the return key. In the action method, I
take the contents of the text fields, convert them, and use them as
parameters to a funciton in a Mach-O Library. When the library function
is called, it launches a "wizard" type interface which requires input
from the keyboard. The problem is, after I enter the information in the
Edit Text fields, then click the Button which executes the library
function, the focus is still on the edit text field in the background,
so I can't type any information in my "wizard" (I can navigate using the
buttons...). If I enter the information in the Edit Text fields, then
hit "return", the function is executed, and everything works as
expected. What is the difference between setting the button to act as
the Return Key, and clicking on the button?
===========================
Josh Ferguson - QA Engineer
MindVision Software
===========================