DateTime Calender keeps exiting when changeing months
Posted: 01 Feb 2019, 10:09
I would like to be able to keep changing months in the calendar control, but it keeps exiting when the month has changed.
Would anybody have an idea what to put in the DateTimeChanged(_CtrlHwnd, _GuiEvent, _EventInfo, _ErrorLevel:="")
To stop it from exiting?
Would anybody have an idea what to put in the DateTimeChanged(_CtrlHwnd, _GuiEvent, _EventInfo, _ErrorLevel:="")
To stop it from exiting?
Code: Select all
class DateTime extends Tabs.Tab.Workspace.GenericControl
{
ControlType := "DateTime"
DefaultOptions := ""
New()
{
this.GuiControl("", "")
}
DateTimeChanged(_CtrlHwnd, _GuiEvent, _EventInfo, _ErrorLevel:="")
{
;MsgBox, % this.GuiControlGet() ;remove later
;Send {Tab}
}
Clear()
{
this.GuiControl("", A_Now)
this.GuiControl("", "")
this.GuiControl("", "")
}