source as tedit、source is tedit、tedit(source)这三者有何区别 source as teditsource is tedittedit(source)这三者有何区别 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 source as tedit和tedit(source)类似,将Source转换成TEdit类来操作。source is tedit判断Source是否TEdit类的子类。比如:function GetEditText(Sender: TObject): String;begin if Sender is TEdit then Result := (Sender as TEdit).Text else ...end; delphi注册热键 shift+鼠标左键 自动四舍五入的问题? Access里一条简单的SQL语句为啥执行错误? 请问大家delphi自带的有安装包制作工具吗??? 怎样关闭这样的程序,两个独立的程序a,b,都是我用D写的,现需要在b中关闭a,语法请进来看可,谢谢??? 如何在一个form上弹出另一个窗口?(比如说是关于窗口~~~~) 麻烦各位高手推荐几本delphi图象处理的书! 数据查询问题 各位高手帮忙。谁有SOCKET错误代码对照表。 那里有好的delphi原代码可以参考参考,谢谢 delphi 7汉化的问题! 读Excel文件的问题?(急)
source is tedit判断Source是否TEdit类的子类。
比如:
function GetEditText(Sender: TObject): String;
begin
if Sender is TEdit then
Result := (Sender as TEdit).Text
else ...
end;