realkiller Posted March 12, 2007 Share Posted March 12, 2007 I made this gui sow far, the only problkem i got is to clear the selected value from the list if i add something #include <GUIConstants.au3> GLOBAL $MESSAGE = "" GUICreate("Database",700,700-63,-1, 1) $file = GUICtrlCreateInput ( "", 10, 5, 300, 20) $add=GUICtrlCreateButton ("Toevoegen", 315,3,75,25) $clear=GUICtrlCreateButton ("Leegmaken", 390,3,75,25) $mylist=GUICtrlCreateList ("", 10,32,120,500) GUICtrlSetData(-1,$MESSAGE) GUICtrlRead($file) GUISetState () $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() Select case $msg = $add GUICtrlSetData($mylist,GUICtrlRead($file)) case $msg = $clear GUICtrlSetData($file,"value") EndSelect Wend Remote 3.1 BetaRemote Media Player ControlUSB Security 1.2 Link to comment Share on other sites More sharing options...
piccaso Posted March 12, 2007 Share Posted March 12, 2007 look in the helpfile for _GUICtrlListDeleteItem() CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now