![]() |
Problem beim Erstellen von TImage in ScrollBox
Hi
ich weiß nicht woran es liegt, dass der Code nicht richtig funktioniert, wenn die ScrollBox-Position nicht 0 ist !
Delphi-Quellcode:
Danke! Problem gelöst :
with TImage.Create(self) do begin
Parent := ScrollBox1; Width := 250; Height := 250; Left := 10; Top := 50;// nur wenn ScrollBox1.Pos:=0; sonst kommt tiefer !
Delphi-Quellcode:
Top := 50 - ScrollBoxSource.VertScrollBar.Position;
|
AW: Problem beim Erstellen von TImage in ScrollBox
Beachte aber auch, dass du Left auch entsprechend angepasst werden muss, nicht nur Top :thumb:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:09 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