In the beginning of my code I do:
(defun c:DuctilCAD_Tes_OnInitialize (/)
(dcl_ComboBox_Clear DuctilCAD_Tes_Combo-DN)
(dcl_ComboBox_AddList
DuctilCAD_Tes_Combo-DN
(list "30" "50" "80" "120")
) ;_ fim de dcl_ComboBox_AddList
(dcl_ComboBox_SetCurSel DuctilCAD_Tes_Combo-DN 0)
) ;_ fim de defun
Before the closing I try the function below and she comes back anything.
(setq ComboList (dcl_Control_GetProperty DuctilCAD_Tes_Combo-DN "List"))
Am I making something wrong?
Or this is not possible in this condition.
Thanks
Try this:
http://www.opendcl.com/HelpFiles/ENU/Reference/Property/List.htm (http://www.opendcl.com/HelpFiles/ENU/Reference/Property/List.htm)
Hi Bazz
I still work with OpenDCL 4.1.2.2.
This function exists but nothing doesn't come back.
(setq ComboList (dcl_Control_GetList DuctilCAD_Tes_Combo-DN))
(setq ComboList (dcl_Control_GetList "DuctilCAD" "Tes" "Combo-DN"))
In OpenDCL 4, 'List' was a design-time-only property (it was used only when constructing the list box, then ignored).