|
From: Alain A. <ala...@wa...> - 2014-10-29 21:45:13
|
Le 29/10/2014 13:51, Alexander S.Kresin a écrit :
> Should be fixed now, the problem was that appropriate get variable (
> cType in your case ) wasn't initialized, because that combobox doesn'r
> set a focus yet.
There is no more crash, but the value of the variable isn't yet set to
the new value when on change is executed.
So it's not good.
Is there a way, using a function related to the combo, to have the good
value. oCombo:xxx()
> Btw, there is no need to write
>
> adel(aCom)
> aCom:={}
> aCom=directory(crPath+"/"+cCommune+"/"+cType+"/*.PDF","")
>
> One assignment is enough.
ok, thanks
A+
--
------------------------------------------------------------------------
Alain Aupeix
http://jujuland.pagesperso-orange.fr/
http://pissobi-lacassagne.pagesperso-orange.fr/
------------------------------------------------------------------------
U.buntu 12.04 | G.ramps 3.4.8-1 | H.arbour 3.2.0dev (2014-10-22 08:25) |
HbIDE (Rev.316) | Five.Linux (r138) | Hw.Gui (2295)
------------------------------------------------------------------------
|