Namespace: Consultingwerk.SmartComponents.Implementation
Class 
ClientValidationError Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.AppError
Implements: Consultingwerk.SmartComponents.Base.IFieldValidationError

File:ClientValidationError
Author(s):Marko Rüterbories / Consultingwerk Ltd.
Created:Tue Mar 03 15:51:41 CET 2009


Top Constructor Summary
Options Name Purpose
+ ClientValidationError (character, character) Constructor for the ClientValidationError class
+ ClientValidationError (character, Control) Constructor for the ClientValidationError class
+ ClientValidationError (character, integer, character) Constructor for the ClientValidationError class
+ ClientValidationError (character, integer, Control) Constructor for the ClientValidationError class
+ ClientValidationError (Control) Constructor for the ClientValidationError class

Top Property Summary
Options Name Purpose
+ System.Windows.Forms.Control FocusControl
+ CHARACTER FocusControlName


Constructor Detail
Top

PUBLIC ClientValidationError (character, character)

Purpose: Constructor for the ClientValidationError class
Notes: The Constructor creates a new instance of ClientValidationError with
the ReturnValue property set to the value of the ErrorString
parameter and sets oFocusControl to the given poFocusControl.

Parameters:
pcReturnValue CHARACTER
The return value for the error
pcFocusControlName CHARACTER
The name of the Control (BindingSource Column name)
Top

PUBLIC ClientValidationError (character, Control)

Purpose: Constructor for the ClientValidationError class
Notes: The Constructor creates a new instance of ClientValidationError with
the ReturnValue property set to the value of the ErrorString
parameter and sets oFocusControl to the given poFocusControl.

Parameters:
pcReturnValue CHARACTER
The return value for the error
poFocusControl System.Windows.Forms.Control
The reference to the focus control
Top

PUBLIC ClientValidationError (character, integer, character)

Purpose: Constructor for the ClientValidationError class
Notes: The Constructor creates a new instance of ClientValidationError and
assigns the first message on the object with the values from the
ErrorMessage and MessageNumber arguments. It also sets the
NumMessages property to 1 and sets oFocusControl to the given
poFocusControl.

Parameters:
pcErrorString CHARACTER
The error message for the error object
piErrorNumber INTEGER
The error number for the error object
pcFocusControlName CHARACTER
The name of the Control (BindingSource Column name)
Top

PUBLIC ClientValidationError (character, integer, Control)

Purpose: Constructor for the ClientValidationError class
Notes: The Constructor creates a new instance of ClientValidationError and
assigns the first message on the object with the values from the
ErrorMessage and MessageNumber arguments. It also sets the
NumMessages property to 1 and sets oFocusControl to the given
poFocusControl.

Parameters:
pcErrorString CHARACTER
The error message for the error object
piErrorNumber INTEGER
The error number for the error object
poFocusControl System.Windows.Forms.Control
The reference to the focus control
Top

PUBLIC ClientValidationError (Control)

Purpose: Constructor for the ClientValidationError class
Notes: The Constructor creates a new instance of ClientValidationError with
an empty message list and sets oFocusControl to the given
poFocusControl.

Parameters:
poFocusControl System.Windows.Forms.Control
The reference to the focus control


Property Detail
Top

PUBLIC System.Windows.Forms.Control FocusControl


Returns System.Windows.Forms.Control
Top

PUBLIC CHARACTER FocusControlName


Returns CHARACTER


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:15:55