2011-10-10 16:18 UTC
Hi All
It's my first attempt to work with a grid control. Probably I can't see the wood for the trees... ;D
(defun c:CC-000_Dialog1_OnInitialize (/)
(dcl_grid_AddRow (CcOdcl "datConnections") (list "" "" "" "" ""))
(dcl_Grid_SetCellDropList (CcOdcl "datConnections") 0 1 '("" "Auslauf" "Einlauf" "Zulauf 1"))
(dcl_Grid_SetCellDropList (CcOdcl "datConnections") 0 2 '("" "DN100" "DN120" "DN150"))
(dcl_Grid_SetCellDropList (CcOdcl "datConnections") 0 3 '("" "PP" "PVC"))
)
Using this code shows only blank dropdowns. BTW, CcOdcl is my function to evaluate the controls.
[ODCL 6.0.2.3]
Cheers
It's my first attempt to work with a grid control. Probably I can't see the wood for the trees... ;D
(defun c:CC-000_Dialog1_OnInitialize (/)
(dcl_grid_AddRow (CcOdcl "datConnections") (list "" "" "" "" ""))
(dcl_Grid_SetCellDropList (CcOdcl "datConnections") 0 1 '("" "Auslauf" "Einlauf" "Zulauf 1"))
(dcl_Grid_SetCellDropList (CcOdcl "datConnections") 0 2 '("" "DN100" "DN120" "DN150"))
(dcl_Grid_SetCellDropList (CcOdcl "datConnections") 0 3 '("" "PP" "PVC"))
)
Using this code shows only blank dropdowns. BTW, CcOdcl is my function to evaluate the controls.
[ODCL 6.0.2.3]
Cheers