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: VOID
Access: PUBLIC
Applies to: Progress.Data.BindingSource class
Delegate:
Progress.Data.CreateRowEventHandler
The delegate for this event defines the following event handler signature:
EventHandlerName
sender
args
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 theCreateRowEventArgs
object to TRUE (the default value). If the record was not successfully created, set theCreated
property to FALSE.Caution: After creating a row, do not reopen the query or invoke theRefresh( )
method as this might produce unexpected results.See also: CancelCreateRow event, Created property, Progress.Data.CreateRowEventArgs class
OpenEdge Release 10.2B
|