Painful Posted April 26, 2011 Author Share Posted April 26, 2011 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 More sharing options...
Dzoni94 Posted April 26, 2011 Share Posted April 26, 2011 Maybe this is the problem ?modConstants```Public Const MAX_MENUBUTTONS As Long = 4``` Link to comment Share on other sites More sharing options...
Painful Posted April 26, 2011 Author Share Posted April 26, 2011 @Dzoni94:> Maybe this is the problem ?> > modConstants> ```> Public Const MAX_MENUBUTTONS As Long = 4> ```Nice, it worked.Thank you :) Link to comment Share on other sites More sharing options...
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