Jump to content

Recommended Posts

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
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
Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...