Previous Next

PositionChanged event

(Windows only; GUI for .NET only)
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 Next button and the event handler for the button increments the Position property value.
Note:
When you click on a child row, the Position property is set to the position of the corresponding top-level parent row.
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 System.EventArgs
  ).
EventHandlerName
The name of the event handler.
sender
Object reference to the BindingSource object instance that published the event.
args
Object reference to a .NET System.EventArgs object instance containing arguments for the event. For information on the public class members inherited from the System.EventArgs class, refer to the .NET Framework class library.
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 OpenEdge Development: GUI for .NET Programming.
See also:

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