Condividi tramite


ColumnWidths Property

Specifies the width of columns for a ComboBox or ListBox control. Available at design time and run time.

Control.ColumnWidths[ = "cCol1Width, cCol2Width, ... cColnWidth"]

Return Value

  • " cCol1Width, cCol2Width, ...cColnWidth"
    Specifies the width of a column or series of columns in the ComboBox or ListBox. For example, cColumnWidths = "5, 7, 9" specifies that the first column is 5 units wide, the second column is 7 units wide, and the third column is 9 units wide, in the unit of measurement specified by the ScaleMode property of the form. Use commas to separate each width number. You can specify the number of columns with the ColumnCount property.

Remarks

Applies To: ComboBox Control | ListBox Control

See Also

Reference

ColumnCount Property (Visual FoxPro)

ScaleMode Property

Width Property

ColumnLines Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)