Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Increase text length before wrap in edit control w/hscroll

$
0
0
Hi,

The following code wraps text after about 1024 chars.  Is there a way to increase this?

Tried: varying fonts - no effect
Searched: forums, Google, MSDN for "horizontal scroll limit", "horizontal scroll", "scroll limit", and others with no success

[ autoit ]         
; *** Start added by AutoIt3Wrapper *** #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> ; *** End added by AutoIt3Wrapper *** #AutoIt3Wrapper_Add_Constants=n local $gui010   =   guicreate('',1200,400) local $aSize    =   wingetclientsize($gui010) local $edt010   =   guictrlcreateedit('',20,50,$aSize[0]-40,250,bitor($ss_sunken,$ws_vscroll,$ws_hscroll,$es_readonly))                     guictrlsetlimit(-1,1000000)                     guisetstate() local $str for $1 = 1 to 1000     $str &= stringformat('%04s',$1) & ',' Next guictrlsetdata($edt010,$str) while 1     switch guigetmsg()         case $gui_event_close             Exit     EndSwitch WEnd

Thanks,

kylomas

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>