Followers 0

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 on other sites

The help file would be a good place to start:

GuiCtrlSetData($editbox, FileRead("path\to\file")) 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 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 on other sites

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