begin
if not ((key = 48) or (key = 49)or (key = 50) or (key = 51) or (key = 52) or(key = 53) or (key = 54)or(key = 55) or(key = 56) or (key = 57) or (key = 96) or (key = 97) or (key = 98) or (key = 99) or (key = 100) or (key = 101) or (key = 102) or (key = 103) or (key = 104) or (key = 105) or (key = 08) or (key = 110) or (key = 190) or (key = 188))
then
begin
if Application.MessageBox('Ojok NGAWUR... masukkan angka!!!!','ERROR neh...',MB_OK or MB_ICONINFORMATION) = IDOK
then
begin
//======================
//kosongkan semua edit text
//======================
end
end
end;
di bagian kosongkan edit text bisa dituliskan
namaedittext.text := '';
Sekian dulu tutorial yang sekedarnya ini,,,
tunggu tutorial lain tetep di goblogtech.blogspot.com
No comments:
Post a Comment