共用方式為


ToolTipText Property

Specifies the text that appears as a ToolTip for a control. Available at design time and run time.

Control.ToolTipText = cText

Property Values

  • cText
    Specifies the text to use for the ToolTip. The maximum number of characters you can specify for cText is 127.

Remarks

You can only set the ToolTipText property if the ShowTips property is set to true (.T.) for the form or toolbar that contains the control.

In Visual FoxPro ToolTip information is available in the Database Designer, View and Query Designer and Data Environment field lists, as well as Field Comment, Field Caption and type information. Code snippet editors and the Procedure dropdown

See Also

ShowTips Property

Applies To: CheckBox | ComboBox | CommandButton | EditBox | Grid | ListBox | OptionButton | Shape | Spinner | TextBox