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

取得或設定指定的下拉式方塊的格線的色彩。Gets or sets the color of the gridline for the specified combo box. 讀取/寫入 Read/write Long.

語法Syntax

運算式GridlineColorexpression.GridlineColor

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

註解Remarks

GridlineColor屬性設定是一個數值運算式,對應至您想要用於為控制項格線的色彩。The GridlineColor property setting is a numeric expression that corresponds to the color that you want to use for a control's gridline.

您可以使用色彩建立器來設定此屬性,選擇在屬性表中的屬性方塊右邊的 [建立] 按鈕。You can use the Color Builder to set this property by choosing the Build button to the right of the property box in the property sheet. Using the Color Builder enables you to define custom border colors for controls.Using the Color Builder enables you to define custom border colors for controls.

支援和意見反應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.