ErrorProvider Xojo and Real Studio Plugin |
|
ErrorProvider Control
The ErrorProvider control is a REAL Studio control to put error providers on forms and windows.
A error provider is a blinking indicator that indicates that a given field has a error. They're used to indicate errors in user input after form or window validation.
The error provider can show errors for many controls at once with just one instance of the error provider.
Note:In REALbasic 2010 then the ErrorProvider control will not show up in the REALbasic toolbar. This is claimed to been fixed in the upcoming REALbasic 2011. To work around this in REALbasic 2010, then drag a Object from the toolbar onto a window, then set its super to ErrorProvider.
RectControl
ErrorProvider
control ErrorProvider
Properties
DisableBlink | If set to true then the blinking of the error provider is disabled. |
ErrorCount | |
HighResImage | Sets high resolution image that the ErrorProvider should show when in retina mode. |
Image | Sets image that the ErrorProvider should show. |
Methods
Clear | Clears a error from a given control. |
ClearAll | Clears a errors from all controls that belong to this error provider |
GetMessage | Gets the error message that belongs to a given control. This is for example often used in mouse down event on the error provider. |
ShowError | Shows a error for a given control. In this variation you can chose if the error should be shown on the left or right side of the control. |
ShowError | Shows a error for a given control. In this variation shows the error on the right side of the control which is the default side. |
Events
DoubleClick | This event is fired when the error is double clicked. |
MouseDown | This event is fired when the error gets mouse down on. |
MouseEnter | This event is fired when the mouse enters the error. |
MouseExit | This event is fired when the exits enters the error. |
MouseMove | This event is fired when the mouse moves on the error. |
MouseUp | This event is fired when the error gets mouse up on. |
Supported Platforms:
MacOS X CarbonMacOS X CocoaWin32 - WindowsLinux x86Unsupported Platforms: