LText Not Taking Focus
- Posted by cklester <cklester at yahoo.com> May 04, 2004
- 392 views
I've got a small dialog box being opened with openDialog() that won't let me set the focus of a textbox. When the code runs, below, the setText() procedure works fine, but the textbox does not have focus! What's up with that?! procedure win_CodeEntry_onActivate (integer self, integer event, sequence params)--params is () setFocus( txt_CodeEntry ) setText( txt_CodeEntry, "I'm Here!" ) end procedure setHandler( win_CodeEntry, w32HActivate, routine_id("win_CodeEntry_onActivate"))