Page 1 of 1

DateTime Calender keeps exiting when changeing months

Posted: 01 Feb 2019, 10:09
by davesexcel
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?

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("", "")
                }
				

Re: DateTime Calender keeps exiting when changeing months

Posted: 01 Feb 2019, 10:49
by swagfag
post examples that demonstrate the problem
idk what u want me to do with this class snippet

Re: DateTime Calender keeps exiting when changeing months

Posted: 12 May 2019, 20:38
by lexikos
I've moved this from the v2 forum. Perhaps someone who uses this script (for v1) can help.