i make listbox with
Code: Select all
Loop,Read,ip.txt
ListVar .= (A_Index == 1 ? "" : "|") . A_LoopReadLine
Gui, Add, ListBox, x16 y7 w150 h180 , %ListVar%
and then move down and select next
thx a lot
Code: Select all
Loop,Read,ip.txt
ListVar .= (A_Index == 1 ? "" : "|") . A_LoopReadLine
Gui, Add, ListBox, x16 y7 w150 h180 , %ListVar%
Code: Select all
filedelete, ip.txt
fileappend, abc`ndef`nghi,ip.txt
Loop,Read,ip.txt
ListVar .= (A_Index == 1 ? "" : "|") . A_LoopReadLine
Gui, Add, ListBox, x16 y7 w150 h180 choose1 vmylist, %ListVar%
gui,show
gui,submit,NoHide
msgbox % mylist
GuiControl, Choose, mylist, 2
gui,submit,NoHide
msgbox % mylist
GuiControl, Choose, mylist, 3
gui,submit,NoHide
msgbox % mylist
Code: Select all
Loop,Read,ip.txt
ListVar .= (A_Index == 1 ? "" : "|") . A_LoopReadLine
Gui, Add, ListBox, x16 y7 w150 h180 choose1 vmylist, %ListVar%
gui,show
gui,submit,NoHide
msgbox % mylist
loop, 1000
{
GuiControl, Choose, mylist, %A_Index%
gui,submit,NoHide
tooltip % mylist
}
Users browsing this forum: Google [Bot], Marium0505, mcl, XMCQCX and 338 guests