📄 smsreply.pas
字号:
unit SMSReply;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,misc;
type
TfrmSMSView = class(TForm)
lblDate: TLabel;
lblFrom: TLabel;
lblSMSDate: TLabel;
moMessage: TMemo;
lblSMSFrom: TLabel;
btnReply: TButton;
btnClose: TButton;
procedure btnCloseClick(Sender: TObject);
procedure btnReplyClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmSMSView: TfrmSMSView;
implementation
uses SendSMS;
{$R *.DFM}
procedure TfrmSMSView.btnCloseClick(Sender: TObject);
begin
close;
end;
procedure TfrmSMSView.btnReplyClick(Sender: TObject);
begin
Application.createform(TfrmSendSMS,frmSendSMS);
frmSendSMS.txtDestination.text:=FilterNumber(lblSMSFrom.caption);
frmSendSMS.mmoText.lines.clear;
self.close;
frmSendSMS.showmodal;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -