Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Help With Command


Kemerd
 Share

Recommended Posts

Well I was programming a comand in Eclispe, trying to use a command to open a panel.

```

Case "/redeemcode"

If redeemcodepanel = Visible Then

redeemcodepanel.Visible = False

Else

redeemcodepanel = Visible

```

That's in modInput, and I'm trying to control something on frmMain. Any help?

```

Compile error:

Variable not defined

[OK] [HELP]

```

Giving me that error.
Link to comment
Share on other sites

Gonna try to make a global variable with

```

Public codevisible As Boolean

If redeemcodepanel.Visible = True Then

codevisible = 0

Else

codevisible = 1

End Sub

```

Posted in frmMain

Then modify the command to…. ya know.
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

×
×
  • Create New...