home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 August
/
Chip_1999-08_cd.bin
/
tema
/
Ozogan
/
RUNTIME
/
APLIKACE.EXE
/
BANKOMAT
/
PROGRAM
/
CODE02.KL3
< prev
next >
Wrap
Text File
|
1999-04-24
|
913b
|
34 lines
Program Firma;
procedure TForm.FormCreate(Sender: TObject);
begin
Form.Visible:=False;
Form.Left:=(SysVarGet('fleft')+(SysVarGet('fwidth')/2 ))-(Form.Width/2);
Form.Top :=(SysVarGet('ftop') +(SysVarGet('fheight')/2))-(Form.Height/2);
If Form.Left<=0 Then Begin
Form.Left:=0;Form.Top:=0;
End;
UpDown1.Height:=21;
UpDown1.Left:=256;
UpDown1.Width:=56;
Edit1.Text:=SysVarGet("Obdobi1");
Form.ActiveControl:=UpDown1;
Form.Visible:=True;
end;
procedure TForm.Button1Click(Sender: TObject);
begin
If SysVarGet("op")=1 Then Begin
If (StrToInt(Edit1.Text)>1900) And (StrToInt(Edit1.Text)<2200) Then Begin
SysVarSet("Obdobi1",Copy(Trim(Edit1.Text),1,4));
SysVarSet("rest",1);
Form.Close;
End
Else Begin
ShowMessage("Nesprßvn∞ vlo₧en² rok"+Chr(13)+"Vlo₧te sprßvnΘ Φφslo nebo stornujte operaci.");
End;
End;
end;
end.