LText Not Taking Focus

new topic     » topic index » view thread      » older message » newer message

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"))

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu