hanspeter Guest
|
Posted: Tue May 17, 2005 3:31 pm Post subject: GuiControl,+default results in abend of compiled exe |
|
|
The script works well, the compiled exe abends:
| Code: | Gui, Add, ListBox, vMyListBox gMyListBox w50 r4 , 1|2|3
Gui, Add, Button, x+0 default , 1
Gui, Add, Button, x+0 , 2
Gui, Show ,,Test
return
MyListBox:
GuiControlGet, MyListBox
GuiControl, -default, 2
GuiControl, enable, 1
GuiControl, +default, 1
GuiControl, enable, 2
If Mylistbox=2
{
GuiControl, -default, 1
GuiControl, +default, 2
GuiControl,disable, 1
}
return
GuiClose:
GuiEscape:
ExitApp |
|
|