![]() |
TadvPicture und ImageContainer
hallo!
hab ein kleines problem mit dem Tadvpicture von TMS. Sorry wenn ich wieder so eine banale frage stelle, aber ich zerbrech mir den kopf an sowas.. dieser code von Uwe Raabe (danke!!) hat in nem normalen TImage super funktioniert
Code:
um auf knopfdruck durch die verschiedene bilder eines image containers zu schalten..dies funktioniert aber bei dem advpicture nicht....ich benötige es aber weil es gif files animiert anzeigen kann :F
Image1.Picture.Graphic := container1.Items[Tag].picture;
Tag := Tag + 1; if Tag >= container1.Items.Count then Tag := 0; hat jemand nen tip wie ich die erste zeile des codes abändern könnte damit es auf den container zugreift? (als container benutze ich von TMS den TGDIPPICTURECONTAINER) problem ist..nach dem advpicture1.picture. existiert kein "graphic" als auswahl ...wenn das hilft.. help! danke |
AW: TadvPicture und ImageContainer
tagsüber wird vieles klarer ;D
Code:
advpicture1.Picture.Assign ((container.Items[tag]).picture);
Tag := Tag + 1; if Tag >= container.Items.Count then Tag := 0; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:01 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