function FocusedFormFieldTextForPage(FormHandle: FPDF_FORMHANDLE; Page: FPDF_PAGE): WString;
| FormHandle | FPDF_FORMHANDLE |
| Page | FPDF_PAGE |
WStringFocusedFormFieldTextForPage reads the text of the currently focused form widget for the supplied PDFium form handle and page
Use it when low-level form code needs the same focused-text result exposed by TPdf.FocusedFormFieldText and TPdfView.FocusedFormFieldText
Text := FocusedFormFieldTextForPage(Pdf1.FormHandle, Pdf1.Page);