El-Trucha Posted February 4, 2005 Share Posted February 4, 2005 Hello every1!! OK, this is what I have: (I'm using CyberSlug's Listbox Wrappers) If _GuiLB_GetCurSel($beeps) <> -1 Then If Not _GuiLB_GetCurSel($beeps) < 0 Then _GuiLB_SwapString($beeps, _GuiLB_GetCurSel($beeps), _GuiLB_GetCurSel($beeps) - 1) EndIf It doesn't work!! and when I try this: (the same but without the If's...) _GuiLB_SwapString($beeps, _GuiLB_GetCurSel($beeps), _GuiLB_GetCurSel($beeps) - 1) and if it goes off the limits, it displays some weird number with a weird "Y" with some dashes in the middle!! How do I do this?? Thanx!! El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx Link to comment Share on other sites More sharing options...
CyberSlug Posted February 4, 2005 Share Posted February 4, 2005 If Not _GuiLB_GetCurSel($beeps) < 0 Then ...I'm pretty sure that statement is always false. Because of the Not, the left side of the If-statement witll either be 0 or 1 (neither is less than zero). Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
El-Trucha Posted February 5, 2005 Author Share Posted February 5, 2005 Yeah, it worked!! thanx!! El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx 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