Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00390541
Message ID:
00390548
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform