2008-10-06 14:01 UTC
OpenDCL Version 5.0.0.25
ListView Problems:
property "style" = 3 - Report
3 columns
Use: AddItem (For Report Style) as Integer :
(Setq nRow (dcl_ListView_AddItem 2DrawArch_MemCarp_ListView1 IdImage Text1 Text2 Text3)
ERROR: too many arguments
Is this a BUG?
Solution??? :
(Setq nRow (dcl_ListView_AddItem 2DrawArch_MemCarp_ListView1 IdImage Text1 )) : OK
(dcl_ListView_SetItemText 2DrawArch_MemCarp_ListView1 nRow 1 Text2)
(dcl_ListView_SetItemText 2DrawArch_MemCarp_ListView1 nRow 2 Text3)
ListView Problems:
property "style" = 3 - Report
3 columns
Use: AddItem (For Report Style) as Integer :
(Setq nRow (dcl_ListView_AddItem 2DrawArch_MemCarp_ListView1 IdImage Text1 Text2 Text3)
ERROR: too many arguments
Is this a BUG?
Solution??? :
(Setq nRow (dcl_ListView_AddItem 2DrawArch_MemCarp_ListView1 IdImage Text1 )) : OK
(dcl_ListView_SetItemText 2DrawArch_MemCarp_ListView1 nRow 1 Text2)
(dcl_ListView_SetItemText 2DrawArch_MemCarp_ListView1 nRow 2 Text3)