Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.2 Object Library
Label Property
Description
Represents the label associated with an object.
Property type
Read-write property
Syntax
Visual Basic
Public Property Label As String
Return Type
Read/write String.
Remarks

This property only affects objects of type GOTO, IF_COMMAND, ONERROR, and LABEL. For other objects, setting the property has no effect, and getting it always returns the empty string.

For objects of type LABEL, this property is the id of the object. For the other valid types, this property is the label to which execution is redirected when the appropriate conditions are met. For GOTO, redirection always occurs. For IF_COMMAND, the redirection occurs only when the expression is TRUE. For ONERROR, the redirection happens when the error condition is met.

See Also