Topic: Remove Image Outline

Hi, I would like to know if there is a way for the contours of an image not to appear on the screen like the photo opposite.
Thanks

Post's attachments

Attachment icon Contour image.jpg 2.64 kb, 55 downloads since 2022-07-25 

Re: Remove Image Outline

Hi,
Can't you simply mask it with panels (see attached example)?
Derek.

Post's attachments

Attachment icon Phone Book no photo frame.zip 361.78 kb, 119 downloads since 2022-07-25 

Re: Remove Image Outline

Yes I will do like that, I thought there was a solution included in MVD.
Thanks Derek.

4 (edited by sparrow 2022-07-25 18:41:49)

Re: Remove Image Outline

Hi all,


Try this
frmAbonent - event OnShow

frmAbonent.DbPhoto.Canvas.Pen.Color := clBtnFace;
frmAbonent.DbPhoto.Canvas.Brush.Color := clBtnFace;
frmAbonent.DbPhoto.canvas.rectangle(0,0,200, 200);

or
It is possible and so but it is necessary to look at property Proportional.

frmAbonent.DbPhoto.Canvas.Pen.Color := clBtnFace;
frmAbonent.DbPhoto.Canvas.Brush.Color := clBtnFace;
frmAbonent.DbPhoto.canvas.rectangle(0,0,frmAbonent.DbPhoto.Width,frmAbonent.DbPhoto.Height);

5 (edited by sdpc62 2022-07-26 10:43:40)

Re: Remove Image Outline

Thank you sparrow, your solution works wonderfully, thank you very much, it's cool.