HoveredFieldIndex
Forms, interaction, data types
Description
Read-only property of TPDFlibFormSession holding the Widget with a currently active pointer-enter state
DispatchInputEvent maintains the value around the /E enter and /X exit trigger pair, and pointer capture keeps the hovered Widget stable while a primary button is pressed
Pointer leave, pointer cancellation and a session reset clear the value to 0
Declaration
property HoveredFieldIndex: Integer read FHoveredFieldIndex;
Value
Returns the hovered field or temporary Widget index, or 0 when no Widget is entered
See also
DispatchInputEvent, FocusedFieldIndex, PressedFieldIndex, HitTest, TPDFlibFormInputEvent, TPDFlibFormSession