Sign in to follow this  
Followers 0
L3G3NdKillEr

how to switch item without control

1 post in this topic

hi,

$PsList = GUICtrlCreateList("", 0, 0, 5, 410) 
GUICtrlSetData(-1, "item1|item2|item3")
GUICtrlSetOnEvent($PsList, "Psitems")

Func Psitems()
 $pics = GUICtrlRead($PsList)
    Switch $pics
        Case "item1"
           msgbox(1024, "" item1")

        Case "item2"
           msgbox(1024, "" item1")

        Case "item3"
           msgbox(1024, "" item1")
endswitch
endfunc

how do i switch my items without listbox and then use them with left and right keys.. i don't want listbox control anymore in my gui..??


i'm very responsible, when ever something goes wrong they always say I'm responsible.Life is like an Adventure... BUT COOL GRAPHICS<====================----=LEGEND KILLER=----=========================>

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