文件名称:TMS
-
所属分类:
- 标签属性:
- 上传时间:2013-04-25
-
文件大小:753byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
改控件源码中的AdvOfficePager.pas 的下面的方法;
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的类型-Change control source AdvOfficePager.pas the following methods function DrawVistaText (Canvas: TCanvas Alignment: TAlignment r: TRect FCaption: string AFont: TFont Enabled: Boolean RealDraw: Boolean AntiAlias: TAntiAlias Direction: the TTabPosition Ellipsis: Boolean): TRect will Caption: String instead FCaption: String, and then in the body of the function, a new local variable " Caption: WideString finally added to the first line of the code segment: Caption: = FCaption can. The correction code fully guaranteed source code compatibility, only began to change in the type of Caption
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的类型-Change control source AdvOfficePager.pas the following methods function DrawVistaText (Canvas: TCanvas Alignment: TAlignment r: TRect FCaption: string AFont: TFont Enabled: Boolean RealDraw: Boolean AntiAlias: TAntiAlias Direction: the TTabPosition Ellipsis: Boolean): TRect will Caption: String instead FCaption: String, and then in the body of the function, a new local variable " Caption: WideString finally added to the first line of the code segment: Caption: = FCaption can. The correction code fully guaranteed source code compatibility, only began to change in the type of Caption
(系统自动生成,下载前可以参看下载内容)
下载文件列表
TMS.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.