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(
ÀÏʦ²¼ÖÃÁËÒ»¸ö¿ÎÌ⣬ÐèÒªÓÃDelphi×öÒ»¸öÓ°ÔºÊÛƱ¹ÜÀíϵͳ£¬µ«ÊÇÎÒÃÇ»¹Ã»ÓÐѧ¹ýDelphi£¬¸÷λ¸ßÊÖÄÜ·ñÖ¸µãһϣ¬ÈçºÎ½øÐÐϵͳÉè¼Æ£¬Ê±¼ä±È½Ï½ô¼±£¬Ð»Ð»°¡
ÎÒÒ²²»¶®£¬Ò²Ïëѧ£¡
ÎÒÒ²ÊÇ°¡£¬¸Ð¾õDelphiͦºÃµÄ£¬ÏÖ ......
°¥£¬¿´ÁËpascal¾«Òª£¬¶ÔÓï·¨ãÂ㶮¶®£¬È»ºó¿´Á˵ãdelphiµÄ²Ù×÷½çÃ棬×Ô¼ºÑ§ÁË2ÖÜÁË£¬¸Ð¾õģģºýºýµÄ¡£»ù±¾Ã»Ñ§µ½É¶¡£¡£ÊÖÉÏÓиö×öºÃµÄÏîÄ¿£¬Ò²¿´²»¶®¡£¡£Ôõô¼ÌÐøѧÏÂÈ¥ÄØ¡£¡£»¹ÓÐÐÂÊÖ±àдpascal³ÌÐòÓÐɶºÃµÄÈí¼þÄØ
......