BlankMind Posted February 11, 2005 Posted February 11, 2005 I'm a bit confused about GuiCtrlCreateList command. Well, I want to make four things: 1 - Read the selected item of the list. 2 - Delete the selected item of the list. 3 - Move a item up and down, changing the order of the items. 4 - Know the number of the line (line 1, line 2...) that the selected item is. I know I'm being boring, but I'm trying to post less questions I can, but after try doing something for 2 hours and can't do I have to ask someone
jpm Posted February 11, 2005 Posted February 11, 2005 I'm a bit confused about GuiCtrlCreateList command. Well, I want to make four things:1 - Read the selected item of the list.2 - Delete the selected item of the list.3 - Move a item up and down, changing the order of the items.4 - Know the number of the line (line 1, line 2...) that the selected item is.I know I'm being boring, but I'm trying to post less questions I can, but after try doing something for 2 hours and can't do I have to ask someone <{POST_SNAPBACK}>Basically GUI functions don't give you direct programming with simple GUI functions.1. GUICtrlRead is OK2. you need to remove the selected item from a memorized list and reset the list to the new value statring with '|'3. no GUI function except as 2. recreating with new list4. GuiCtrlRecvMsgIn fact I thing CyberSlug mad a good wrapping Library to do what you want
CyberSlug Posted February 11, 2005 Posted February 11, 2005 (edited) See here http://www.autoitscript.com/forum/index.ph...wtopic=7999&hl= Wrapper functions: http://www.autoitscript.com/fileman/users/public/CyberSlug/listbox_wrappers.au31 = GuiCtrlRead($listRef)2 = _GuiLB_DeleteString($ref, _GuiLB_GetCurSel($listRef))3 = see example4 = _GuiLB_GetCurSel($listRef) Edited February 11, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
BlankMind Posted February 11, 2005 Author Posted February 11, 2005 Thank you two guys, I'll study your answers and probably do what I want .
goldnimo04 Posted September 6, 2007 Posted September 6, 2007 Thank you two guys, I'll study your answers and probably do what I want .Hey,You can say i am another BlankMind. What I try to do is similar. Was you able to write code where you can select item from the listbox and remove it, #2Your questions1 - Read the selected item of the list.2 - Delete the selected item of the list.3 - Move a item up and down, changing the order of the items.4 - Know the number of the line (line 1, line 2...) that the selected item is.Please adviseThanks
maqleod Posted September 6, 2007 Posted September 6, 2007 Hey,You can say i am another BlankMind. What I try to do is similar. Was you able to write code where you can select item from the listbox and remove it, #2Your questions1 - Read the selected item of the list.2 - Delete the selected item of the list.3 - Move a item up and down, changing the order of the items.4 - Know the number of the line (line 1, line 2...) that the selected item is.Please adviseThankslook to the GuiList.au3 include file, all your answers are there. If you need more help, ask. [u]You can download my projects at:[/u] Pulsar Software
guwguw Posted September 6, 2007 Posted September 6, 2007 See here Wrapper functions: http://www.autoitscript.com/fileman/users/public/CyberSlug/listbox_wrappers.au3That page comes back with "404: The page/file you requested could not be found." Sorry! We can't find the file or page you asked for. If you came from an external site the links may be out of date.
GaryFrost Posted September 6, 2007 Posted September 6, 2007 Most of the users areas have been disabled, check the help file in the UDF section you should find what you need. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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