2016-10-17 13:46 UTC
To populate a ComboBox I use the following code:
(dcl_ComboBox_Dir APPNAME_Form_FormMain_PartList (findfile "namefolder\\L") "*.dwg")
This code works correctly in OpenDCL 8.0.5.0.
In fact, it replaces the list already present in ComboBox with a new list.
While in OpenDCL 8.1.1.x the same line of code is not a substitute exists but the list adds new items!
I have also tried using the following line of code
(dcl-ComboBox-Clear APPNAME_Form/FormMain/PartList)
In OpenDCL 8.0.5.0. it works properly (it empties the list ...), while in OpenDCL 8.1.1.x does not work (the list does not empty)!
Can you help me to solve this problem?
(dcl_ComboBox_Dir APPNAME_Form_FormMain_PartList (findfile "namefolder\\L") "*.dwg")
This code works correctly in OpenDCL 8.0.5.0.
In fact, it replaces the list already present in ComboBox with a new list.
While in OpenDCL 8.1.1.x the same line of code is not a substitute exists but the list adds new items!
I have also tried using the following line of code
(dcl-ComboBox-Clear APPNAME_Form/FormMain/PartList)
In OpenDCL 8.0.5.0. it works properly (it empties the list ...), while in OpenDCL 8.1.1.x does not work (the list does not empty)!
Can you help me to solve this problem?