There are several functions within my application that need, as a part of them, to determine if a position's attribute is afsInsertPoint or afsAutomatic.
In WPTools 3, I would do something like:
or
Code
WPRichText1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
var
pa : PTAttr;
begin
pa := GetAttrAtXY(x,y);
if( not ( ( afsIsInsertpoint in pa^.style ) or
( afsAutomatic in pa^.style ) or
( afsIsObject in pa^.Style ) ) ) then
DisplayLineAndCol;
end;
How would the above operations be done in WPTools 5?
Grüsse,
diamond