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

LabelY 屬性 (以及 LabelX 屬性) 會指定新控制項的標籤位置。The LabelY property (along with the LabelX property) specifies the placement of the label for a new control. 可讀寫的 IntegerRead/write Integer.

語法Syntax

運算式labelYexpression.LabelY

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

註解Remarks

如果方向為從左至右的表單或報表, LabelXLabelY 行為比對標準 Microsoft Access 左到右方向。If the orientation is left to right for a form or report, LabelX and LabelY behavior matches standard Microsoft Access left-to-right orientation. 如需方向的詳細資訊,請參閱**Orientation** 屬性。For more information about orientation, see the Orientation property.

如果方向為從右至左、 LabelXLabelY座標系統原點是附加控制項的右上角。If the orientation is right to left, the origin of the coordinate system for LabelX and LabelY is the upper-right corner of the attached control. 負數的 LabelX 將放在控制項右邊標籤。A negative number for LabelX places the label to the right of the control. 負數的 LabelY 將置於控制項上方的標籤。A negative number for LabelY places the label above the control.

對於一般和右下對齊時方向為從右至左、 LabelXLabelY指定相對於標籤附加控制項的右上角的標籤的右上角的位置。For General and Right alignment when the orientation is right to left, LabelX and LabelY specify the location of the upper-right corner of the label relative to the upper-right corner of the label's attached control.

左和從中心對齊的 LabelXLabelY 指定的位置的左上角和正上方,分別的右上角的標籤附加控制項的標籤。For Left and Center alignment, LabelX and LabelY specify the location of the upper-left corner and top center, respectively, of the label relative to the upper-right corner of the label's attached control.

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