共用方式為


Tag Property

Stores any extra data needed for your program. Available at design time and run time.

Object.Tag[ = Expr]

Property Values

  • Expr
    Specifies any string.

Remarks

By default, the Tag property is set to an empty string (""). You can use this property to assign any string to an object without affecting it in any way. Unlike other properties, the value of the Tag property is not used by Visual FoxPro.

See Also

Comment Property

Applies To: ActiveDoc | CheckBox | ComboBox | CommandButton | CommandGroup | EditBox | Form | Grid | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | ProjectHook Object | _SCREEN | Session Object | Shape | Spinner | TextBox | Timer