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

FrmMenu button animation [SOLVED]


Painful
 Share

Recommended Posts

Hey, I wanted to add another button with animation to _frmMenu_ and then _picLogin_. Unfortunately wasn't it that easy, I've added this to _imgButton_:
```
        Case 5
            If isLoginLegal(txtLUser.text, txtLPass.text) Then
                Call MenuState(MENU_STATE_LOGIN)
            End If
            DestroyTCP
```also in _modGeneral_ and then _cacheButtons_:
```
' menu - play
    With MenuButton(5)
        .fileName = "play"
        .state = 0 ' normal
    End With
```
Now what I'm looking for is to make the _MenuButton_ function to work with everything in _frmMenu_.

**EDIT:**

All the animation are named: play_norm, play_hover, play_click.
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...