|
|
|
#1
|
||||
|
||||
|
Code:
procedure Timer1OnTimer(Sender: TObject); var PCT, RAMPCT, CPUPCT, DiskPCT: Single; begin PCT:=(CPU.CpuLoad * 2.5); CPUPCT:=(PCT * (360 - 2 * C_ANGLE)) / 100; RoundArc.Arc.EndAngle(CPUPCT); PctLB.Text(IntToStr(Round(PCT))); 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; |
| The Following 4 Users Say Thank You to hitman797 For This Useful Post: | ||
| Sponsored Links |
![]() |
| Thread Tools | Search this Thread |
| 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 |