|
Post by Walt Decker on Dec 17, 2020 15:55:27 GMT -5
What styles are used to create the multi-line edit control, e. e. texteditor?
|
|
|
Post by Chris Iverson on Dec 17, 2020 16:33:14 GMT -5
I'd recommend adding ES_MULTILINE and removing ES_AUTOHSCROLL.
'Form created with the help of Freeform 3 v07-15-08 'Generated on Dec 17, 2020 at 15:26:27
[setup.main.Window]
'-----Begin code for #main
nomainwin WindowWidth = 550 WindowHeight = 410 UpperLeftX=int((DisplayWidth-WindowWidth)/2) UpperLeftY=int((DisplayHeight-WindowHeight)/2)
'-----Begin GUI objects code
TextboxColor$ = "white" stylebits #main.textbox1, _ES_MULTILINE, _ES_AUTOHSCROLL, 0, 0 textbox #main.textbox1, 15, 32, 505, 285
'-----End GUI objects code
open "untitled" for window as #main print #main, "font ms_sans_serif 10" print #main, "trapclose [quit.main]"
[main.inputLoop] 'wait here for input event wait
[quit.main] 'End the program close #main end
|
|