Kernal
Aug 6 2003, 06:28 PM
I want to display the free HD space on C and F if I use the <LayoutElement Type="Text" Source="ShortDriveCFree"> code
I get a result of "C: 5000,000KB free" hpw can I make this abreviated to "500,000KB"
Thanks
Kernal
BenJeremy
Aug 6 2003, 06:33 PM
| QUOTE (Kernal @ Aug 6 2003, 03:28 PM) |
I want to display the free HD space on C and F if I use the <LayoutElement Type="Text" Source="ShortDriveCFree"> code I get a result of "C: 5000,000KB free" hpw can I make this abreviated to "500,000KB"
Thanks
Kernal |
Hmmmm..... well, I'll take a look and see what I've got in there tonight.
Kernal
Aug 6 2003, 06:35 PM
Cool, thanks a lot
Cofi
Aug 6 2003, 08:43 PM
| QUOTE (Kernal @ Aug 6 2003, 09:28 PM) |
I want to display the free HD space on C and F if I use the <LayoutElement Type="Text" Source="ShortDriveCFree"> code I get a result of "C: 5000,000KB free" hpw can I make this abreviated to "500,000KB"
Thanks
Kernal |
Hhahahah thats easy, just put dummy files that are 4,500,000 kB.
5,000,000 kB - 4,500,000 kB = 500,000 kB
Then you will have that space you wanted. But I suggest you to use for something a bit more clever...
Kernal
Aug 7 2003, 05:37 AM
| QUOTE (Cofi @ Aug 6 2003, 10:43 PM) |
| QUOTE (Kernal @ Aug 6 2003, 09:28 PM) | I want to display the free HD space on C and F if I use the <LayoutElement Type="Text" Source="ShortDriveCFree"> code I get a result of "C: 5000,000KB free" hpw can I make this abreviated to "500,000KB"
Thanks
Kernal |
Hhahahah thats easy, just put dummy files that are 4,500,000 kB. 5,000,000 kB - 4,500,000 kB = 500,000 kB Then you will have that space you wanted. But I suggest you to use for something a bit more clever... |
All I am wanting to do is abreviate the length of the information shown about HDD free space.
Cofi
Aug 7 2003, 06:40 AM
Well mine shows up in MB, do you have the latest version of mxm?
Kernal
Aug 7 2003, 08:08 AM
Yes I have the latest version, think this will be created by a small alteration to the coding behind MXM.
BenJeremy
Aug 7 2003, 10:55 AM
| QUOTE (Kernal @ Aug 7 2003, 05:08 AM) |
| Yes I have the latest version, think this will be created by a small alteration to the coding behind MXM. |
Yeah, the "Free" is hard coded. I'll have to create a set of "Bare" options in a later release.
Kernal
Aug 7 2003, 04:49 PM
| QUOTE (BenJeremy @ Aug 7 2003, 12:55 PM) |
| QUOTE (Kernal @ Aug 7 2003, 05:08 AM) | | Yes I have the latest version, think this will be created by a small alteration to the coding behind MXM. |
Yeah, the "Free" is hard coded. I'll have to create a set of "Bare" options in a later release. |
Look forward to it
Kernal
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.