|
-
July 25th, 2000, 09:33 PM
#1
List Box? or Text Box?
Hi.
I'm having problems with a program I'm trying to write.
I want to open a text based file with a file extension that's not .txt and then be able to create a find button to search for words listed in a separate text box.
I have created the UI and I can successfully open these files and see them using a list box combined with a common dialog box.
But I can't add a vertical scroll to this list box. And since I'm editing a text file (even though the extension is not .txt) I'm wondering if I should be using a text box instead of a list box?
I've tried using a text box. But for some strange reason. It won't display these files because the file extension isn't .txt. Even when combined with a common dialog box set up to filter the proper file extension. What's the deal with that? It works with the list box option.
Any advice?
It's just a text editor. But since the files don't have a .txt extension. I can't find any examples for this kind of thing.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|