![]() |
Re: Suche Progressbar mit Min,Max vom Typ Double
Zitat:
|
Re: Suche Progressbar mit Min,Max vom Typ Double
Wir haben doch Code-Folding. :zwinker:
|
Re: Suche Progressbar mit Min,Max vom Typ Double
Wieso min und max anpassen. Ich belasse stattdessen immer min=0 und max=100. Im OnProgress Ereignis passe ich dann meine Postion an... etwa so.
Delphi-Quellcode:
const
MinFloat = 5.17 ; MaxFloat = 18.15 begin progressbar.position := round (AktuellFloat-MinFloat / (MaxFloat-MinFloat)) ; end ; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:08 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