![]() |
FMX - Problem mit StylesData[Rectangle.Fill] in CustomListbox
Hi,
ich versuche aktuell in einer Listbox mit CustomItems eine Benutzerbild anzuzeigen. Ich will es in einem TCircle platzieren. Soweit klappt es auch, bis zu dem Zeitpunkt an dem ich in der Listbox scrolle oder das Fenster bis zur Listbox verkleinere. Fehlermedungen:
Mit ItemData.Bitmap [Anzeige in Glyph] funktioniert es einwandfrei, allerdings bekomme ich die Bilder so nicht in eine Runde Darstellung. Bisherige Versuche: circleUser.Fill.Bitmap.Bitmap := Bitmapcontainer1.FindBitmap('PicName') ; circleUser.Fill.Bitmap.Bitmap := imgTMP.Bitmap;
Code:
Kann mir hier jemand weiterhelfen?
if fileexists(pfad + PicName + '.png') then
imgTMP.Bitmap.LoadFromFile(pfad + PicName + '.png') else imgTMP.Bitmap.LoadFromFile(pfad +'nopic.png'); Item.StylesData['circleUser.fill.bitmap.bitmap'] := imgtmp.Bitmap Vielen Dank im Voraus Gruß Heiko |
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:02 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz