Michael36 Posted November 23, 2005 Posted November 23, 2005 Hi all i'm not sure i'm understanding this right what i have is a combo with three itemsi'm trying to get it so when i click on a item in the combo it fires a msgbox like "hallway" if i click hallway than that would fire a msgbox and so on i'm just not sure i have my expression right would i use the = or the > i have been looking in the help book but i can't seem to get it to work any ideas would be apreshated thank youMichaelIf $Combo ="Hallway" Then MsgBox(0, "Test", &GUICtrlRead($Combo)"")
w0uter Posted November 23, 2005 Posted November 23, 2005 $combo is a handle, i asume this cine you try to use GuiCtrlRead on it, so it will NEVER be equal to "Hallway" My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
themax90 Posted November 24, 2005 Posted November 24, 2005 (edited) If GUICtrlRead($Combo) = "Hallway" Then MsgBox(0, "Test", GUICtrlRead($Combo)) Possibly? Edited November 24, 2005 by AutoIt Smith
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