The DifferingText attribute can be used to query the differing text of a value.
Syntax | ||||
DifferingText([Value]) | ||||
Return value | ||||
String | ||||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Optional |
Value |
Variant |
ByVal |
Value whose differing text should be queried. if this is not specified, the differing text of the current value of the variable is returned |
Example:
A variable with name Color has been created with the following settings:
A different name is stored for each of the values. Here is an example:
After performing the following code:
Dim Result As String
Result := Color.DifferingText(1000)
…the variable result has the value ‘dark green’.
Remark
The attribute is read only.