Acris
Joined: 18 Jan 2010 Posts: 193 Location: Switzerland
|
Posted: Mon Mar 15, 2010 9:37 am Post subject: [Solved]Clear listbox |
|
|
Hello,
Can you tell how clear listbox after push Button UnMount ???
I tried :
MyListPQSMOUNT=
MountPath=
But it doesn't work
| Code: | Gui, Tab, PQServiceUSB
Gui, Add, ListBox, x35 y60 w565 r5 AltSubmit vMyListPQSMOUNT, %MountPath%
Gui, Add, GroupBox,x15 y40 w600 h100, %CREATEPQSUSB%
Gui, Add, ListBox, x35 y230 w565 r5 vMyListPQSUSB, %MergedLine%
Gui, Add, Button, x35 y145 w60 h25 gMount, Monter
Gui, Add, Button, x105 y145 w60 h25 gUnMount, Démonter
Gui, Add, GroupBox,x15 y210 w600 h100, %DESTPQSSUSB%
Mount:
{
GuiControl, +AltSubmit -g, MyListPQSMOUNT
MountPath= Z:
SB_SetText(MOUNTINPROGRESS)
RunWait,%comspec% /c MBRwrWin mount hd0:1 %MountPath%,, HIDE
SB_SetText(MOUNTIND)
Sleep, 5000
SB_SetText("")
}
GuiControl,1:, MyListPQSMOUNT,%MountPath%
Return
UnMount:
{
;GuiControl, +AltSubmit -g, MyListPQSMOUNT (doesn' work)
;Gui, Cancel (doesn' work)
MyListPQSMOUNT=
MountPath=
RunWait,%comspec% /c dosdev -d Z:, , HIDE
}
;GuiControl, +AltSubmit -g, MyListPQSMOUNT (doesn' work)
GuiControl,1:, MyListPQSMOUNT,%MountPath%
Return |
Can you help me,
thanks a lot
Acris 
Last edited by Acris on Mon Mar 15, 2010 10:07 am; edited 1 time in total |
|