Previous Next

CreateRow event

(Windows only; GUI for .NET only)
The .NET event published when some user action initiates a create row operation in the bound .NET control (for example, clicking in a new empty row at the bottom of a control).
Return type:
Access:
Applies to:
Delegate:
The delegate for this event defines the following event handler signature:
 
Syntax 
EventHandlerName 
  ( 
     INPUT sender AS CLASS System.Object,
     INPUT args AS CLASS Progress.Data.CreateRowEventArgs
  ).
EventHandlerName
The name of the event handler.
sender
Object reference to the BindingSource object instance that published the event.
args
Object reference to a CreateRowEventArgs object instance containing arguments for the event.
When this event occurs, create a new record in the ABL data source object and the current result set. You can also set any initial values you want presented to the user.
If the record was successfully created, set the Created property for the CreateRowEventArgs object to TRUE (the default value). If the record was not successfully created, set the Created property to FALSE.
Caution:
After creating a row, do not reopen the query or invoke the Refresh( ) method as this might produce unexpected results.
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.