2008-07-04 10:57 UTC
I have problem with GridControl.
Inteliigent Help:
AutoLISP Syntax:
(dcl_Grid_AddColumns bik_Siatki_frmSiatki_gridStand
(list (list
sColText [as String]
Optional nJustification [as Integer]
Optional nColWidth [as Integer]
Optional nImageListIndex [as Integer])
...))
In my code:
(dcl_Grid_AddColumns bik_Siatki_frmSiatki_gridStand
(list (list 0 "Lp" 1 30)
(list 2 (nth 0 lstNaglowki) 1 50)
(list 3 (nth 1 lstNaglowki) 1 40)
(list 4 (nth 2 lstNaglowki) 1 40)
(list 5 (nth 3 lstNaglowki) 1 40)
(list 6 (nth 4 lstNaglowki) 1 40)
(list 7 (nth 5 lstNaglowki) 1 40)
)
)
My list lstNaglowki:
(setq lstNaglowki (list "Typ" "Długość " "Szerokość " "Rozstaw wzdłużny " "Rozstaw poprzeczny " "Wysięg przód " "Wysięg prawy " ))
what is wrong?
When I used ver. 4.0.2 all was okey,
now I have 5.0.0.18 and ... --> attach
Zbyszek
Inteliigent Help:
AutoLISP Syntax:
(dcl_Grid_AddColumns bik_Siatki_frmSiatki_gridStand
(list (list
sColText [as String]
Optional nJustification [as Integer]
Optional nColWidth [as Integer]
Optional nImageListIndex [as Integer])
...))
In my code:
(dcl_Grid_AddColumns bik_Siatki_frmSiatki_gridStand
(list (list 0 "Lp" 1 30)
(list 2 (nth 0 lstNaglowki) 1 50)
(list 3 (nth 1 lstNaglowki) 1 40)
(list 4 (nth 2 lstNaglowki) 1 40)
(list 5 (nth 3 lstNaglowki) 1 40)
(list 6 (nth 4 lstNaglowki) 1 40)
(list 7 (nth 5 lstNaglowki) 1 40)
)
)
My list lstNaglowki:
(setq lstNaglowki (list "Typ" "Długość " "Szerokość " "Rozstaw wzdłużny " "Rozstaw poprzeczny " "Wysięg przód " "Wysięg prawy " ))
what is wrong?
When I used ver. 4.0.2 all was okey,
now I have 5.0.0.18 and ... --> attach
Zbyszek
