On 3/26/06 10:39 AM, "Bernard Sunderland" <[EMAIL PROTECTED]>
wrote:

> Well, I have achieved what I wanted by using the DrawPicture method in horiz &
> vert ScrollBars instead of using Canvas.scroll.
> This works beautifully:
> Make the  ScrollBar.maximum=Pic.width-Canvas.width  (sim. for the vertical)
> Put  Canvas.graphics.DrawPicture  in each  ScrollBar.ValueChanged  event ,
> with the parameters for the start position being:
> me.value, OtherScrollBar.value
> 
> But I would still like to know why Canvas.scroll doesn't work
> 
> Regards
> Bernard

AFAIK, it does work. However, calling .refresh or .refreshRect on the canvas
or the parent window hoses the scroll.

Are you seeing something different?

10.4.5, RB2006r1

Michael

_______________________________________________
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