Click here to Skip to main content
15,900,258 members

Comments by Member 14846576 (Top 3 by date)

Member 14846576 19-Oct-20 12:47pm View    
Thanks, I see, I now did it the way it was written there. Unfortunately, it still flickers when I use .Refresh() or .Invalidate() while scrolling to raise the Paint event.. seems I'm still doing something wrong..
Member 14846576 19-Oct-20 10:33am View    
Thanks for your answer. How would I do this? I see the Paint event in the Panel, but I'm unsure how to proceed..
Member 14846576 19-Oct-20 10:28am View    
Deleted
Thanks for your reply. I have no swapped the PictureBox for a Panel. Did you mean putting the drawing code in its Paint event and triggering it from the code that handles the scrolling? I tried "panel1.Refresh()" but that's probably not the way, now both the map and the objects on it flicker..