A
at
Гость
Подскажите, пожалуйста, как присвоить переменным: $_Day; $_Mons; $_Year соответствующие значения из GUICtrlCreateDate.
Код:
#include <ButtonConstants.au3>
#include <DateTimeConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 201, 136, 192, 114)
$Date1 = GUICtrlCreateDate("2012/12/13 19:07:3", 32, 24, 138, 21)
$Button1 = GUICtrlCreateButton("Button1", 40, 72, 115, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$_Day = ''
$_Mons = ''
$_Year = ''
EndSwitch
WEnd