Sign in to follow this  
Followers 0
El-Trucha

Moving items from listbox?

3 posts in this topic

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!! :lmao:

How do I do this?? Thanx!! o:)


El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx

Share this post


Link to post
Share on other sites



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!

Share this post


Link to post
Share on other sites

Yeah, it worked!! thanx!! o:):lmao:


El-Truchahttp://www.truchasoft.tk[url="ftp://tsfc.homeftp.net"]ftp://tsfc.homeftp.net[/url]hotline://tsfc.ath.cx

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0