英语翻译For i = 1 To Cols.ColAlignment(i) = 0Next i.FillStyle = flexFillSingle.Col = 0.Row = 0.RowSel = 1.ColSel = .Cols - 1.CellAlignment = 4.Row = 1最好详细点说

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 09:01:55

英语翻译For i = 1 To Cols.ColAlignment(i) = 0Next i.FillStyle = flexFillSingle.Col = 0.Row = 0.RowSel = 1.ColSel = .Cols - 1.CellAlignment = 4.Row = 1最好详细点说
英语翻译
For i = 1 To Cols
.ColAlignment(i) = 0
Next i
.FillStyle = flexFillSingle
.Col = 0
.Row = 0
.RowSel = 1
.ColSel = .Cols - 1
.CellAlignment = 4
.Row = 1
最好详细点说

英语翻译For i = 1 To Cols.ColAlignment(i) = 0Next i.FillStyle = flexFillSingle.Col = 0.Row = 0.RowSel = 1.ColSel = .Cols - 1.CellAlignment = 4.Row = 1最好详细点说
这个是grid属性里的东东,循环grid里的每一列,根据列来设置列的对齐方式,然后设置它的填充格式等属性.不懂属性就右击属性名称,转到定义,可以查看属性的说明.