CasewareDocs

Stratification

This control only supports the numeric data type.

This control is not meant as a replacement of IDEA's stratification control. It is used more in the way that a macro/parameter dialog developer specifies the stratification limits during development and/or runtime (runtime = via code). The dialog user can only accept or modify the limits. In general he can add or remove limit rows or modify the upper limit values.

This control works differently than IDEA's stratification control. The control exactly specifies the two range values. The lower limit value is calculated an upper limit + 10^-decimals.

Different than the IDEA stratification dialog SmartAnalyzer's stratification control is used in the following way:

  1. During the audit test specification time the content developer specifies the upper limits the stratification control shall support
  2. The user might be allowed to edit the values or might not be allowed to edit them
  3. To not allow editing the lower and upper values can be achieved by setting the property Enabled for this control to False. The control is only displaying the values which are used later by the macro.
  4. The second use case is that a content developer specifies a set of upper values and the user is later allowed to edit them.

In all cases it should be possible to set a list of upper values. The macro developer is responsible that these values are entered in an ascending order. The control shall take the values and calculate the lower values by its own.

Properties:

Control Buttons
Button Description
Delete Removes the currently highlighted row from the list. This button can be enabled or disabled
Insert Row Adds a new row above the currently highlighted row. You cannot enter a row above the first row. This button can be enabled or disabled.
Reset Resets the current list to the default list specified by the developer. This command also works after the user has modified the content and saved changes. This button is optional and can be set to ResetButtonVisible (true/false).
Input Assistance This button provides an event that allows the developer to add his own sub-dialog window. This sub-window can have any code behind which can be used by the parameters dialog. This button is optional and can be set to CustomDialogButtonVisible (true/false).
Stratification | Caseware Docs