Home > Code Library > SmartNetButton > RepeatDelay

Last Update 24 May 2001

 


Search:



  

Options:

   

   

   

   



SmartNetButton
Reference

RepeatDelay Property

Returns or sets the time in milliseconds the object will wait before it starts raising MouseHold events every RepeatLapse.

Syntax

object.RepeatDelay [= value]

The RepeatDelay 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 delay in milliseconds.

At design time, the default RepeatDelay for the SmartNetButton is set to 250.

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.