Hello, why new line in the text gadget in the window9 ?
SetGadgetText (2, "neuer text"+Chr(10)+Chr(13)) not funktion.
Thanks
new line in the text gadget
-
- Posts: 289
- Joined: Oct 10, 2006 7:19
Re: new line in the text gadget
Hi super_castle!
Code: Select all
#Include "window9.bi"
Dim As hwnd hwnd
Dim As integer event
hwnd=OpenWindow("1",300,10,230,200)
EditorGadget(1,10,10,100,50)
SetGadgetText(1,"hello" + Chr(13) + Chr(10) + "super_castle")
ButtonGadget(2,10,60,100,50,"hello super_castle",BS_MULTILINE)
TextGadget(3,120,10,90,50,"")
SetGadgetText(3,"hello" + Chr(13) + Chr(10) + "super_castle")
Do
event=WaitEvent()
If event=EventClose Then End
Loop