1. RE: LText Not Taking Focus
- Posted by Brian Broker <bkb at cnw.com> May 04, 2004
- 398 views
Hi ck, Not sure what's up with that but it appears to be fixed for the next release. -- Brian cklester wrote: > > > posted by: cklester <cklester at yahoo.com> > > 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"))