EhLib.Com
https://forum.ehlib.com/en/

"PicturePlacement" Property in DbGridEh
https://forum.ehlib.com/en/viewtopic.php?f=5&t=1006
Page 1 of 1

Author:  Luciano_F [ 01 Oct 2019, 11:07 ]
Post subject:  "PicturePlacement" Property in DbGridEh

I am looking for and not finding the "PicturePlacement" property in "DbGridEh" and "DBVertGridEh"
I would like to use other types such as "ipTileEh"

Thankful.

Author:  EhLibSupport [ 04 Oct 2019, 13:44 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

Hello

If you mean a background image then use the TDBGridEh.BackgroundData.Placement = ipTileEh property.

TDBVertGridEh, unfortunately, it does not have the BackgroundData property.

Author:  Luciano_F [ 04 Oct 2019, 14:17 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

not a background image but a field image, this functionality would be interesting for both Grids "DbGridEh" And "DBVertGridEh"

Author:  EhLibSupport [ 04 Oct 2019, 17:14 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

Can you give a real example, maybe a picture, so that it is clear that this is really a useful thing?

Author:  Luciano_F [ 04 Oct 2019, 20:42 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

If I have a crappy image using the "ipTileEh" option improves viewing, I have this case on a client.

See this example attached.

Attachments:
Foto EhLib.7z [100.66 KiB]
Downloaded 226 times

Author:  EhLibSupport [ 05 Oct 2019, 08:18 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

Hello Luciano

I see a picture in a cell, but I don’t understand what Tile mode has to do with it.
Can you explain?

Attachments:
sshot-57.png
sshot-57.png [ 70.26 KiB | Viewed 1987 times ]

Author:  Luciano_F [ 07 Oct 2019, 11:18 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

if you turn on the component's DataSource
"DBImageEh1" will see something like the image I attached.

I have some clients that take photos on WebCam and some photos are bad but using "ipTileEh" even if cropping the image is better viewing.

Attachments:
Tiled.jpg
Tiled.jpg [ 251.22 KiB | Viewed 1973 times ]

Author:  EhLibSupport [ 07 Oct 2019, 13:00 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

So, you probably need not the ipTileEh mode, but the actual size with cropping?

Author:  Luciano_F [ 07 Oct 2019, 14:10 ]
Post subject:  Re: "PicturePlacement" Property in DbGridEh

As the image is bad I need a way to show it better, even if it cuts off part of the image, so I see that it would be interesting to have all the options "PicturePlacement" so I can configure it according to the client's needs

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/