Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00390541
Message ID:
00390548
Views:
10
>I have a cursor, called "tFtp_Files", that has a field for the file name and a field for the file path.
>
>First, I add the 2 columns:
>
>This.columnheaders.add(,"FNAME","File Name",this.width/2)
>This.columnheaders.add(,"FPATH","File Path",this.width/2)
>
>
>Then, I try to add the Listitems:
>
>Sele tFtp_Files
>Scan
> This.listitems.add(,,tftp_files.file_desc) &&Works fine
> This.listitems.subitems(1)=tftp_files.file_desc &&Doesn't work
>Endscan
>
>
>
>Thanks!

It's been a while but I think I had the same problem. Here is a way around it.

Scan
loAdd = This.listitems.add(,,tftp_files.file_desc)
loAdd.ListSubItems.Add(1,,tftp_files.file_desc)
endscan
Rip Ryness
International Falls, MN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform