只要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
|