|
From: Alain A. <ala...@wa...> - 2014-10-23 14:29:48
|
Le 23/10/2014 14:19, Alexander S.Kresin a écrit :
> Alain Aupeix writes:
>> Hi,
>> I have tried to use ON CHANGE
>> I have put all the tab init in each a function and tried
>> I have put some Qout to see what happens
>> ...
> It's difficult to reproduce your sample, because, as I understood,
> it needed to have a certain structure of directories. It would be good,
> if you provide more simple code - it does not matter, how the array are
> filled, this part may be simplified.
I don't think it could be simplified.
> I didn't understand, what you mean when you talk about 'tab' - I
> didn't find any TAB control in the code.
Just a typo, I ought to talk about array
> Anyway, I suppose that the problem appears, because you don't
> refresh the combobox ( oCombo:Refresh() ) after rebuilding the array in
> SearchType() function.
Yes, it's probably the reason. But I have an error
@ 15,32 GET COMBOBOX cCommune ITEMS aCommunes STYLE WS_TABSTOP SIZE
290, 25;
TOOLTIP "Choix de la commune" ON CHANGE
{||SearchType(cCommune),cType:Refresh()};
TEXT
Error BASE/1004 No exported method: REFRESH
Called from REFRESH(0)
Called from (b)READREG(690)
Called from HCOMBOBOX:ONEVENT(112)
A+
But the array, and combo which is updated isn't the one which execute
>
> Regards, Alexander.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Hwgui-developers mailing list
> Hwg...@li...
> https://lists.sourceforge.net/lists/listinfo/hwgui-developers
>
--
------------------------------------------------------------------------
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)
------------------------------------------------------------------------
|