Try OpenEdge Now
skip to main content
ABL Reference
Class Events Reference : CancelCreateRow event
 

CancelCreateRow event

(Windows only; GUI for .NET only)
The .NET event published when some user action cancels a create row operation in the bound .NET control (for example, pressing ESCAPE in a new empty row).
Return type: VOID
Access: PUBLIC
Applies to: Progress.Data.BindingSource class
Delegate: Progress.Data.CancelCreateRowEventHandler

Syntax

The delegate for this event defines the following event handler signature:
EventHandlerName
  (
     INPUT sender AS CLASS System.Object,
     INPUT args AS CLASS Progress.Data.CancelCreateRowEventArgs
  ).
EventHandlerName
The name of the event handler.
sender
Object reference to the BindingSource object instance that published the event.
args
Object reference to a CancelCreateRowEventArgs object instance containing arguments for the event.
When this event occurs, delete the previously created row and the corresponding record in the result set. Otherwise, the data in the control will not be synchronized with its data source.

See also

CreateRow event, Progress.Data.CancelCreateRowEventArgs class