ValueChanging Event
Description
Occurs after the value of an item has been changed by the user, but before the new value has been set to the item.
Syntax
Public Event ValueChanging( _
ByVal Row As GridRow, _
ByVal Column As GridColumn, _
ByVal Item As GridRecordItem, _
ByRef NewValue As Variant, _
ByRef Cancel As Boolean _
)
Parameters
- Row: The GridRow that contains the GridRecordItem whose value is changing.
- Column: The GridColumn that contains the GridRecordItem whose value is changing.
- Item: The GridRecordItem whose value is changing.
- NewValue: The value the item is changing to. This will be the new value for the item if the operation is not canceled.
- Cancel: Set to True to cancel the changes made to the item's value.
Remarks
Occurs after the value of an item has been changed by the user, but before the new value has been set to the item. This allows the new value to be checked and canceled or modified if needed.
The ValueChanged event will occur immediately after the ValueChanging event.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.