Growlith1223 Posted August 10, 2012 Author Share Posted August 10, 2012 hi i just released my little bug in my topic in the off topic and right now i am trying to make it renderText instead of a message box.but it won't render it…``` If curMenu = MENU_REGISTER Then ' register accept If isLoginLegal(sUser, sPass) Then If sPass2 <> sPass Then RenderText Font_Default, "The password does not match", x2, y2, Red 'MsgBox "The password does not match." Exit Sub End If If Not isStringLegal(sUser) Then Exit Sub End If Call MenuState(MENU_STATE_NEWACCOUNT) End If End If```Help is appreciated. Link to comment Share on other sites More sharing options...
ghost1 Posted August 10, 2012 Share Posted August 10, 2012 Everything you render must be inside the RenderGraphics procedure. That RenderText is not. Put that RenderText in RenderGraphics and use a bool flag to check if you should render it or not.ie:```if CanDrawMsg then rendertext(...)``` 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