[Lazarus] Loading photos on a form

leledumbo leledumbo_cool at yahoo.co.id
Mon Oct 7 08:23:34 CEST 2013

> confused on what control to use (timage, tbitmap, something else)and what
are the steps to get the image to that control?

TImage is meant for static image, TBitmap could be one of the possible image
container of TImage, or used freely to draw or manipulate other bitmaps.
Just drop a TImage and set its Picture property. To load an image from code,
use TImage.Picture.LoadFromFile(). png and jpg should be supported out of
the box.

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Loading-photos-on-a-form-tp4033737p4033739.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

More information about the Lazarus mailing list