Sign in to follow this  
Followers 0
waltv7

Text display problems (Solved)

5 posts in this topic

#1 ·  Posted (edited)

Hi everyone can somene please point me in the right direction on getting contents of a text file dispayed for editing in an edit box please?

Edited by waltv7

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

The help file would be a good place to start:

GuiCtrlSetData($editbox, FileRead("path\to\file"))
Thanksfor the fast reply it seams to only work if I input the path seems I can't preload the file and use the variable from FileOpen.

thats why the help files confused me

Edited by waltv7

Share this post


Link to post
Share on other sites

Thanksfor the fast reply it seams to only work if I input the path seems I can't preload the file and use the variable from FileOpen.

thats why the help files confused me

back to another question regarding this. I am now trying to get the file to display with menuitem and fileopen and I can't get it to display when I use the variable $file. I have tried everything in the help and i can only see the leters flash in the edit box before disapearing.

Share this post


Link to post
Share on other sites

Some bit of sample code would be helpful...minimum working amount to show us your problem.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0