Home > Code Library > SmartNetButton > RepeatLapse

Last Update 24 May 2001










RepeatLapse Property

Returns or sets the time in milliseconds to wait between each MouseHold event.


object.RepeatLapse [= value]

The RepeatLapse property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartNetButton object.
value A numeric value or constant that determines the lapse in milliseconds.

At design time, the default RepeatLapse for the SmartNetButton is set to 125.


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.