I want to add an event handler to detect EN_CHANGE for anth edit box.

The folowing sample take as external dialog the pickString window.

I' tried the folowing code but i got an unclear error message !
"Dialog or Contrlo handle isn't

Do you have any clue ??

;; --- --- ---- ---
local EN_CHANGE = "" ++ 0x0300

event.create(1,1,cbx("@Start"))
wait.for(3000,"Pick")

dialog.set_response(win.handle("Pick),"1000", cbx("@test"),1,EN_CHANGE) 

function start()
  PickString("1\n2\n31\n2\n31\n2\n3","Pick")  
quit

function test
  win.debug("Changed")
quit


------------------------------------

Attention: PowerPro's Web site has moved: http://www.ppro.orgYahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to