Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic ListBox control question
Message
 
À
11/01/2002 13:53:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00603656
Message ID:
00603872
Vues:
22
It looks like you're trying to use this listbox to display progress messages. I'd recommend using an editbox for that instead. I've got a read-only editbox class for doing this that you can download from my website at www.peisch.com/downloads.html - just look for edtProgress.zip.

>Hi,
>
>This is probably an easy one. How can I append to a listboxitem? For Example say I have:
>
>
>with thisform.lstResults
>   .addlistitem("Attempting to open file...")
>   lnFileHandle = FOPEN((lcFile))
>   IF lnFileHandle >= 0  && opened succesfully
>       .addlistitem("Success!")
>   ELSE
>       .addlistitem("Error!")
>   ENDIF
>ENDWITH
>
>
>This would print out either
>Attempting to open file...
>Success!
>
>or
>
>Attempting to open file...
>Error!
>
>Anybody know of a way I can append to the original list item so it would print
>Attempting to open file...Success!
>or
>Attempting to open file...Error!
>
>thanks!
>Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform