ComboBox.ControlTipText 屬性 (Access)ComboBox.ControlTipText property (Access)

您可以使用 ControlTipText 屬性來指定工具提示中顯示的文字,當滑鼠指標停留在控制項。You can use the ControlTipText property to specify the text that appears in a ScreenTip when you hold the mouse pointer over a control. 可讀寫 的字串Read/write String.

語法Syntax

運算式控制項提示文字expression.ControlTipText

_運算式_代表**ComboBox** 物件的變數。expression A variable that represents a ComboBox object.

註解Remarks

您使用 255 個字元的字串運算式來設定 ControlTipText 屬性。You set the ControlTipText property by using a string expression up to 255 characters long.

表單上的控制項,您可以 Visual Basic 中使用的預設控制項樣式或**DefaultControl** 屬性來設定此屬性的預設值。For controls on forms, you can set the default for this property by using the default control style or the DefaultControl property in Visual Basic.

您可以在任何檢視中設定 ControlTipText 屬性。You can set the ControlTipText property in any view.

ControlTipText 屬性提供簡單的方法來提供關於表單上控制項的有用資訊。The ControlTipText property provides an easy way to provide helpful information about controls on a form.

還有其他方法可以提供表單或表單上的控制項的相關資訊。There are other ways to provide information about a form or a control on a form. 您可以使用 StatusBarText 屬性來顯示在狀態列上控制項的相關資訊。You can use the StatusBarText property to display information in the status bar about a control. 若要提供更詳細的說明在表單或控制項,使用**HelpFile** 及**HelpContextID** 屬性。To provide more extensive help for a form or control, use the HelpFile and HelpContextID properties.

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.