Assigning and Maintaining Tag Values
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \DataWindow Painter \Tag Values
Assigning
Accelerators
Tag Values
DW Icon
Comments
Changing
Databases
Controlling DW
Updates
OLE Columns
DataWindow
Reports
Dynamic DWs
Runtime Print
Specifications
Displaying the
DDLB Arrow
Displaying
Row Counts
Sort and Filter
Testing
Modifying Result
Sets Descriptions
Moving Object
with Keyboard
Naming Objects
Aggregate
Functions
New Color Bar
Events
DW Functions
New Menu Items
Grid Style
Shortcut Keys
Align Objects
Size Objects
Space Objects
Saving DWs
with Comments
Keyboard Object
Selection
Selecting a Font
Selecting a
Line Edit
Keyboard Sizing
Specifying
SQL Syntax
Background
Color
Timer Interval
Unit of Measure
Validation
Message
DB Table
Changes
Suppressing
Repeating Values
Testing an
OLE Column
Using Comments

A tag value is a string that you can reference in functions. In the Window Painter, you can assign tag values to controls in a window.  In the User Object Painter, you can assign tag values to controls in the user object.  In the DataWindow Painter you can assign tag values to columns, fields, and graphic objects. 

Note:When you set the tag list in the Tag List window, you are setting the value of the Tag attribute.  You can change the Tag attribute in a script. 

For example, to display MicroHelp for a CommandButton cb_close in the MDI frame window w_emp:

  1. Assign the string you want displayed in the MicroHelp as the tag value for cb_close
  2. In a script for the GetFocus event in cb_close, include  this statement:
  3. SetMicroHelp(w_emp,this.tag)

    When cb_close gets focus, the MicroHelp will display.

To specify a tag value:

  1. Select Tag List from the Edit Menu.  The Tag List window displays the names you specified for the control in the Control Style window in the Attribute Name column and any tag value you have assigned to the controls in the Tag List Column.
  2. Enter the string you want to use a tag for the control in the appropriate Tag Value box.

To modify a tag value:

  1. Select Tag List from the Edit Menu.  The Tag List Values window displays the names you specified for the control in the Control Style window in the Attribute Name column and any tag value you have assigned to the controls in the Tag List Column.
  2. Review the tag list and make any necessary changes.
PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com