custom shape form using image lazarus / 10-Designer ---------------------------------------------------------------------- mythcat · 2010-11-19 14:31 How i make a custom shape form using image? Thank you . ---------------------------------------------------------------------- ivan17 · 2010-11-19 22:29 here; top left pixel is transparent color in that example. ---------------------------------------------------------------------- mas steindorff · 2010-11-19 22:52 Quote from: ivan17 on November 19, 2010, 11:29:16 pmhere; top left pixel is transparent color in that example. do you replace TBitMap with something else to make it work for Lazarus? I've tried Tbitmap and Timage without success ---------------------------------------------------------------------- mythcat · 2010-11-20 13:37 unit1.pas(43,16) Error: identifier idents no member "Scanline" And where is TBitmap? I see is Delphi 7 example ... ---------------------------------------------------------------------- zariq · 2010-11-21 02:07 According to previous posts on this forum scanline is not available for tbitmap and instead you have to use TLazIntfImage or possibly the bitmaps rawimage. http://www.lazarus.freepascal.org/index.php?topic=3178.0 ---------------------------------------------------------------------- ivan17 · 2010-11-21 07:31 yes it is a delphi 7 example (and it used to work).  if it doesn't work out of the box (it happens) you're going to need to fix the quirks yourself (i'm not gonna do that) or stick with rectangular forms. ---------------------------------------------------------------------- Mando · 2010-11-22 07:37 You can replace "scanline" by "Pixels" property in code from Torry's. It's slower than using "scanline" but I use only once at form creation. It works fine. Regards.