From: Schollnick, B. <Ben...@us...> - 2004-04-07 13:14:19
|
Okay, I have fixed one problem, but I am still attempting to figure out how to use SetFocus... And failing... I have multiple controls in this PythonCard application, and want to manually change the focus from one control to another.... The problem, for me, is that SetFocus (from wxPython) seems to need to be called from the "control" that you wish to change to. For example, textcntrl.SetFocus (), appears to change the focus to the textcntrl. (This was grepped from the demo directory.) But with PythonCard we appear to be operating from the events, not the controls. How would I access a control directly in Pythoncard to call the SetFocus? I found the SetFocus command in the "self" object, but have not found any documentation that covers it.... Does anyone have a small code fragment example? Or a small test app example that you could post? Because I fear that I am missing something real obvious... - Benjamin |