Tutorial Kali ini yaitu Keyword TEDIT, dimana kita bisa menentukan apa saja yang bisa kita ketik di TEdit dengan Keyboard yang kita inginkan, program ini sangat sederhana dengan menggunakan CASE KEY OF. Tidak perlu basa basi lagi langsung aja Ke Tutorial nya silahkan Free Dowload Tutorial Keyword TEDIT Dibawah ini :
Download
>>Link<<
>>Mirror Link<<
Code Lengkapnya :
=======================BEGIN PROGRAM==================
unit Unit1;
// http://www.olvandra.blogspot.com //
// http://www.meanddelphi.blogspot.com //
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Edit1: TEdit;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
procedure Edit1KeyPress(Sender: TObject; var Key: Char);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
// ========================================== Yang di bisa di input di TEDIT//
procedure TForm1.Edit1KeyPress(Sender: TObject; var Key: Char);
begin
Case Key Of
'0': Exit;
'1': Exit;
'2': Exit;
'3': Exit;
'4': Exit;
'5': Exit;
'6': Exit;
'7': Exit;
'8': Exit;
'9': Exit;
'.': Exit;
#8 : Exit; {Backspace}
',' : Exit; {koma}
'R' : Exit; {R}
'p' : Exit; {p}
'-' : Exit; {Minus}
End;
Key := #0; {Throw the key away}
end;
end.
==============================END PROGRAM==========================
Donation
Facebook badge
Halaman
Jam
Chat Me
About
About Me
Categories
- Animasi Blog (6)
- Anti Virus (5)
- Artikel Design (1)
- Belitung Island (20)
- Borlan C++ (1)
- Borland Delphi (13)
- Cerita Rakyat (4)
- Cheat (18)
- Facebook (3)
- Fisika (2)
- Game (20)
- Hack (1)
- Hardware (6)
- Kalkulus (5)
- Komponen Skin (8)
- Komputer (2)
- Lagu Rf Online (1)
- Linux (1)
- Musik (1)
- Network (14)
- Pascal (8)
- PHP (2)
- Programing (9)
- Puisi (1)
- RF (2)
- Serial Number (1)
- Sistem (2)
- Software (27)
- SQL (1)
- Tutorial Delphi (48)
- VB (7)
- Web (2)
- Windows Xp (2)
- Wisata (4)
Leave a Reply
Silahkan Tulis Komentar Anda, Sopan dan Berwibawa