Hi Marek
I have changed the events to ieiPDFFieldEnter, ieiPDFFieldLeave
Also, in the next beta there will be a FormFieldFocused property.
procedure TMainForm.ImageEnView1UserInteraction(Sender: TObject; Event:
TIEUserInteractionEvent; Info: Integer);
begin
// Enable the "Clear" button when a form field in a PDF document is selected
if Event = ieiPDFFieldFocused then
btnClear.Enabled := ImageEnView1.PDFViewer.FormFieldFocused;
end;
Nigel
Xequte Software
www.imageen.com