Board index » cppbuilder » Scrolling TScrollBox with mouse selection
nicolasr
CBuilder Developer |
nicolasr
CBuilder Developer |
Scrolling TScrollBox with mouse selection2004-12-20 08:34:52 AM cppbuilder19 Hi, I display bitmaps in an auto-sized TImage that is placed in a TScrollBox. When the TImage is larger than the TScrollBox ScrollBars appear. The problem is: The user wants to select a rectangle from the TImage using the mouse. But if the TImage is larger than the scrollbox dragging with the mouse does not automatically scroll the scrollbox. So the user can only select from the part of the TImage that is currently visible. Does anyone know how to do this? thanks, Nick |
KR
CBuilder Developer |
2004-12-20 09:03:13 AM
Re:Scrolling TScrollBox with mouse selection
I had a similar problem, so instead of tearing my hair out for 12
hours and maybe still finding no solution I just scaled the image down. Full detail is kept in the selected rectangle however. On Mon, 20 Dec 2004 01:34:52 +0100, nicolasr wrote: QuoteHi, |