Browse Subversion Repository
Contents of /Unit10.pas
Parent Directory
| Revision Log
Revision 8 -
( show annotations)
( download)
( as text)
Thu Dec 31 08:51:02 2015 UTC
(8 years, 2 months ago)
by yamat0jp
File MIME type: text/x-pascal
File size: 1104 byte(s)
退会できるようにしました 細かいところを手直し
無駄なコードやレイアウト、挙動部分。
| 1 |
unit Unit10; |
| 2 |
|
| 3 |
interface |
| 4 |
|
| 5 |
uses |
| 6 |
Classes, SysUtils, IWAppForm, IWApplication, IWColor, IWTypes, Vcl.Controls, |
| 7 |
IWVCLBaseControl, IWBaseControl, IWBaseHTMLControl, IWControl, IWCompEdit, |
| 8 |
IWVCLComponent, IWBaseLayoutComponent, IWBaseContainerLayout, |
| 9 |
IWContainerLayout, IWTemplateProcessorHTML, IWCompButton, IWHTMLControls, System.Variants; |
| 10 |
|
| 11 |
type |
| 12 |
TIWForm10 = class(TIWAppForm) |
| 13 |
IWTemplateProcessorHTML1: TIWTemplateProcessorHTML; |
| 14 |
IWEdit1: TIWEdit; |
| 15 |
IWButton1: TIWButton; |
| 16 |
IWEdit2: TIWEdit; |
| 17 |
IWLink1: TIWLink; |
| 18 |
procedure IWButton1Click(Sender: TObject); |
| 19 |
procedure IWLink1Click(Sender: TObject); |
| 20 |
public |
| 21 |
end; |
| 22 |
|
| 23 |
implementation |
| 24 |
|
| 25 |
{$R *.dfm} |
| 26 |
|
| 27 |
uses Unit3; |
| 28 |
|
| 29 |
|
| 30 |
procedure TIWForm10.IWButton1Click(Sender: TObject); |
| 31 |
begin |
| 32 |
if DM.FDTable1.Locate('EMAIL;BIRTH',VarArrayOf([IWEdit1.Text,IWEdit2.Text]),[]) = true then |
| 33 |
begin |
| 34 |
//send email |
| 35 |
WebApplication.ShowMessage('MľÜľ˝'); |
| 36 |
end |
| 37 |
else |
| 38 |
WebApplication.ShowMessage('o^łęĢܚń'); |
| 39 |
end; |
| 40 |
|
| 41 |
procedure TIWForm10.IWLink1Click(Sender: TObject); |
| 42 |
begin |
| 43 |
Release; |
| 44 |
end; |
| 45 |
|
| 46 |
end. |
| |