Recent

Author Topic: How To Put A Logo On A Form ?  (Read 2739 times)

MrBill

  • New Member
  • *
  • Posts: 16
How To Put A Logo On A Form ?
« on: January 27, 2013, 05:05:38 pm »
My first Lazarus app is almost finished and Lazarus/FP works great!

Now I would like to put a company logo in one corner of the app's main form. 

I've experimented with the TImage component from the "Additional" tab in Lazarus but I can't figure out how to get the logo onto the TImage.  Also, I want to accomplish this in a way where there is no external file used (that contains the logo).  When finished, I want the logo to be part of the information stored in the executable, not a separate file.

I know this must be easy but I haven't figured out how to do it.  Any hints or pointers would be greatly appreciated.

Thanks,

Bill

Lazarus 1.0.4
Windows 7 & XP

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How To Put A Logo On A Form ?
« Reply #1 on: January 27, 2013, 05:36:39 pm »
Drop a TImage, set its Picture property, done. The image would be included in the executable.

MrBill

  • New Member
  • *
  • Posts: 16
Re: How To Put A Logo On A Form ?
« Reply #2 on: January 27, 2013, 06:05:51 pm »
Wow.  Works great!

Thanks,

Bill

 

TinyPortal © 2005-2018