Defines a legacy screen criterion searching for a string into the screen using possibly given presentation attributes.
Matching conditions: The Find string criterion matches on a screen when:
• the text starting at a given position (line, column) in the screen corresponds to the searched string,
• this text has defined presentation attributes.
Property | Type | Category | Description |
---|---|---|---|
Column | int | standard | Defines the column from which the criterion should match. |
Comment | String | standard | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Line | int | standard | Defines the line from which the criterion should match. |
Presentation attributes | int | standard | Defines the presentation attributes to match. This property allows to configure the criterion so that it matches only to parts of screens having specific attributes, for example green text on black background. Presentation attributes to configure are : • Color: Foreground color, Background color, to choose in a list of predefined colors or not to take into account. • Decoration: bold, reverse, underlined, blink, for each decoration choose between “with the decoration”, “normal” (i.e. without the decoration), or “not to take into account”. |
String | String | standard | Defines the string to search. |
Reverse result | boolean | expert | Defines if the criteria’s result should be reversed. When a criteria is evaluated, it can sometimes be useful to get the opposite of the standard result (i.e. when the criteria matches, its result is false, and when it doesn’t match, its result is true). Use this property to reverse the standard result. For example, you may define a screen class that does not contain the text “Hello” in white on black background. For that, you define a criterion matching on the text “Hello” in white on black background, and you reverse it thanks to this property. |