PositionChanged event
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
(Windows only; GUI for .NET)
The .NET event published when the value of
the Position property (which specifies the position
of the current row in the bound .NET control) changes, based either
on some user action in the .NET control or a programmatic action.
For example:
- The user clicks on a different row in a control.
- The user clicks on a Next button and
the event handler for the button increments the
Positionproperty value.
Note: When you click on a child row,
the
Position property is set to the position of
the corresponding top-level parent row.Access: PUBLIC
Applies to: Progress.Data.BindingSource class
Syntax
The delegate for this event defines the following event handler signature:
|
- EventHandlerName
- The name of the event handler.
- sender
- Object reference to the
BindingSourceobject instance that published the event. - args
- Object reference to a .NET
System.EventArgsobject instance containing arguments for the event. For information on the public class members inherited from theSystem.EventArgsclass, refer to the .NET class library documentation.
Whenever
the value of the Position property changes, the BindingSource object
automatically synchronizes the buffer in the bound ABL data source
object to correspond to the selected row in the bound .NET control.
Note: Generally, you should change the
Position property, rather than navigating or repositioning the query associated
with the bound ABL data source object. For more information about synchronizing data, see
Use .NET Classes in ABL Applications.