S
savenight
Unregistered / Unconfirmed
GUEST, unregistred user!
newnob:<br>你看这样行不行:<br>第一次先运行那个程序,然后按Tab键,记下每个控件的Tab顺序,比如那个Edit的Tab顺序是3;<br>然后在你的程序里:<br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> list:tlist;<br> t:array[0..255] of char;<br>begin<br> list:=TList.Create;<br> GetTabOrderList(list);<br> sendmessage(tedit(list.Items[2]).Handle,wm_gettext,255,integer(@t));<br> caption:=t;<br> list.Free;<br>end;