Anda di halaman 1dari 1

MEMBUAT PASSWORD DI GAMBAS

Contoh 1 :
Masukkan ID dan Password Anda

User ID

Password

Ok Cancel

Source Codenya :

PUBLIC SUB Button1_Click()

IF TextBox1.Text = "gondrong" AND TextBox2.Text = "redelong" THEN


SELECT CASE Message.Question("Password Anda Benar, Ingin Mengulang Lagi", "Yes",
"No")
CASE 1
TextBox1.Text = ""
TextBox2.Text = ""
TextBox1.SetFocus
CASE 2
ME.Close
END SELECT
ELSE
Message.Warning("Maaf Password Anda Salah, Coba Ulang Lagi", "Ok")
TextBox1.Text = ""
TextBox2.Text = ""
TextBox1.SetFocus
ENDIF
END

BY ; kamal_gondrong

Anda mungkin juga menyukai