MouseWheel Event

14 May

From:    “Sofyan Efendi” <sofyan@madinah.cc>
Date:    Tue, 22 Aug 2006 14:24:29 +0700

Event MouseWheel terjadi saat user memutar scroll mouse (baik kedepan maupun kebelakang) pada saat sedang aktif pada Form View, Datasheet View, PivotChart View, atau PivotTable View. Syntax:

Private Sub Form_MouseWheel( ByVal Page As Boolean, ByVal Count As Long)

Penjelasan:

– Page: Akan bernilai True jika halaman form sudah berganti, akibat dari pemutaran scroll mouse.

– Count: Jumlah halaman yang terlewati yang diakibatkan berputarnya scroll mouse.

Contoh:

Private Sub Form_MouseWheel( _
ByVal Page As Boolean, ByVal Count As Long)
If Page = True Then
MsgBox “You’ve moved to another page.”
End If
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: