Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21237

Keeping Data Static on Form2

$
0
0
I have program with two Forms; the main Form (Form1) and another (Form2) that keeps track of game moves going on in the main Form.

When a player makes a move on the main Form game board the move is displayed on the game board in the main Form (Form1) and also on a mini game board in Form2.

As long as Form2 is shown you can see the moves being displayed. Now if player "X" out of Form2 and then later clicks on button to show Form2 again everything that was done is lost and Form2 shows it's original board which is cleared of any moves.

How can I keep what has been shown in Form2 so if player closes it and then shows it again it will show the game board with all the moves that have taken place?

Viewing all articles
Browse latest Browse all 21237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>