Method opposite from Fillist

Started by zeha · 2007-08-04 16:58 UTC · 2 replies · SMF topic #33

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
author=zeha link=topic=33.msg137#msg137 date=1186246729 wrote:
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.
author=owenwengerd link=topic=33.msg139#msg139 date=1186248452 wrote:
[quote author=zeha link=topic=33.msg137#msg137 date=1186246729]
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