Panel.setlayout

splatt

Active Member
Licensed User
Longtime User
I'm using panel.setlayout to reposition panels but the image of the largest panel is still visible in it's old position. I've tried redrawing the Activity canvas but this dose'nt clear it.

Any suggestions on how to rectify this?
 

splatt

Active Member
Licensed User
Longtime User
Have you tried Activity.Invalidate ?

Best regards.

Hi Klaus, Yes, I've tried Invalidate and DoEvents. I also tried setting the visible properties of the panels to false befor calling SetLayout.
 
Upvote 0

splatt

Active Member
Licensed User
Longtime User
Problem sorted! I'd managed to create a second instance of the main panel, which was sat behind the other one. Moving the panel exposed it's twin!
 
Upvote 0
Top