Assign'g & Maintain'g Tag Values
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \Window Painter \Tag Values
Aligning Controls
Window Icons
Window
Comments
Tag Values
Accelerator Keys
DragAuto
Attribute
Justifying
StaticText
New Color
Options
New Color
New Control
Attributes
Window Painter
Menu Items
CheckBox and
RadioButton Text
Objects
Comments
Window Pointers
Object Pointers
Text Style
Selecting
Multiple Controls
Sizing Controls
Shortcut Keys
Spacing Controls
User Object
Icons
Using Comments
Keyboard Moving
Controls
Keyboard Sizing
Controls

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:
    • 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