New System Classes
The following are new system classes:
• DecimalObject Class
• KeyDownData Class
DecimalObject Class
The DecimalObject class provides an object version of a decimal value. In most circumstances, the simple decimal variable is the most efficient and useful form of a decimal value. However, sometimes a decimal object is useful. For example, because array row references in OpenROAD must be reference variables rather than simple scalar variables, you cannot have an array that contains scalar decimal elements. However, you can get the same functionality by using an array of DecimalObjects and referring to the Value attribute of the DecimalObject to get or set the data.
The DecimalObject Class has the following attributes:
• Precision
• Scale
• Value
For more information about this class, see the latest version of the Language Reference Guide.
KeyDownData Class
The KeyDownData class contains information about the key that caused the KeyDown or ChildKeyDown event.
• IsExtended
• Modifiers
• PreviousState
• ScanCode
• VirtualKey
For more information about this class, see the latest version of the Language Reference Guide.
Last modified date: 06/25/2024