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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 PDFium - FormFieldFocus event needed

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
marek Posted - Jul 06 2021 : 15:24:21
On PdfViewer.Document exists already event OnFormFieldFocus.
It is used internally so I can not use my handler.
Could you provide the event for end user too?

Greetings,
Marek
3   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 09 2021 : 20:19:57
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
marek Posted - Jul 09 2021 : 13:35:44
Hi Nigel,

the current implementation of ieiPDFFieldFocused is really "field focus changed". There is no important information about whether the field got focus or lost. Please split the event to ieiPDFFieldFocusEnter and ieiPDFFieldFocusLeave.

Greetings,
Marek
xequte Posted - Jul 08 2021 : 00:46:10
Hi Marek

In v10.0.2 we have added the following PDFViewer events:

ieiPDFPageLoaded, ieiPDFViewChanged, ieiPDFSelChanged, ieiPDFFieldFocused, ieiPDFFieldChanged, ieiPDFHoverText, ieiPDFHoverLink, ieiPDFHoverField, ieiPDFHoverOther

Nigel
Xequte Software
www.imageen.com