|
WebGet psClientOnEscape to StringVariable |
WebSet psClientOnEscape to StringVariable/Value |
Get psClientOnEscape to StringVariable |
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