字体对齐方式怎么设置?

jjdelphi 2001-04-21 07:02:00
...全文
128 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
jjdelphi 2001-04-21
  • 打赏
  • 举报
回复
能把Dt_center用Combobox.Text变量代替吗?
Kingron 2001-04-21
  • 打赏
  • 举报
回复
SetTextAlign(hdc,TA_CENTER);
or
DrawText(hdc,'Test',4,Rect,DT_CENTER ).........
jjdelphi 2001-04-21
  • 打赏
  • 举报
回复
通过Combobox从DrawText上设置
Jessielee 2001-04-21
  • 打赏
  • 举报
回复
控件上一般都有这个属性,直接设置就行了
Kingron 2001-04-21
  • 打赏
  • 举报
回复
什么控件的?
taLeftJustify Text is left-justified: Lines all begin at the left edge of the control.
taCenter Text is centered in the control.
taRightJustify Text is right-justified: Lines all end at the right edge of the control.
jjdelphi 2001-04-21
  • 打赏
  • 举报
回复
只能用条件语句判断吗?
clacklin 2001-04-21
  • 打赏
  • 举报
回复
不行

5,392

社区成员

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

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