Julian,
How does code similar to this, in pre-V5, get rewritten in V5? I know there is no longer the line concept as such, but how does one determine the equivalent of y_start? What's the V5 analog to that?
Code
function DetermineTopValue : integer;
var
lin : PTLine;
begin
lin := WPRichText1.ActiveParagraph.line;
Result := lin^.y_start + lin^.Height;
end
Oh, and I noticed you make a reference elsewhere recently to your adding a "line" concept back in, but since there are no longer pointers, I'm guessing the line in V5 will be quite a different construct than in pre-V5.
diamond