找回密码
 加入
搜索
查看: 1405|回复: 5

[AU3基础] 看一下,有没有大侠写得出第二行能够写入够长的字符串(已解决)

[复制链接]
发表于 2018-3-6 11:18:00 | 显示全部楼层 |阅读模式
本帖最后由 qsy666888 于 2018-3-6 14:51 编辑

有没有大侠写得出第二行能够写入够长的字符串;Input默认的在一定的宽度只能写入限量的字符串,但现在想把大于限量的字符串写进去,但写不进去了
如图,写入'13245678913245678912345612121256656566'这些字符串,但在Input里显示的只有'132456789132456789123456',后面的无法写入了
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 180, 140, 192, 124)
$Input1 = GUICtrlCreateInput(""&@CRLF&'13245678913245678912345612121256656566', 16, 24, 150, 30,$ES_MULTILINE)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2018-3-6 13:23:47 | 显示全部楼层
样式后面 + 0x80
发表于 2018-3-6 13:34:12 | 显示全部楼层
回复 1# qsy666888
是这个意思?
 
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 180, 140, 192, 124)

$Input1 = GUICtrlCreateInput(""&@CRLF&'13245678913245678912345612121256656566', 16, 24, 150, 30, $ES_MULTILINE + $ES_AUTOVSCROLL + $WS_VSCROLL)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd
 楼主| 发表于 2018-3-6 14:21:36 | 显示全部楼层
本帖最后由 qsy666888 于 2018-3-6 14:23 编辑

回复 2# afan

样式后面 + 0x80,  谢谢
 楼主| 发表于 2018-3-6 14:24:45 | 显示全部楼层
回复 3# chzj589


    又学了一招,谢了
发表于 2018-3-6 19:42:31 | 显示全部楼层
回复 2# afan


    这个命令帮助文件里面查不到啊
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-28 09:31 , Processed in 0.382394 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表