procedure ClearFormSelectionRects;
ClearFormSelectionRects empties the list returned by FormSelectionRects so the next reported rectangle starts a fresh accumulation
Call it whenever the focused field changes or before repainting selection overlays to avoid drawing stale rectangles
OnFormSelectionRect event keeps firing for new rectangles after the clearPdf1.ClearFormSelectionRects;
PdfView1.Invalidate;