PC-Dmis 2010 Object Library | Send comments on this topic. | See Object Hierarchy Chart
Label Property
See Also

Collapse All Expand All

# Description

Read/Write: Label ID 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

FlowControlCmd Object | Type Property

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.