Dear Maya,
Biasanya dalam kasus seperti ini lebih baik kamu buat satu sub yang meng-kontrol tombol-2 dan textbox-2 yang dibuat untuk inputan, contoh : Private sub SetTombol( byval Kondisi as Boolean ) cmdAdd.enabled = kondisi cmdEdit.enabled = not kondisi cmdDelete.enabled = not kondisi cmdCancel.enabled = not kondisi cmdSave.enabled = not kondisi txtnama.locked = kondisi ... ... End sub Dan setiap user melakukan transaksi Add, edit, delete, save, prosedur ini dipanggil, contoh : Private sub CmdAdd_Click() Settombol false End sub Private sub CmdSave_Click() Settombol true End sub Jadi user tidak akan bisa melakukan transaksi diluar urutan yang kita tentukan. Semoga membantu Best Regards, Dhani Aristyawan, S.Kom. EDP Supervisor PT. Trias Sentosa, Tbk. Desa Keboharan KM 26 Krian - Sidoarjo _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Maya Agnelia Sent: Thursday, August 24, 2006 9:17 AM To: [email protected] Subject: [indoprog-vb] diulang pertanyaan mendetek click makasih Aa Toni yg ganteng, dan makasih juga mas mul dan mas lain atas responya. kasusnya gini, saya mau spy pd saat form entry tampil sekalipun tidak di disable objek textBoxnya namun user hrs mengclick button NEW terlebih dulu shg apabila user langsung mengisi entrian data nanti pd saat diclick button SAVE maka akan ada pesan bahwa user blm mengclick button NEW. jadi pertanyaanya adalah gmn cara mendetek bahwa button NEW ini udah diklik thanks maya --- Toni Rahayu <toni.rahayu@ <mailto:toni.rahayu%40gmail.com> gmail.com> wrote: > > > Halo maya............. > Ya.. kasih warna saja tuh control setelah di click, > contoh : > > Private Sub Command1_Click() > Command1.BackColor = vbRed > End Sub > > Tapi saya yakin maksud pertanyaan maya bukan itu > ??!! > > Rgds > > > > > > Maya Agnelia <[EMAIL PROTECTED] <mailto:maya_agne%40yahoo.com> com> on 23/08/2006 > 03:38:03 PM > > Please respond to indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com > > To: indoprog-vb@ <mailto:indoprog-vb%40yahoogroups.com> yahoogroups.com > cc: (bcc: Toni Rahayu/IT/domino_srv) > > Subject: [indoprog-vb] mendetek click > > > > hi guys, > numpang nanya nih, > gmn sih caranya kita mendetek kalo control itu sudah > diclick. contohnya commandButton, label, textbox > dll. > > thanks all > maya > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail. <http://mail.yahoo.com> yahoo.com > > > Untuk berhenti berlangganan kirim email kosong ke : > indoprog-vb- <mailto:indoprog-vb-unsubscribe%40yahoogroups.com> [EMAIL PROTECTED] > > Bagi terjangkit virus lokal, zip virus tersebut > dan kirim ke hendra.soewarno@ <mailto:hendra.soewarno%40telkom.net> telkom.net, kami > akan membuat removalnya untuk anda. > Yahoo! Groups Links > > > > > > > > > > > Toni Rahayu > PT. Omedata Electronics > IT Department > Hunting : (62-22) 6030805 Ext 121 > Faxs : (62-22) 6030896 > Homepage : http://toni. <http://toni.rahayu.tripod.com> rahayu.tripod.com > > > > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail. <http://mail.yahoo.com> yahoo.com [Non-text portions of this message have been removed] Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED] Bagi terjangkit virus lokal, zip virus tersebut dan kirim ke [EMAIL PROTECTED], kami akan membuat removalnya untuk anda. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/indoprog-vb/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
