假定你是 aryBtn : array of TButton;
var
theID:integer;
begin
if sender is TButton then begin
theID := (Sender As TButton).Tag;
end;
end;
var
theID:integer;
begin
if sender is TButton then begin
theID := (Sender As TButton).Tag;
end;
end;
解决方案 »
- 如何让TWebBrowser(DesignMode='on')可以接受Tab键﹖
- delphi 判断鼠标的位置是否在某一控键上
- 数据库构架编辑器 发布, 现场发送.
- mysql能否建立表间的永久关联
- 如何调节project Manager中各项目的顺序
- AnimalsC:Array[1..3] of string=('中国','国家','天空') 为什么不能这样初始化?
- sql连接问题
- 一个困惑我多天的关于ActiveX的问题,详情见内!!分不够可再加,不食言!!!
- 紧急咨询数据库结构方面的问题
- 怎么把一个字符串是的多个‘,’去掉
- TEXT和CAPTION有区别吗?COMBOBOX控件有CAPTION属性吗?谢谢~
- 这不是我无聊
都设为PopupMenu1,当点击PopupMenu1的ss1菜单项时,要求读出控件数组的Tag属性,此
时读不到Sender呀