#11
|
||||
|
||||
ok pro, I fix the problem.
Code:
procedure Timer1OnTimer(Sender: TObject); var RAMPCT, CPUPCT, DiskPCT: Single; begin CPUPCT:=(CPU.CpuLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc.Arc.EndAngle(CPUPCT); PctLB.Text(IntToStr(Round(CPU.CpuLoad))); RAMPCT:=(RAM.RamLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc2.Arc.EndAngle(RAMPCT); PctLB2.Text(IntToStr(Round(RAM.RamLoad))); DiskPCT:=(Disk.DiskLoad * (360 - 2 * C_ANGLE)) / 100; RoundArc3.Arc.EndAngle(DiskPCT); PctLB3.Text(IntToStr(Round(Disk.DiskLoad))); end; Last edited by hitman797; 07-01-2023 at 04:24. |
The Following User Says Thank You to hitman797 For This Useful Post: | ||
audiofeel (07-01-2023) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM | BLACKFIRE69 | Conversion Tutorials | 0 | 15-11-2023 17:35 |
Windows Phone Installer similar to razor12911's original design? | Kitsune1982 | Conversion Tutorials | 0 | 02-07-2020 13:04 |
INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |