Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic ListBox control question
Message
 
To
11/01/2002 13:53:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00603656
Message ID:
00603872
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform