ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDF Form don't Highlight Inputfields it not Editing=true
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Ralf

120 Posts

Posted - Mar 01 2024 :  02:36:59  Show Profile  Reply
Hello,
is it possible, that Inputfields in an PDF Form isn't higlightet it Editing is not True? Is there a Flag to be set?
Thanks.
Best regards
Ralf

xequte

38615 Posts

Posted - Mar 02 2024 :  21:23:02  Show Profile  Reply
Hi Ralf

You can email me for an update that fixes it, or you can set:

IEGlobalSettings().PdfViewerDefaults.FormFieldAlpha := 0;

(before loading the document)

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

Ralf

120 Posts

Posted - Mar 04 2024 :  02:06:48  Show Profile  Reply
Hello Nigel,
when i do that before Loading then there is no highlight. When i then say Editing:=true the Highlighting is still not visible.

IEGlobalSettings().PdfViewerDefaults.FormFieldAlpha := 0;

is a Global Setting. When i have more than one PDFForm open that meens the Setting is changed for all?

I have now done following:

  if actReadOnly.Checked then
  begin
    ActReadOnly.ImageIndex:=232;
    FPDF_SetFormFieldHighlightColor(ImageEnViewPDF.PdfViewer.Document.FormHandle, 0, Default_PDF_Form_Field_Color{IEGlobalSettings().PdfViewerDefaults.FormFieldColor});
  end
  else begin
    ActReadOnly.ImageIndex:=107;
    FPDF_SetFormFieldHighlightColor(ImageEnViewPDF.PdfViewer.Document.FormHandle, 0, clNone);
  end;

Best regards
Ralf


Go to Top of Page

xequte

38615 Posts

Posted - Mar 04 2024 :  16:42:08  Show Profile  Reply
You might just be better to email me for the latest beta.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: