dcl_Control_GetProperty

Started by velasquez · 2009-03-31 18:01 UTC · 3 replies · SMF topic #684

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:
{2}

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).