Custom Screen Objects

I have added two Custom Screen Objects Remaining Ramp & EOF Warning.

when I look at it in the config programme

Remaining Ramp - 00:00.00
Text format: nn:ss:zz

EOF Warning 00.00
Text format: ss.zz

But when in mAirList the last .00 (text format zz) shows up as 000 is there a way just to show the zz format in just two numbers and not three.

Hello-

I’m not sure exactly the question you’re asking. Are you talking about truncating? If so, add the symbol “!” (without quotes) where you wish to truncate. Hope that helps.

Cheers, Alec M

The intro and EFO have this layout
00 (nn) 00(ss)000(zz)

instead of three zeros I want two

z will always produce 3 digits (= milliseconds). Try u for one digit, or v for two digits.

These format specifiers are not in the original Delphi FormatDateTime definition, they are special to mAirList.

Thanks :slight_smile:

Hmmm … v must be relatively new?

It’s not in Table 7.2 on page 44 of the manual (unlike u and zzz).

Also, I wasn’t aware that z works the same as zzz!

sigh<

BFN
Cad

According to git, these format specifiers were added to the code on June 27, 2008 - not so recently.

I was surprised to learn that Delphi doesn’t really care how many z characters you put into the strings, it always turns out as 3 digit milliseconds.