psClientOnEscape - cWebModalDialog

Determines the name of the client side event to fire whenever the ESC key is pressed

Type: Property (Web Property)

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 { WebProperty=Client }
 Property String psClientOnEscape

Web Property Read Access: WebGet psClientOnEscape to StringVariable
Web Property Write Access: WebSet psClientOnEscape to StringVariable/Value

Read Access: Get psClientOnEscape to StringVariable
Write Access: Set psClientOnEscape to StringVariable/Value


Description

Set psClientOnEscape to the name of a global JavaScript client-side event handler. The named event is triggered on the client whenever the ESC key is pressed.

Client-side events can be useful when you wish to perform some operation that does not require data or services from the server. Eliminating the need for a round-trip to the server also optimizes the performance of your web application.

Implementing a client-side event handler requires knowledge of JavaScript and the DataFlex Web Framework JavaScript engine.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.
See Also

pbServerOnEscape | Building Custom Controls