How do I make a label run automatically, I made an example below. I want the listview labels to run without me having to click on the list how do I do this?
Code: Select all
arrayex:=[]
arrayex.push(["one"])
arrayex.push(["two"])
gui, add, button, ggo w40 h30,go
gui, show , w90 h45 ,
return
GuiClose:
ExitApp
go:
gui, submit, nohide
gui, g:destroy
Gui, g:Add, ListView, x2 y19 w200 h310 vlvo gone cred +AltSubmit Grid , One
Gui, g:Add, ListView, x242 y19 w220 h310 vlvt gtwo cred grid , Two
Gui, g:Show, w479 h379, Untitled GUI
return
one:
Gui, submit, nohide
Gui, listview, lvo
Loop % arrayex.count()
LV_Add("", "one")
return
two:
gui, Submit, nohide
Gui, listview, lvt
Loop % arrayex.count()
LV_Add("", "two")
return