Hi Gary,
Here are some SWAGs (Scientific WildAss Guesses)
Idea 1:
Theory: Try changing your form's size to trigger the same repaint activity as you're getting via the minimize and restore technique.
ThisForm.LockScreen = .T.
lnWidth = ThisForm.Width
ThisForm.Width = 10
ThisForm.Width = lnWidth
ThisForm.LockScreen = .F.
Idea 2:
ThisForm.Refresh()
Idea 3:
ThisForm.Paint()
Malcolm
>Hi,
>
>I am having a problem with the above. I have a page frame containing another pageframe (on page three). The second pageframe loads containers (containing controls) "on the fly". I have noticed that some of the container's contents appear to be drawn outside of the area of the outer pageframe?
>
>I have tried Thisform.Draw() and toggled LockScreen On/Off to ne real effect. If I minimise the form and then reopen it, the form rectifies itself.
>
>Any suggestions?
>
>Thanks,