From: Alexander S.K. <al...@be...> - 2016-10-12 10:19:49
|
Alain Aupeix пишет: > ... > @ 10,96 GET COMBOBOX oScript VAR rScript ITEMS aScripts > ... > // ON CHANGE {||dscript:=rScript,oName:Refresh(),combo_manage(rScript)}; > ... > for rg=1 to len(aScripts) > if trim(rScript)==aScripts[rg,1] If aScripts[rg,1] contains trailing spaces, this condition will never be fulfilled. Here should be: if trim(rScript)==Trim(aScripts[rg,1]) Maybe, this is the reason why the second combobox is never shown. And, anyway, using of timers here isn't correct. You add them again and again after every ON CHANGE. A lot of timers will appear, and each of them try to show or hide your combobox... Why don't you simply hide/show the combo once in ON CHANGE handler, why the timer is needed ? Regards, Alexander. |