Gets or sets the length of time that must transpire before subsequent ToolTip windows appear as the pointer moves from one control to another.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
With the property, you can shorten or lengthen the time that the ToolTip waits before displaying a ToolTip window after a previous ToolTip window is displayed. The first time a ToolTip window is displayed, the value of the InitialDelay property is used to determine the delay to apply before initially showing the ToolTip window. When a ToolTip window is currently being displayed and the user moves the pointer to another control that displays a ToolTip window, the value of the property is used before showing the ToolTip for the new control. The ToolTip window from the previous control must still be displayed in order for the delay specified in the property to be used; otherwise the InitialDelay property value is used.
If you want to have a consistent delay pattern for ToolTip windows, you can set the AutomaticDelay property. The AutomaticDelay property sets the AutoPopDelay, , and InitialDelay properties to initial values based on a single time value. Every time the AutomaticDelay property is set, the property is set to 1/5 of the AutomaticDelay property value. Once the AutomaticDelay property is set, you can independently set the property, overriding the default value.
The following code example creates an instance of the ToolTip class and associates the instance with the Form that the instance is created within. The code then initializes the delay properties AutoPopDelay, InitialDelay, and . In addition the instance of the ToolTip class sets the ShowAlways property to true to enable ToolTip text to be displayed regardless of whether the form is active. Finally, the example associates ToolTip text with two controls on a form, a Button and a CheckBox. The code example requires that the method defined in the example is located within a Form that contains a Button control named button1 and a CheckBox control named checkBox1, and that the method is called from the constructor of the Form.