DblClick Event

15 May

From:    “Sofyan Efendi” <sofyan@madinah.cc>
Date:    Wed, 16 Aug 2006 16:35:53 +0700

Event DblClick terjadi saat user menekan dan melepas tombol kiri mouse sebanyak dua kali. Syntax:

Private Sub object_DblClick( Cancel As Integer)

Penjelasan:

– Object: Nama form atau control.

– Cancel: Jika diset True (-1) akan meng-cancel event DblClick.

Urutan event ini adalah sbb:

MouseDown -> MouseUp -> Click -> DblClick -> MouseUp -> Click

Contoh:

Private Sub EmployeeID_DblClick (Cancel As Integer)
DoCmd.OpenForm “Employees”, , , _
“EmployeeID = Forms!Orders! EmployeeID”
End Sub

Wassalaamu’alaikum Warahmatullahi Wabarakatuh,
Sofyan Efendi
– AccessWeb <http://www35.websamba.com/accessweb&gt;
– OPI-Homepage <http://www.geocities.com/opi1978&gt;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: