共有评论14条
当前显示最后6条评论
|
dlp |
2006/8/13 13:06:28 |
TMS TAdvOfficeTabSet v1.0.0.0 是Jun 22, 2006才包括在TMS component pack中的。
本站的TMS Component Pack v3.9是May 8, 2006的版本,所以没有TAdvOfficeTabSet。 |
lee1225 |
2006/8/13 19:02:31 |
在程序中使用TAdvToolbarOfficeStyler后,运行出错:---------- Debugger Exception Notification ---------- Project Project1.exe raised exception class EReadError with message 'Property BorderColorHot does not exist'. ---------- Break Continue Help ---------- 有哪位朋友知道什么原因,请告诉我,QQ:324014516 |
comerose |
2006/8/16 2:22:29 |
BorderColorHot does not exist 是说边界颜色不存在! 如果是有原代码,你可以检查一下,是否有这个属性! |
longhong |
2006/8/26 0:34:23 |
那位有TMS的帮助,麻烦你传下给我,好不好 QQ:262816557 |
leemong865 |
2006/8/26 22:08:20 |
有没有解决中文支持的办法? |
jacksonhe702 |
2008/5/30 17:35:45 |
修正TMS的TAdvOfficePager, TAdvOfficeTabSet, TAdvOfficeMDITabSet不兼容汉字问题 今天,偶然在使用TMS的TAdvOfficePager时发现在设置TAdvOfficePager的Page时,如果Page的Caption存在汉字,那么TAdvOfficePager在绘制Page的Caption时就会出现很多乱码。刚刚察看代码,发现是String和WideString的问题,String类型默认是单字节,而WideString是双字节的,那么在调用Length(Page.Caption)时就会产生字符串长度的问题。因此在AdvOfficePager,AdvOfficeTabSet单元中找到DrawVistaText函数,修正如下: function DrawVistaText(Canvas: TCanvas; Alignment: TAlignment; r: TRect; FCaption:string; AFont: TFont; Enabled: Boolean; RealDraw: Boolean; AntiAlias: TAntiAlias; Direction: TTabPosition; Ellipsis: Boolean): TRect; 将Caption:String改为FCaption:String,然后在函数中新建一个变量“Caption:WideString”,最后在代码段的第一行加入:Caption:=FCaption;即可。 修正代码完全保证了源代码的兼容性,仅仅是在开始改变了Caption的类型。 |
我要发表评论 |
查看全部评论 |
![]() |
|