|
|
导航: |
论坛 -> DELPHI技术
斑竹:liumazi,sephil |
|
作者: |
lsx1982 (prince_lsx) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2004/3/2 11:13:04 |
标题: |
请问关于activecontrol的问题 |
浏览:1834 |
|
加入我的收藏 |
楼主: |
请问activecontrol的用法,如例子,如果我想在edit3显示activecontrol.tag的值,当我切换edit1到edit2时,为什么edit3总是为零呢?要注意什么呢? 代码: procedure TForm1.Edit1Enter(Sender: TObject); var i:integer; begin i:=ActiveControl.Tag; edit3.Text:=inttostr(i); end;
procedure TForm1.FormActivate(Sender: TObject); begin edit1.SetFocus; end;
此帖子包含附件:
大小:94.5K |
----------------------------------------------
I love the game! |
作者: |
lsx1982 (prince_lsx) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2004/3/2 13:28:46 |
2楼: |
那activecontrol具体用法是怎样的?
----------------------------------------------
I love the game!
|
作者: |
lsx1982 (prince_lsx) |
★☆☆☆☆ |
-
|
盒子活跃会员 |
|
2004/3/3 9:24:53 |
4楼: |
谢谢!!
----------------------------------------------
I love the game!
|
|