How to only show the Datetime control below only of second alternative is choosen from DD-list?
Code: Select all
MyGui := Gui()
Tab := MyGui.Add("Tab3",, ["One","Two"])
Tab.UseTab(1)
MyGui.Add("Text", , "Choose something:")
MyGui.Add("DropDownList", "vAlts", ["Alter1","Alter2 with datetime"])
MyGui.Add("DateTime", "vDate")
Tab.UseTab(2)
MyGui.Add("Text", , "Nothing")
MyGui.Show()
If there is an "easy" way as I don't want to make it complicated
Thanks in advance!