>The reason you have flashing scroll bars is because you have created them
as
>controls of their own right.  This means that they have their own window,
>and hence they can receive focus.  If your custom control is derived from


Yup. as I thought.


>TScrollingWinControl, there is a way for you to display scroll bars without
>having to create TScrollBar components.  Just set the
>Vert/HorzScrollBar.Visible property to true.


I'm implementing a "schematic drawing" component, that draws an image made
up of several metafiles, and connecting lines, that is both scaleable and
scrollable.  I'm using my own scroll bars due to maiing "virtual"
scrolling...  what I might just do is set an event on the OnScroll for the
scrollbars that just gives the focus back to the components parent....

Mark


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to