Jump to content

Recommended Posts

Posted

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=----=========================>

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...