Try OpenEdge Now
skip to main content
GUI for .NET Programming
Binding ABL Data to .NET Controls : Understanding the ProBindingSource : Events
 

Events

The ProBindingSource provides several extended events to handle binding to the various ABL data source objects. These events rely on the .NET System.EventArgs class or built-in OpenEdge classes that extend the .NET class. The following table lists these extended events.
Event
Description
CancelCreateRow
Published when some user action cancels a create row operation (for example, pressing ESCAPE in a new empty row).
CreateRow
Published when some user action initiates a create row operation (for example, clicking in a new empty row at the bottom of a control).
OffEnd
Published when record batching is enabled and some user action reaches the last row of the current result set. Use this event to retrieve the next batch of records from the AppServer.
PositionChanged
Published when the value of the Position property changes either programmatically or through a UI action.
SortRequest
Published when some user action initiates a sort operation (for example, clicking on a column header in a grid control).
Note: These events signal changes in a bound UI control or a ProBindingSource. For changes to a bound ABL data source object, use standard ABL mechanisms, such as triggers.