PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WM20 Android: open combo 2 after combo 1 selection
WM20 Android: open combo 2 after combo 1 selection
Iniciado por guest, 22,sep. 2015 20:31 - 5 respuestas
Publicado el 22,septiembre 2015 - 20:31
Hi All,

I am looking for the way to open a combo box (eg combo_2) after making a selection from combo_1, if combo_2=0. If combo_2 >0, open combo_3 etc.

I have 6 combos I want to string together, so one tap makes a selection and opens the next combo.

Thanks for any advice

Pete
Miembro registrado
102 mensajes
Publicado el 23,septiembre 2015 - 09:33
You could try sendkey http://doc.windev.com/en-US/…





IF MySelf..DisplayedValue = "" THEN
SendKey("%{DOWN}",COMBO_NoName2)
END


--
http://arnoldconsult.de
Publicado el 23,septiembre 2015 - 14:29
Hi Peter,

I haven't tried this, but try using something like SetFocus, ScreenFirst or ReturnToCapture in the exit event of your combo control.
Publicado el 23,septiembre 2015 - 17:10
Hi Darren,

Thanks for those suggestions, but I haven't been able to get any of them to work. I'm sure I did this years ago in Windev, but I can't remember the code now!
Publicado el 23,septiembre 2015 - 17:30
Publicado el 23,septiembre 2015 - 17:45
Thanks very much Darren :)

I knew it was there somewhere!

Cheers

Pete