Home > Code Library > SmartNetButton > MouseHold

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartNetButton
Reference

MouseHold Event

Occurs when the mouse is held down over the button and the RepeatDelay property is greater than 0.

Syntax

Private Sub object_MouseHold ()

Where object is an object expression that evaluates to a SmartViewport object

Remarks

The SmartNetButton control includes a nice feature: you can hold the mouse down and after waiting RepeatDelay milliseconds, the button will start sending MouseHold events every lapse of RepeatLapse milliseconds. Setting RepeatDelay to 0 will disable this feature.

 
Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.