Subject:
关于只写属性, 用 Ctrl + Shift + C 后自动加上了 read ...
[Print This Page]
Author:
leovin
Time:
2008-8-8 10:51
Subject:
关于只写属性, 用 Ctrl + Shift + C 后自动加上了 read ...
如:
TSelf = class
private
FPro: string;
public
property Pro: string write FPro;
function abc: string; // 光标在此处 Ctrl + Shift + C 后, 类代码如下
end;
// ----------------------------------
TSelf = class
private
FPro: string;
public
property Pro: string write FPro read FPro; // read FPro 自动加上了~
function abc: string;
end;
Welcome to CnPack Forum (http://bbs.cnpack.org/)
Powered by Discuz! 5.0.0