如何让DBGrid的表头字体居中或者靠右?

supercorn 2003-06-01 02:20:24
如何让DBGrid的表头字体居中或者靠右?
...全文
168 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
byc6352 2003-06-01
  • 打赏
  • 举报
回复
dbgrid1.columns[0].title.alignment:=tacenter;
dbgrid1.columns[0].title.alignment:=taRightJustify;
fhuibo 2003-06-01
  • 打赏
  • 举报
回复
dbgrid1.columns[0].title.alignment:=tacenter;
pigeonwind 2003-06-01
  • 打赏
  • 举报
回复
在object框中选中相应的列,将他的title设置下
zleeway 2003-06-01
  • 打赏
  • 举报
回复
在DBGrid上右击,进入Columns Editor,对每一列,设置title的alignment等于taCenter或taRightJustify
glh0913 2003-06-01
  • 打赏
  • 举报
回复
dbgrid1.columns[0].title.alignment:=tacenter;

5,914

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧