TabsVisible  Tap_And_Hold_Indicator

Chapter 3: Property Descriptions and Usage

Tag

Applies to

All controls, user objects, and menus

Description

The Tag property can hold any text you want to associate with the control. It is up to you how you use that text.

Usage


In a painter

StepsTo specify a tag for a control:

  1. Enter the desired text in the Tag field on the General page of the object’s Properties view.


In scripts

The tag property takes a string value.

The following line uses the object's Tag property to set MicroHelp in a PowerBuilder application’s MDI frame. (This code could be in a GetFocus event or, for a Menu object, the Selected event.):

w_frame.SetMicroHelp(This.Tag)





Copyright © 2004. Sybase Inc. All rights reserved. Tap_And_Hold_Indicator

View this book as PDF