Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Deselect item in List control?

$
0
0
Here's a simple script to create a GUI with a List control. Once you select an item, is there any way to deselect it so that no item is selected and GUICtrlRead would return ""?
GUICreate("List", 160, 160) GUICtrlCreateList("", 10, 10, 140, 140) GUICtrlSetData(-1, "|1|2|3|4|5|6|7|8|9|0") GUISetState() While 1     If GUIGetMsg() = -3 Then ExitLoop WEnd

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>