MISC property (Common)
Description
Gets or sets a string of user-defined data. This string can be used for any purpose, and stays with the specified object until replaced by another string.
Property Value
A string containing user defined data.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
Get/Set | Get/Set | No | No | No |
Remarks
MISC is a convenient way to store application-specific data against an object at design time as well as runtime. If MISC is not sufficient then more data can be stored against an object at runtime using a UDP (User-Defined Property), also known as an '@' Property.
Example
* // MISC property example $Insert Logical * // Save some data in the MISC property of the SYSTEM object Call Set_Property_Only( "SYSTEM", "MISC", UserSettings ) * // Save customer data in the MISC property of the current * // window Call Set_Property_Only( @Window, "MISC", CustomerData ) * // Do some processing ... * // ...and retrieve the data from MISC CustomerData = Get_Property( @Window, "MISC" )
See Also
'@' Properties