delphi 页面间传值问题
unit song;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,question;
type
TForm1 = class(TForm)
Label1: TLabel;
procedure Label1Click(Sender: TObject);
procedure Label2Click(Sender: TObject);
private
{ Private declarations }
public
temp_id:string;
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Label1Click(Sender: TObject);
begin
temp_id:=trim(label1.Caption) ;
label1.Font.Color :=clHighlight;
form2.Show ;
end;
想把变量temp_id传到form2窗体中,如下:
unit question;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,StdCtrls, DB, ADODB;
type
TForm2 = class(TForm)
Label1: TLabel;
ADOConnection1: TADOConnection;
DataSource1: TDataSource;
ADODataSet1: TADODataSet;
Label2: TLabel;
Memo1: TMemo;
Button1: TButton;
Button2: TButton;
procedure FormCreate(
相关问答:
返回的内容是如下代码,怎么能渠道2b?
<p class="text1">1a </p>
<p class="text1">2b </p>
<p class="text1">3c </p>
<p cl ......
一般都是怎么接活的?
收入怎么样
sohu?soho?
sohu 可能是small office house unit
小办公室,把家变成单位。
去威客网啊,很多个呢,还有外包的网站
学习学习。
现在Delphi做东西不行了,处于淘汰状 ......
1、我能否在delphi里调用另外一个后台程序,但是我不需要等待这个后台程序执行完成,还可以继续执行别的程序。请问具体怎么样才能实现。
2、我能否在delphi上执行一个快捷键,使delphi窗口程序能够刷新一下。[/size ......
具体要求与报酬QQ729851670
771234717
“拼音编程”是什么意思
引用
“拼音编程”是什么意思
1.给一个字可以显示拼音,多音字的话能显示对应的多个拼音
2.对包含多音字的词语智能识别给出拼音。
3.对一段 ......