选择DATA在输入框显示__已解决
本帖最后由 boliang 于 2014-11-21 09:58 编辑请教大虾,选择日期怎样同步到输入框显示呢
回复 1# boliang
要不然你就上码,我帮你修改~ 回复 3# austere
#include <ButtonConstants.au3>
#include <DateTimeConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$Group1 = GUICtrlCreateGroup("Group1", 32, 8, 561, 393)
$Input1 = GUICtrlCreateInput("Input1", 160, 160, 137, 21)
$Date1 = GUICtrlCreateDate("2014/11/19 13:48:1", 312, 160, 186, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd #include <ButtonConstants.au3>
#include <DateTimeConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$Group1 = GUICtrlCreateGroup("Group1", 32, 8, 561, 393)
$Input1 = GUICtrlCreateInput("Input1", 160, 160, 137, 21)
$Date1 = GUICtrlCreateDate("2014/11/19 13:48:1", 312, 160, 186, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Date1
$ss = GUICtrlRead($Date1)
GUICtrlSetData($Input1, $ss)
EndSwitch
WEnd
回复 5# austere
最近好活跃啊。 回复 6# MicroBlue
无聊没事干。。。 写东西又写不下去。。 唉~ 本帖最后由 boliang 于 2014-11-21 09:55 编辑
回复 7# austere
多谢@austere,采纳学习了,TKS! 回复 8# boliang
问题解决了,就编辑一下帖子 在标题后面加上 【已解决】 回复 9# austere
多谢您的指导,没整过贴,原来也有给分之类的,想给点积分您也不知怎么整,悲哀!{:face (332):}
页:
[1]