Jump to content

IF then


 Share

Recommended Posts

Hi all i'm not sure i'm understanding this right what i have is a combo with three items

i'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 you

Michael

If  $Combo ="Hallway"  Then MsgBox(0, "Test", &GUICtrlRead($Combo)"")
Link to comment
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
 Share

  • Recently Browsing   0 members

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