cchvfp wrote: > Hi Paul, > > Thanks for your reply. > > I'll make some tests here too, and for sure will forward your solution to Carlos and Malcolm > > Cesar > Thanks Cesar. You might also mention this "feature" - it's a similar situation to the one already described (i.e. no image but a "chldContainer" inside the "sContainer".
In my case the chldContainer started off the same height or taller than its sContainer parent but under some circumstances the chldContainer could end up being shorter than the parent sContainer. When that happens the "unused" part of the sContainer has a white background despite setting the back color to the forms backcolor at design time.
To get around this I changed the sContainers Init method to
DODEFAULT() THIS.BackColor = THISFORM.BackColor
It seems as if the design time Backcolor setting is getting over-ridden somewhere.
Best regards
Paul
©2007 Paul Newton |