我想改TTimer类名,请教如何改?结贴率100% 都知道,在窗体上放一个Timer控件,也就是 Timer1: TTimer;我想把TTimer这个类名给改成别的,请问有办法吗例如改成 Timer1:CTCLTim;谢谢!!!!!!!!!!!不够在开贴加分 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 多么奇怪的念头哦。......type TForm1 = class(TForm) Button1: TButton; Timer1: TTimer; private { Private declarations } public { Public declarations } end;type CTCLTim=TTimer;var Form1: TForm1; Timer1:CTCLTim;implementation{$R *.dfm}...... 如果有这种要求,那么你就现在应该封装一个自己的类,这个类里面说明你要用的timer类型,这样以后再有更改需求是,只需更改这个地方即可,不需要再整个工程中到处替换 To gzzaitype TForm1 = class(TForm) Button1: TButton; Timer1: TTimer; private { Private declarations } public连红色部分也被修改掉,如何封装个? Ctrl+鼠标滚轮怎么实现? 关于流用法的一个问题及字符串。 help!如何屏蔽(去掉)数据库错误信息? TOBject的保存???急呀 请教:如何让delphi程序在不同语言环境下都能正常显示文字? 单号的问题。 大家看看怎么杀这个病毒 问一个问题,大家都是怎样做组合查询的? 兄弟们,那里有 DevExpress 所有的控件包下载 怎么弄个子窗体? 两天了实在找不到dbgrideh导出excel乱码的原因 怎么在苹果笔记本上装XP
TForm1 = class(TForm)
Button1: TButton;
Timer1: TTimer;
private
{ Private declarations }
public
{ Public declarations }
end;
type
CTCLTim=TTimer;
var
Form1: TForm1;
Timer1:CTCLTim;implementation{$R *.dfm}
......
TForm1 = class(TForm)
Button1: TButton;
Timer1: TTimer; private
{ Private declarations }
public
连红色部分也被修改掉,如何封装个?