Is it possible to add a field into a GUI only if a specific item from the dropdown list is selected?
For example:
Code: Select all
Colors := ["Red|Blue|Green|Other"]
List := Colors1
Gui, Add, Text, x12 y19 w110 h20 , Color name:
Gui, Add, DropDownList,R10 x12 y49 w180 h10 vDropDown,% List
DropDown:
???
Loop, %List%
If ("Other")
{
Gui, Add, Text, x12 y79 w110 h20 , SPECIFY:
Gui, Add, Edit, x12 y109 w110 h20 vSPECIFY,% ""
} else {
Continue
}
Return
]