AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ListView deselection problem

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
markreflex



Joined: 12 Feb 2008
Posts: 50

PostPosted: Fri May 23, 2008 12:18 am    Post subject: ListView deselection problem Reply with quote

I am having a problem with the ListView. When i select any selection it selects fine but when i deselect any it doesn't. How can i improve my code so it deselects and removes the variable on the last selection?

Code:

Gui, Listview, list_LV
if A_GuiEvent = Normal
{
FocusedRowNumber := LV_GetNext(0, "F")
if not FocusedRowNumber
    return
LV_GetText(Filename, FocusedRowNumber, 1)
}
return

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group