You are here

PAM drive space bar suggestion

1 post / 0 new
SmithTech
SmithTech's picture
Offline
Last seen: 2 years 7 months ago
Developer
Joined: 2006-11-24 18:06
PAM drive space bar suggestion

I don't know how the new PAM will handle the drive space but I have a suggestion.
In my VB6 version I used a picturebox control, and set picture to drive_space_slider.bmp(135x15 pixels)
On the form load I set the picture box width to
135-(drivefreespace/drivetotalspace * 135)
The drive_space_slider size should always be 135x15
The picturebox doesn't resize the image, it only displays as much as will fit in the box so you get the right size bar and no shrinking or stretching is required.

I don't know if delphi has a similar control, although I am guessing it does.