SkiFreak Posted October 11, 2006 Share Posted October 11, 2006 I have looked though the forum and help but have been unable to find a way to get a response out of a listbox when using the arrow keys. I currently have an "on click" event that returns the row when I use the mouse but if I use the arrow keys to select a row I cannot get a response. Surely this is possible and I hope that one of you out there can tell me how to do this. On a side note; I have a second question about listboxes. Is there a way to identify the column in a listbox (not the index of the row). I can sort a column by clicking on the row header (as per the example in help) but how can I trigger this from a button? Any help appreciated. Link to comment Share on other sites More sharing options...
GaryFrost Posted October 11, 2006 Share Posted October 11, 2006 ListBox or ListView? SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
SkiFreak Posted October 11, 2006 Author Share Posted October 11, 2006 ListBox or ListView?Sorry, a ListView control. Link to comment Share on other sites More sharing options...
GaryFrost Posted October 11, 2006 Share Posted October 11, 2006 http://www.autoitscript.com/forum/index.ph...st&p=231635 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
SkiFreak Posted October 13, 2006 Author Share Posted October 13, 2006 http://www.autoitscript.com/forum/index.ph...st&p=231635Probably should have seen this earlier as I am already using your snippet to do the "on_click" function in my ListView.I did however have to put in a little bit of "loop" handling because I was getting multiple $LVN_ITEMCHANGED events every time the GUI was initiated or I sneezed too close to it. Thanks. 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