|
From: Alain A. <ala...@wa...> - 2016-07-29 08:12:58
|
Hi,
Using combobox, I have no problem when using 'ON CHANGE'
When I don't need to make something with a choice, I didn't use 'ON
CHANGE', ,and I have then an error.
I thougth that the fact to change returns the result in VAR cVille (in
this case).
Am-I wrong, or do I miss something ?
Exemple :
@ 330,74 SAY cText05 SIZE 70, 22 COLOR hwg_VColor("FF0000")
@ 430,72 GET COMBOBOX oVille VAR cVille ITEMS aVilles STYLE
WS_TABSTOP SIZE 210, 25 ;
ON CHANGE {||qout(cVille)} TEXT
Adding for exemple qout(cVille) and the variable is set
I first set local cVille:=""
In my array, I first add an empty element ("")
If I don't change the element, the value is always set to ""
Thanks
A+
--
------------------------------------------------------------------------
Alain Aupeix
http://jujuland.pagesperso-orange.fr/
http://pissobi-lacassagne.pagesperso-orange.fr/
------------------------------------------------------------------------
U.buntu 12.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev (2016-07-18 18:32) |
Hw.Gui 2.19-6 (2543)
------------------------------------------------------------------------
|