how to display Image in ScrollBox

Please discuss general Delphi programming topics here.

how to display Image in ScrollBox

Postby mac1234mac » August 15th, 2009, 4:50 pm

Hello,

I'd like to load bitmap in ScrollBox positioned at 100, 100 coordinates of the ScrollBox. But I'd like to do it
from code, not graphically. How can I do it?.

Cheers.

.
mac1234mac
Active Member
Active Member
 
Posts: 5
Joined: July 24th, 2008, 7:17 am

Re: how to display Image in ScrollBox

Postby stimpakr » August 20th, 2009, 10:27 am

I learnt lots from delphi.about.com
Here's a link to a demo showing how to position a TImage inside a scrollbox.
Grab the source code about halfway down the page.
http://delphi.about.com/od/adptips2006/qt/panning.htm
Should get you going :)

cheers
stim
stimpakr
Member
Member
 
Posts: 3
Joined: August 20th, 2009, 10:03 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron