The CxFmsPPACtrl object contains the following methods:
Applies modified settings and builds the FMS PPA control. This method has the same function as the Apply button on the FMS Prior Period Adjustment control.
Apply(SessionPropertiesOnly As Boolean)
| Parameter |
Required |
Description |
|---|---|---|
|
SessionPropertiesOnly |
No |
If this parameter is set to True, only the properties SessionBeginDate and SessionEndDate will be applied. |
Example
The following example applies settings when a button is pressed.
|
Sub ButtonTool_EventClick() Dim This : Set This = ButtonTool FmsPPA.Apply End Sub |
Cancels the current task.
Cancel()
The following tasks can be canceled with this method.
Example
The following example cancels a task when a button is pressed. This example is taken from FMS PPA Ctrl.csf found in the APPS SCREXAMP folder.
|
Sub btnCancel_EventClick() Dim This : Set This = btnCancel FmsPPA.Cancel End Sub |
Refreshes the data in the FMS PPA control. This method has the same function as the Refresh button on the FMS Prior Period Adjustment control.
Refresh()
Example
The following example refreshes the CygNet FMS PPA control when a button is pressed.
|
Sub ButtonTool1_EventClick() Dim This : Set This = ButtonTool1 FmsPPA.Refresh End Sub |