Purpose

.Underline allows you to specify whether the Underline property is set for certain objects.
 

Syntax

Setting:          ObjectReference.Underline = Value

Retrieving:     Variable = ObjectReference.Underline
 

Operation

ObjectReference is the Tag Name of the object
Value
is the setting for the underline property (TRUE or 1 = underline, FALSE or 0 = normal)
Variable
is a numeric variable 
 

Remarks
 

 

Example

To set the Underline property of a Radio Button object (Tag Name = McButton) in the radio group (Tag Name = CreditCardGroup):

CreditCardGroup.Button(McButton).Underline = TRUE


To set the .Underline attribute of a Box object (Tag Name = CustomerNameBox):

CustomerNameBox.Underline = TRUE


To retrieve the value of the Underline property from a Combo Box object (Tag Name = CustomerNumber):

#CUSTOMERNUMBER = CustomerNumber.Underline


To retrieve the value of the .Underline property from a Radio Group Button object (Tag Name = McButton) in the radio group (Tag Name = CreditCardGroup):

#CREDITCARDGROUPMCBUTTON = CreditCardGroup.(McButton).Underline
 

Comment on this topic

Topic ID: 510096