|
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:
- Assign the string you want displayed in the MicroHelp as the tag value for cb_close
- 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:
- 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.
- Enter the string you want to use a tag for the control in the appropriate Tag Value box.
To modify a tag value:
- 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.
- Review the tag list and make any necessary changes.
|