自动填充序列号的问题 我想实现序列号在粘贴时自动填充,怎么样实现?例:序列号1111-2222-3333-4444复制了上面的序列号之后,粘贴到4个指定的Edit中,怎么在粘贴时4个Edit自动填充整个序列号? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 var st:Tstringlist; i: integer; begin st:=Tstringlist.Create; st.Delimiter:='-'; st.DelimitedText:=1111-2222-3333-4444'; edit1.text:=st.Strings[0]; edit2.text:=st.Strings[1]; edit3.text:=st.Strings[2]; edit4.text:=st.Strings[3]; st.free; http://www.west263.com/www/info/58154-1.htm这个也许对你有用 局部数组变量的地址 delphi程序编译之后总是在状态栏,无法展开,什么原因? Delphi的中文是怎么读的? 请问我这个线程程序为什么不对? 这是什么错误? 关于窗口继承的问题,有没有人能帮我一把? 如何对以下类型常量赋初值? csdn上难道没人会做这样的报表吗?FT,高手那里去了? 小问题,大家看看!! 超值送分 明天婚宴请同事朋友,有来的吧? 小散200 关于treeview 上下移动
var
st:Tstringlist;
i: integer;
begin
st:=Tstringlist.Create;
st.Delimiter:='-';
st.DelimitedText:=1111-2222-3333-4444';
edit1.text:=st.Strings[0];
edit2.text:=st.Strings[1];
edit3.text:=st.Strings[2];
edit4.text:=st.Strings[3];
st.free;
这个也许对你有用