Recent

Author Topic: Progress bar operated by the mouse wheel  (Read 1330 times)

Pe3s

  • Full Member
  • ***
  • Posts: 145
Progress bar operated by the mouse wheel
« on: January 20, 2022, 11:56:39 am »
 Hello, how can I make the progress bar show the status every 5 percent.  from zero to one hundred

winni

  • Hero Member
  • *****
  • Posts: 3057
Re: Progress bar operated by the mouse wheel
« Reply #1 on: January 20, 2022, 02:44:20 pm »
Hi!

Code: Pascal  [Select][+][-]
  1. var percent: integer;
  2. .....
  3. if percent mod 5 = 0 then Progressbar1.position := percent;


Winni

 

TinyPortal © 2005-2018