Code: Select all
... OR rd.r.eot;
Two solutions for the price of one!
Code: Select all
... OR rd.r.eot;
For me this is an indication that the OpenOffice approach would be the right one.Robert wrote:I have no idea why I put it in; I can't ever remenber using it. But maybe it is useful for times?Josef Templ wrote:And finally a question: in which case is the ":" required as the radix character?
TextSetters.StdSetter.GetLineZinn wrote:Josef, your arguments are all OK. Robert, how far are your changes about my succession to right align instead of centre?
Helmut
Code: Select all
.........
IF (chr = '.') OR (chr = ':') THEN
j := 0; tail[j] := chr;
REPEAT INC(j); INC(k); chr := rd.zone[k]; tail[j] := chr UNTIL chr = 0X;
RETURN w - rd.attr.font.StringWidth(tail) + rd.attr.font.SStringWidth('.') DIV 2
ELSE
RETURN w (*>>*)+ rd.attr.font.SStringWidth('.') DIV 2(*<<*)
END
END
END LeftOfTab;
Ha, ha; warned you!Josef Templ wrote:It was harder than I expected.