有关变量的问题 Declear the TrString on the global variant part of form1. And in the form2, use the unit of form1. and now, you can use the TrString in the Form2. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Declear the TrString on the global variant part of form1. And in the form2, use the unit of form1. and now, you can use the TrString in the Form2. 一:将TrString说明为全局变量.二:在From2中生成GetTrString过程,用它返回TrSting. 你只要用这样来调用变量即可form.var 在form1的public里定义变量str:string;在form2里任何地方都可以通过form1.str操作它。 flyby: 我按照你的方法去设置,虽然在form2中可以使用了,但是在form1中赋的值却传递不到form2中,这是何原因,请指教! 线程,太伤人了!!!!!! CXGrid如何实现鼠标拖动,移动记录 专家请进,100分全搭上了 DELPHI字符串操作问题 谢谢 请问如何读取ini文件中所有的section名字? 使用流写入webbrowser的网页在某些计算机中显示的是HTML源码,怎么解决? 求高难度算法!! 在字符串中取英文引号间的字符串? 大家都来看,我们老板说得对不对? 为什么我的专家分只剩下33分? 关于DBEdit输入实数的问题 有办法知道用户按了什么键吗,
二:在From2中生成GetTrString过程,用它返回TrSting.
在form2里任何地方都可以通过form1.str操作它。
我按照你的方法去设置,虽然在form2中可以使用了,但是在form1中赋的值却传递不到form2中,这是何原因,请指教!