View previous topic :: View next topic |
Author |
Message |
m1b1 Newbie
Joined: 24 May 2001 Posts: 1
|
Posted: Fri Jan 04, 2002 2:33 am Post subject: Version 4 COMBO does not generate CLICK event |
|
|
The following sample script generates a click event in v3.5 but not in v4.0
dialog create,testcombo,-1,0,440,320
dialog add,combo,mycombo,20,100,180,50,,CLICK
list add,mycombo,first
list add,mycombo,second
dialog show
:evloop
wait event
goto @event()
:mycomboclick
info clicked @dlgtext(mycombo)
goto evloop |
|
Back to top |
|
 |
nick Contributor

Joined: 15 Aug 2000 Posts: 50 Location: hamburg,nj
|
Posted: Fri Jan 04, 2002 2:43 am Post subject: Version 4 COMBO does not generate CLICK event |
|
|
Hi:
You need to add another comma(,) in your dialog create command
dialog add,combo,mycombo,20,100,180,50,,,CLICK
m1b1 wrote: |
The following sample script generates a click event in v3.5 but not in v4.0
dialog create,testcombo,-1,0,440,320
dialog add,combo,mycombo,20,100,180,50,,CLICK
list add,mycombo,first
list add,mycombo,second
dialog show
:evloop
wait event
goto @event()
:mycomboclick
info clicked @dlgtext(mycombo)
goto evloop
|
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|