Page 1 sur 1
GUICtrlCreateEdit full texte
Posté : ven. 01 avr. 2022 11:47
par YuChan
Bonjour,
J'ai une petite question toute simple.
Pour GUICtrlCreateEdit()
Comment on fait pour retourné a la ligne car la moitié du text est coupé.
CDT
Re: GUICtrlCreateEdit full texte
Posté : ven. 01 avr. 2022 17:54
par walkson
Code : Tout sélectionner
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Global $Form1 = GUICreate("Form1", 300, 438)
Global $Edit1 = GUICtrlCreateEdit("", 48, 32, 193, 241, BitOR($ES_WANTRETURN, $WS_HSCROLL))
GUICtrlSetData(-1, "aaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaa"&@CRLF&"aaaaaaa"&@CRLF&"aaaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaa"&@CRLF&"aaaaaaaaaaaaaa aaaaaaaaaa aaaaaaaaaaaaa aaaaaaaaa")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd