On Jan 9, 2007, at 2:39 PM, Chris Halford wrote:

Is there a trick to get container controls to correctly clip the controls that they are containing?
Having scrolled containers peek out of the sides is a real problem...


Hello Chris!

Are you telling me this is still broken with the more recent versions of RB? I've been digging around for my checkbook the last few days to finally update my RB5 to 07 and was hoping that might be fixed.

My version of RB5 doesn't have the container control, but if you put controls on a canvas and scroll them off the edge the same thing happens.

What I've done is to create a timer with a very short time interval in the window and in the scroll bar's changed event I set the timer to mode 1. It fires as soon as you let go of the mouse and just does a refresh of the window which makes the parts that are peaking through go away. It's messy but ends up with the window looking properly after a flash of seeing the peaky controls. Can you tap the scroll methods for a container as well?

Good Luck!
 James
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to