S splatt Active Member Licensed User Longtime User Mar 6, 2011 #1 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?
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?
klaus Expert Licensed User Longtime User Mar 6, 2011 #2 Have you tried Activity.Invalidate ? Best regards. Upvote 0
S splatt Active Member Licensed User Longtime User Mar 7, 2011 #3 klaus said: Have you tried Activity.Invalidate ? Best regards. Click to expand... 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
klaus said: Have you tried Activity.Invalidate ? Best regards. Click to expand... Hi Klaus, Yes, I've tried Invalidate and DoEvents. I also tried setting the visible properties of the panels to false befor calling SetLayout.
klaus Expert Licensed User Longtime User Mar 7, 2011 #4 Could you post your code, so we could look at it and try it in the same conditions. Best regards. Upvote 0
S splatt Active Member Licensed User Longtime User Mar 8, 2011 #5 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
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!