Invalud value error
How do I change ' ddl ' to the desired value?
Code: Select all
; AHK version: AHK_H 2.0-a081-H019
; Tested on: Win 10 Pro (x64)
#singleinstance force
#Persistent
Gui := GuiCreate()
ddl := Gui.Add("DDL", "x5 y12 r10 w200", "a|b|c|d")
hLv := ddl.Hwnd
Gui.Show("xCenter yCenter w215 h250")
Gui.OnEvent("Close", "Gui_Close")
msgbox "ddl text!!"
ddl.value:="e|f|g|h|"
return
EXIT:
Gui.Destroy()
ExitApp
return
Gui_Close()
{
gosub("EXIT")
}