OnEndEdit Property

Sets or gets the name of the macro or script to be run when the EndEdit event is triggered.

object.OnEndEdit = [string]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and string is a string expression specifying the script or macro to run when the End Edit event is triggered.

Client support

   Newlook Smartclient only.

Use

The EndEdit event occcurs every time the focus is removed from a cell in the DataGrid. This event is triggered for all cell types, not just entry-capable cells. It works in the same way as the LostFocus event, except that the EndEdit event is triggered when an individual cell loses the focus whereas the LostFocus event is triggered when the entire DataGrid object loses the focus. If focus is moved outside of the grid an EndEdit event will be triggered just prior to a LostFocus event.

Typically, you use an OnEndEdit macro or script to specify the actions that you want to occur when a user leaves a cell in the DataGrid.

See Also

OnBeginEdit property | OnLostFocus property

Applies To

DataGrid control


© 2004-2021 looksoftware. All rights reserved.