Professional Documents
Culture Documents
com
Pertemuan 2
Pengenalan Project dan Form
”C:\Lab_Pagi\1207xxxx\1207xxxx.pjx”
Ket :
All. : Berisi Semua Komponen (data, document, class libraries, code, other).
Data : Berisi komponen yang berhubungan dengan data (database, free table , query).
Pembuatan Form
Klik New
Form controls digunakan untuk menampung object2 yang akan di desain pada form.
Listing Program…………
CmdJam______________________Click
thisform.text1.Value=TIME()
CmdTanggal______________________Click
thisform.text1.Value=CDOW(DATE())+","+DMY(DATE())
Cmdclose_________________________Click
thisform.Release
Listing Program………….!!!!!
http://t3di.blogspot.com
Cmdtambah___________________Clik
thisform.txthasil.Value=VAL(thisform.txtnilai1.Value) +
VAL(thisform.txtnilai2.Value)
Cmdkurang___________________Clik
thisform.txthasil.Value=VAL(thisform.txtnilai1.Value) -
VAL(thisform.txtnilai2.Value)
Cmdkali___________________Clik
thisform.txthasil.Value=VAL(thisform.txtnilai1.Value) *
VAL(thisform.txtnilai2.Value)
Cmdbagi___________________Clik
thisform.txthasil.Value=VAL(thisform.txtnilai1.Value) /
VAL(thisform.txtnilai2.Value)
Cmdbesar___________________Clik
thisform.txthasil.Value=VAL(thisform.txtnilai1.Value) >
VAL(thisform.txtnilai2.Value)
CmdKecil___________________Clik
thisform.txthasil.Value=VAL(thisform.txtnilai1.Value) <
VAL(thisform.txtnilai2.Value)
CmdClose___________________Clik
CmdClear___________________Clik
Thisform.txtnilai1.value=””
Thisform.txtnilai2.value=””
Thisform.txthasil.value=””