Recent

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

Pe3s

  • Hero Member
  • *****
  • Posts: 533
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: 3197
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