找回密码
 加入
搜索
查看: 4333|回复: 8

[AU3基础] 提问个比较弱智的问题,为什么在特定条件下tab控件上的input会显示不正常

  [复制链接]
发表于 2014-2-17 20:05:43 | 显示全部楼层 |阅读模式


只要input在tab控件内,在执行button1的操作后,input1的边框消失了!,想了很久,还是没明白原因在哪,同样的现象还出现在_IECreate 等操作.
请各位高人解惑
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 549, 346)
$Tab1 = GUICtrlCreateTab(24, 32, 489, 289)
GUICtrlCreateTabItem("1")
$Input1 = GUICtrlCreateInput("为什么这个input控件在点击button1后显示不全", 88, 136, 345, 21)
$Button1 = GUICtrlCreateButton("Button1", 168, 208, 193, 33)
GUICtrlCreateTabItem("2")
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit
                Case $Button1
                        ShellExecute('Explorer', '/select, ' & @ComSpec)
        EndSwitch
WEnd

本帖子中包含更多资源

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

×
发表于 2014-2-17 20:22:02 | 显示全部楼层
XP 下面是正常的…
发表于 2014-2-17 22:39:47 | 显示全部楼层
回复 1# tubaba

8.1 也未见异常.....
 楼主| 发表于 2014-2-17 22:48:05 | 显示全部楼层
请问楼上二位用的autoti是什么版本?
发表于 2014-2-18 00:38:29 | 显示全部楼层
回复 4# tubaba

3.3.10.2
发表于 2014-2-18 01:07:10 | 显示全部楼层
3.3.6.1
发表于 2014-2-18 02:01:06 | 显示全部楼层
WIN7 64 3.10.2无问题
发表于 2014-2-18 09:07:45 | 显示全部楼层
3.3.7.15
win7 x64正常
 楼主| 发表于 2014-2-18 09:11:16 | 显示全部楼层
非常感谢大家的反馈,我的是3.3.6.1 在winxp 32位试了下,还真是显示正常,下班回去我试试3.3.10.2 在win7 x64下的情况. 上面发生的那情况是3.3.6.1在win7x64下的表现
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-10-6 11:03 , Processed in 0.084673 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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