dcl_Control_GetProperty

Started by velasquez, March 31, 2009, 11:01:01 AM

Previous topic - Next topic

velasquez

In the beginning of my code I do: 
 
Code (autolisp) Select
(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.
Code (autolisp) Select
(setq ComboList (dcl_Control_GetProperty DuctilCAD_Tes_Combo-DN "List"))
 
Am I making something wrong?   
Or this is not possible in this condition.
Thanks   

BazzaCAD

a.k.a.
Barry Ralphs
barryDOTralphsATgmailDOTcom

velasquez


Hi Bazz 
I still work with OpenDCL 4.1.2.2. 
This function exists but nothing doesn't come back.


Code (autolisp) Select
(setq ComboList (dcl_Control_GetList DuctilCAD_Tes_Combo-DN))

(setq ComboList (dcl_Control_GetList "DuctilCAD" "Tes" "Combo-DN"))


owenwengerd

In OpenDCL 4, 'List' was a design-time-only property (it was used only when constructing the list box, then ignored).
Owen Wengerd (Outside The Box) / ManuSoft