ErrorProvider
Previous  Next

Methods

ClearError  : Clears the error for the last control that had it set. Equivalent to SetError(Control, ""). If using the ErrorProvider on more than one control at once use SetError(Control, "") instead.

New1 : Creates a new ErrorProvider.

SetError(control AS Control, text AS String) : Sets an error icon by the specified control and sets the text that is displayed when the mouse hovers over the error icon.


Properties

Alignment: Int [O] : Sets where the error icon is placed with reference to the error control :  0 TopLeft : 1 TopRight : 2 MiddleLeft : 3 MiddleRight (default) : 4 BottomLeft : 5 BottomRight. You seem to have to set the alignment after setting the error for it to take effect immediately.

BlinkRate: Int [I/O] : Gets or sets the blink rate of the error icon.

BlinkStyle: Int [I/O] : Gets or sets the blink styleof the error icon.  : 0 BlinkIfDifferentError (default) : 1 AlwaysBlink : 2 NeverBlink

ControlRef : Control [I] : Gets a reference to the underlying control.

Icon: Icon [I/O] : Gets or sets the error icon.

Padding : Int[O] : Sets the number of pixels the error icon is placed away from the error control


Events

none