Hi...! I'm Workihng on Snake And Laddet Game... the player roll the dice and it's get a new position,an image will show the player position on the screen in the next turn image will move to a new position but the last picture is still in it's position how can i remove last picture?!
thansk...!
peymankop
0
Light Poster
Recommended Answers
Jump to PostCould you give a bit more info?
Or is this helpfull enough?
Jump to PostIf each player is a label placed over top of the board, then changing the location of the label will make the piece move and not copy itself. Are you sure you're not creating a new label and placing that? All this is speculation without some code to go by
Jump to PostInstead of creating a new label, just change the location property of the existing label. You might have to make the declaration for that label, global(inside the class but ouside of any subroutines). If that doesn't work for you, you could call the .Dispose() method of the label. But I …
All 9 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
peymankop
0
Light Poster
peymankop
0
Light Poster
tinstaafl
1,176
Posting Maven
peymankop
0
Light Poster
tinstaafl
1,176
Posting Maven
ddanbe
2,724
Professional Procrastinator
Featured Poster
indujah
0
Newbie Poster
JOSheaIV
119
C# Addict
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.