radamsiii
07-18-2008, 03:54 AM
I am designing a game for a project using VB.Net 2005. I am absolutely new to this, learning as I go. What I am trying to do is create, if necessary, a sub that when called will undo the last button click made by user. Example… if user clicks button1 to change to B and checks with check button, check button determines B is incorrect and displays message, how do I return button1 to its former text?
Thank you for looking
dualfever
08-10-2008, 05:43 PM
I am designing a game for a project using VB.Net 2005. I am absolutely new to this, learning as I go. What I am trying to do is create, if necessary, a sub that when called will undo the last button click made by user. Example… if user clicks button1 to change to B and checks with check button, check button determines B is incorrect and displays message, how do I return button1 to its former text?
Thank you for looking
Please post all of your code in here so i can understand what you already have.
Then I'll be able to help.
-Dual
sage45
08-20-2008, 12:34 AM
Simple really...
You would have to specify a variable to be a temporary holder of the old variable data. This ofcourse would mean that the temporary variable would be of the same type as that of the origin.
-saige-