Type | Description | |||
KeyAscii as Integer | (By Reference) An integer that returns a standard numeric ANSI keycode |
Use the Editor property to assign an editor to a node. Use the Mask property to mask input characters while user types inside the node's editor. Use the Numeric property to specify whether the editor enables numeric values only. Use the Editing property to check whether the control is running in edit mode.
Syntax for KeyPress event, /NET version, on:
private void KeyPress(object sender,ref short KeyAscii) { } Private Sub KeyPress(ByVal sender As System.Object,ByRef KeyAscii As Short) Handles KeyPress End Sub |
private void KeyPressEvent(object sender, AxEXMLGRIDLib._IXMLGridEvents_KeyPressEvent e) { } void OnKeyPress(short FAR* KeyAscii) { } void __fastcall KeyPress(TObject *Sender,short * KeyAscii) { } procedure KeyPress(ASender: TObject; var KeyAscii : Smallint); begin end; procedure KeyPressEvent(sender: System.Object; e: AxEXMLGRIDLib._IXMLGridEvents_KeyPressEvent); begin end; begin event KeyPress(integer KeyAscii) end event KeyPress Private Sub KeyPressEvent(ByVal sender As System.Object, ByVal e As AxEXMLGRIDLib._IXMLGridEvents_KeyPressEvent) Handles KeyPressEvent End Sub Private Sub KeyPress(KeyAscii As Integer) End Sub Private Sub KeyPress(KeyAscii As Integer) End Sub LPARAMETERS KeyAscii PROCEDURE OnKeyPress(oXMLGrid,KeyAscii) RETURN |
<SCRIPT EVENT="KeyPress(KeyAscii)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function KeyPress(KeyAscii) End Function </SCRIPT> Procedure OnComKeyPress Short llKeyAscii Forward Send OnComKeyPress llKeyAscii End_Procedure METHOD OCX_KeyPress(KeyAscii) CLASS MainDialog RETURN NIL void onEvent_KeyPress(COMVariant /*short*/ _KeyAscii) { } function KeyPress as v (KeyAscii as N) end function function nativeObject_KeyPress(KeyAscii) return |