The CxFmsHistoryGridCtrl object contains the following events.
Click the Save button or call the Save method.
CxFmsHistoryGridCtrlObject_EventBeginSave()
Example
The following example disables the Save button when a save starts.
|
Sub FmsHistoryGrid_EventBeginSave() Dim This : Set This = FmsHistoryGrid btnSave.Enable False End Sub |
Begin or finish editing data.
CxFmsHistoryGridCtrlObject_EventEditModeChange()
This event will be fired if one of the following conditions is met.
Example
The following example displays a message box when the Edit mode changes.
|
Sub FmsHistoryGrid_EventEditModeChange() Dim This : Set This = FmsHistoryGrid MsgBox "Edit mode changed" End Sub |
A refresh operation has completed.
CxFmsHistoryGridCtrlObject_EventEndRefresh(Result As Integer, Status As Integer)
| Parameter | Required | Description |
|---|---|---|
|
Result |
Yes |
An integer specifying whether the refresh succeeded or failed. Possible values for this property are as follows.
|
|
Status |
Yes |
An integer specifying whether or not the refresh was canceled. Possible values for this property are as follows.
|
Example
The following example displays a message box if the refresh was canceled.
|
Sub FmsHistoryGrid_EventEndRefresh(Result, Status) Dim This : Set This = FmsHistoryGrid If Status = 1 Then MsgBox "Refresh canceled" End If End Sub |
A save operation has completed.
CxFmsHistoryGridCtrlObject_EventEndSave(Result As Integer, Status As Integer)
| Parameter | Required | Description |
|---|---|---|
|
Result |
Yes |
An integer specifying whether the save succeeded or failed. Possible values for this property are as follows.
|
|
Status |
Yes |
An integer specifying whether or not the save was canceled. Possible values for this property are as follows.
|
Example
The following example displays a message box if the save was canceled, and enables the Save button.
|
Sub FmsHistoryGrid_EventEndSave(Result, Status) Dim This : Set This = FmsHistoryGrid If Status = 1 Then MsgBox "Save canceled" End If btnSave.Enable True End Sub |
The control is initialized.
CxFmsHistoryGridCtrlObject_EventInitialize()
Example
The following example displays a message box when the control is initialized.
|
Sub FmsHistoryGrid_EventInitialize() Dim This : Set This = FmsHistoryGrid MsgBox "Control initialized" End Sub |
(Obsolete)