Method opposite from Fillist

Started by zeha, August 04, 2007, 09:58:49 AM

Previous topic - Next topic

zeha

Hi,

Is there a method as oposite from Fillist

Now a use

(repeat (setq cntRow (dcl_Grid_GetRowCount Grid_Dcl-1_grid))
  (setq cntRow (1- cntRow))
  (repeat (setq cntCol (dcl_Grid_GetColumnCount Grid_Dcl-1_grid))
     (setq lst (cons (dcl_Grid_GetItemText Grid_Dcl-1_grid1 cntRow cntCol) lst))
     (setq cntCol (1- cntCol))
  )
)

But this is very slow

thx

Harrie

owenwengerd

Quote from: zeha on August 04, 2007, 09:58:49 AM
Is there a method as oposite from Fillist

Try using (dcl_Grid_GetRowItems) to get an entire row at a time, or if your rows are short, use (dcl_Grid_GetColumnItems) instead.
Owen Wengerd (Outside The Box) / ManuSoft

zeha

Quote from: owenwengerd on August 04, 2007, 10:27:32 AM
Quote from: zeha on August 04, 2007, 09:58:49 AM
Is there a method as oposite from Fillist

Try using (dcl_Grid_GetRowItems) to get an entire row at a time, or if your rows are short, use (dcl_Grid_GetColumnItems) instead.

Owen,

many many thanks.

Regards
Harrie