Jump to content
Sign in to follow this  

how to switch item without control

Recommended Posts



$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")

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