PDFView4NET WinForms Edition
KeyPressAction Property




O2S.Components.PDFView4NET.Forms Namespace > PDFField Class : KeyPressAction Property
Gets or sets the JavaScript action to be executed when the user types a keystroke.
Syntax
'Declaration
 
Public Property KeyPressAction As PDFJavaScriptAction
'Usage
 
Dim instance As PDFField
Dim value As PDFJavaScriptAction
 
instance.KeyPressAction = value
 
value = instance.KeyPressAction
public PDFJavaScriptAction KeyPressAction {get; set;}
public: __property PDFJavaScriptAction* get_KeyPressAction();
public: __property void set_KeyPressAction( 
   PDFJavaScriptAction* value
);
public:
property PDFJavaScriptAction^ KeyPressAction {
   PDFJavaScriptAction^ get();
   void set (    PDFJavaScriptAction^ value);
}

Property Value

A O2S.Components.PDFView4NET.Actions.PDFJavaScriptAction object specifying the action to be executed when the user types a keystroke.
Remarks
This property specifies a JavaScript action to be performed when the user types a keystroke into a text field or combo box or modifies the selection in a scrollable list box. This action can check the keystroke for validity and reject or modify it.
This action has no meaning for PDFPushButtonField, PDFCheckBoxField and PDFRadioButtonListField fields.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFField Class
PDFField Members