Cant find the ListSample or ListboxSample sample file - Forum

Forum Navigation
You need to log in to create posts and topics.

Cant find the ListSample or ListboxSample sample file

Somewhere I have read, that there is a working example for populating a listbox with lines from a text file.

Cause I didnt find it, I tried to make a simple form, put a button for reading a text file and a listbox on it,

where to display the lines of the text files.

After reading the text file the listbox stays empty.

See attached code

Uploaded files:
  • You need to login to have access to uploads.

There you go

Greetings

Uploaded files:
  • You need to login to have access to uploads.
luishp has reacted to this post.
luishp

You should change "Any File|*.*" to *.txt*

If you want people to only read the text file, then the ListBox might not be the right way to go. Rather use the usual "Simple Text" option.

Uploaded files:
  • You need to login to have access to uploads.

Many thanks.

Of course, I have to change the file filter to *.dxf :-)

I will take a look in your files.

Really fast answer.

all the email notifications are gone to the spam folder, argh...