Tag

Description

The tag value of the specified control. The tag value can be any text you see fit to use in your application.

Applies to

Button, Column, Computed Field, Graph, GroupBox, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.Tag

Describe and Modify argument:

"controlname.Tag { = ' string ' }"

Parameter

Description

controlname

The name of a control in the DataWindow.

string

(exp) A string specifying the tag for controlname. String is quoted and can be a DataWindow expression.


Usage

In the painter

Select the control and set the value in the Properties view, General tab, Tag option.

Examples

setting = dw1.Object.blob_1.Tag
dw1.Object.graph_1.Tag = 'Graph of results'
setting = dw1.Describe("blob_1.Tag")
dw1.Modify("graph_1.Tag = 'Graph of results'")