2008-04-10 17:04 UTC
Hello,
I have a two-column grid and I'm using function below to fill in some data, but it doesn't work.
After I did a search in this forum. I tried the following and still didn't work.
What did I miss? Thanks.
I have a two-column grid and I'm using function below to fill in some data, but it doesn't work.
(defun c:MODVAR_frmMain_OnInitialize (/)
(dcl_grid_addstring MODVAR_frmMain_grdVar
"Name1\tValue1"
"\t"
)
(dcl_grid_addstring MODVAR_frmMain_grdVar
"Name2\tValue2"
"\t"
)
)
After I did a search in this forum. I tried the following and still didn't work.
(defun c:MODVAR_frmMain_OnInitialize (/)
(setq iRowIndex1 (dcl_grid_addrow MODVAR_frmMain_grdVar "Row 1"))
(setq iRowIndex2 (dcl_grid_addrow MODVAR_frmMain_grdVar "Row 2"))
)
What did I miss? Thanks.
