Hi David,
Yes, I understood where the problem was and send a solution already. I have suggested resizing the inner window instead of repainting it.
>Alex,
>
>It's not an issue of repainting the window, all of the suggested ways posted in the thread will cause that.
>
>The issue is that VFP sizes the inner window in designer based on the object size when the designer first starts, or when you change the size via a drag operation or set properties in the property sheet. It's not resizing it when the object size if changed programatically from a builder.
>
>>Doesn't it redraw the designer window? It is strange enough, it worked fine with my environment (VFP7 SP1).
>>Well, try another function, RedrawWindow(), maybe this helps.
Alex