社区
Delphi
帖子详情
TPageControl控件问题!!!
xwhope
2005-03-03 11:24:55
PageControl1.TabPosition:=tpLeft;时TabSheet1的Caption文字是竖着排的,如何让文字横着排呢?
谢谢!!!
...全文
106
4
打赏
收藏
TPageControl控件问题!!!
PageControl1.TabPosition:=tpLeft;时TabSheet1的Caption文字是竖着排的,如何让文字横着排呢? 谢谢!!!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
hjf8086
2005-03-03
打赏
举报
回复
TabSheet1.Caption:='T'+#13+'a'+#13+...;
ly_liuyang
2005-03-03
打赏
举报
回复
呵呵,自己去Draw,什么样都不是问题
property OwnerDraw must be set to true
procedure TForm1.PageControl1DrawTab(Control: TCustomTabControl;
TabIndex: Integer; const Rect: TRect; Active: Boolean);
var ARect : TRect;
begin
ARect := Rect;
//clear complete
control.Canvas.brush.Color := clBtnFace;
control.Canvas.FillRect(ARect);
InflateRect(ARect,-2,-2);
//decide the color
if active then
control.Canvas.brush.Color := clRed
else
control.Canvas.brush.Color := clBtnFace;
//paint the tab
control.Canvas.FillRect(ARect);
这里,你喜欢什么样都可以实现的
Control.Canvas.TextOut(ARect.Left+2,ARect.top+2,
TPageControl(Control).Pages[TabIndex].Caption);
end;
http://lysoft.7u7.net
senfore
2005-03-03
打赏
举报
回复
Raize的TRzPagecontrol可以实现
xwhope
2005-03-03
打赏
举报
回复
谢谢hjf8086(hjf)兄,
不过我是要 让文字水平横排 前提是PageControl1.TabPosition:=tpLeft
经典老
控件
含delphi源码
T
PageControl
98 是增强型T
PageControl
构件 ,支持 Tabs 靠右对齐和显示图像. ------------------------------------------------------------------ mdiwallp.zip 44K 作者: Robert Rossmair. 填充MDI窗口的背景...
delphi2010皮肤
控件
-VCLSkinv5.30FS
* Support T
PageControl
with tsButton style. * Fix problem on Mainmenu with ActionList. News in 3.97 2/16/2006 * Fix problem when Groupbox in ScrollBox. *Fix problem with newest TNTcontrol. News in ...
Huo
PageControl
.rar_Delphi
控件
源码_Delphi_
给T
PageControl
的每一页添加一个关闭的按钮的delphi
控件
_Huo
PageControl
Delphi开发技巧之-VCL
在T
PageControl
拖拽Tabs 在TPrintDialog上放置定制
控件
在TRichEdit内使用上标和下标 在TRichEdit内使用超链接 在TRichEdit内文本使用不同的下划线样式 在TRichedit内设置段落行距 在TStringGrid内删除一行 在...
TFix
PageControl
/////////////////////////////////////////////////////////////////// //
控件
名称: TFix
PageControl
//
控件
功能: 将窗体上的TabPosition=tpLeft,tpRight的T
PageControl
// 的Caption竖排,适用于纯汉字的Caption...
Delphi
5,386
社区成员
262,729
社区内容
发帖
与我相关
我的任务
Delphi
Delphi 开发及应用
复制链接
扫一扫
分享
社区描述
Delphi 开发及应用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章