Hello
I used GUICtrlCreateEdit function to show my "sometext.txt" file contents in a GUI. But it does not give me a good interface and i have some problems with it.
One of problems in GUICtrlCreateEdit function is that when the text appears in editbox, whole text has been selected at first time !! and i must click once to get out it from selected state.
Other my problem is: i can not set just a vertical scrolbar. I want to use just vertical scrolbar not horizontal. I want to it fits to editbox's width horizontally but scrol vertically.
$myfile = FileOpen("Last10PMs.txt") $PM10Text = FileRead($myfile) $hgui = GUICreate("Title",800,600,-1,-1,-1) GUICtrlCreateEdit($PM10Text, -1, -1, 800, 600)
When i use GUICtrlCreateLabel function to show text file, the state comes so bad from Editbox.
Thanks for any suggestion to view a text file in a better UI or resolving my problems.