Top Method Summary
Options Name Purpose
+ LONGCHAR GenerateAssignPropertiesBlock () Generats the source code that assigns the property values for this Control
+ LONGCHAR GenerateControlNew () Generates the NEW statement used to create an intance of the Control
+ CHARACTER GenerateHtml () Returns the HTML for the current Control
+ LONGCHAR GenerateSupportingObjectDefinition () Returns the code required to build supporting objects, like Appearance objects, Editor-Buttons etc.
+ LONGCHAR GenerateVariableDefinition () Returns the variable definition ABL statementfor the Control
# InsertEventHandler (character, character, character, character, longchar) Inserts an event handler
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ControlGenerator

Top Property Summary
Options Name Purpose
+ Progress.Lang.Object ContainerControlGenerator Gets and sets the reference to the SmartViewerGenerator used by the IControlGenerator implementation
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ControlGenerator
+ CHARACTER ContainerName Gets and sets the Name of the Container Control
+ CHARACTER ControlTypeName Retusn the TypeName for to be used for this UltraEditorControl
+ CHARACTER DataBindings The DataBindigns for the generated Control
+ INTEGER Left The Position of the Control
+ CHARACTER Name Gets and sets the Name of the Control
+ LOGICAL SupportInitialize Logical value indicating if the Control supports the ISupportInitialize interface
+ INTEGER TabOrder The TabOrder property of the Control
+ CHARACTER Tag The Tag property of the Control
+ CHARACTER TemplateFileName Gets and sets the Name of the Template File to be used by this class
+ CHARACTER TemplateFileNameUnbound Gets and sets the Name of the Template File to be used by this class
+ CHARACTER Text Gets and sets the Text property
+ INTEGER Top The Position of the Control
+ LONGCHAR ValidatingTriggerBlock Code block for the Validating (LEAVE) event
+ LONGCHAR ValueChangedTriggerBlock Code block for the ValueChanged (VALUE-CHANGED) event


Method Detail
Top

PUBLIC LONGCHAR GenerateAssignPropertiesBlock ()

Purpose: Generats the source code that assigns the property values for this Control
Notes:

Returns LONGCHAR
The source code for the code block that assigns the property values for this Control
Top

PUBLIC LONGCHAR GenerateControlNew ()

Purpose: Generates the NEW statement used to create an intance of the Control
Notes:

Returns LONGCHAR
The source code for the NEW statement to create an instanc of the Control
Top

PUBLIC CHARACTER GenerateHtml ()

Purpose: Returns the HTML for the current Control
Notes:

Returns CHARACTER
The HTML source for the current Control
Top

PUBLIC LONGCHAR GenerateSupportingObjectDefinition ()

Purpose: Returns the code required to build supporting objects, like
Appearance objects, Editor-Buttons etc.
Notes:

Returns LONGCHAR
The source code for the supporting object definition and instantiation
Top

PUBLIC LONGCHAR GenerateVariableDefinition ()

Purpose: Returns the variable definition ABL statementfor the Control
Notes:

Returns LONGCHAR
The source code for the variable definition section
Top

PROTECTED InsertEventHandler (character, character, character, character, longchar)

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ControlGenerator
Purpose: Inserts an event handler
Notes:

Parameters:
pcName CHARACTER
The name of the event handler
pcEvent CHARACTER
The name of the event
pcControlName CHARACTER
The name of the contorl
pcEventArgs CHARACTER
The class name of the event args class
pcCode LONGCHAR
The source code


Property Detail
Top

PUBLIC Progress.Lang.Object ContainerControlGenerator

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ControlGenerator
Purpose: Gets and sets the reference to the SmartViewerGenerator used by the
IControlGenerator implementation
Notes:

Returns Progress.Lang.Object
Top

PUBLIC CHARACTER ContainerName

Purpose: Gets and sets the Name of the Container Control
Notes: Leave Empty if the Control is not part of a Container such as a
GroupBox

Returns CHARACTER
Top

PUBLIC CHARACTER ControlTypeName

Purpose: Retusn the TypeName for to be used for this UltraEditorControl
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER DataBindings

Purpose: The DataBindigns for the generated Control
Notes: The ControlGenerator implementation determines the actual properties
that we'll bind to (Text, Value, ...). So this propery contains the
names of the BindingSource Fields. Multiple field names are supported,
in that case we'll pass in a comma delimited list of property names

Returns CHARACTER
Top

PUBLIC INTEGER Left

Purpose: The Position of the Control
Notes:

Returns INTEGER
Top

PUBLIC CHARACTER Name

Purpose: Gets and sets the Name of the Control
Notes: Removes Designer unsafe characters in the Name

Returns CHARACTER
Top

PUBLIC LOGICAL SupportInitialize

Purpose: Logical value indicating if the Control supports the ISupportInitialize
interface
Notes: Used for generating the BeginInit and EndInit method calls

Returns LOGICAL
Top

PUBLIC INTEGER TabOrder

Purpose: The TabOrder property of the Control
Notes:

Returns INTEGER
Top

PUBLIC CHARACTER Tag

Purpose: The Tag property of the Control
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER TemplateFileName

Purpose: Gets and sets the Name of the Template File to be used by this class
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER TemplateFileNameUnbound

Purpose: Gets and sets the Name of the Template File to be used by this class
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER Text

Purpose: Gets and sets the Text property
Notes:

Returns CHARACTER
Top

PUBLIC INTEGER Top

Purpose: The Position of the Control
Notes:

Returns INTEGER
Top

PUBLIC LONGCHAR ValidatingTriggerBlock

Purpose: Code block for the Validating (LEAVE) event
Notes:

Returns LONGCHAR
Top

PUBLIC LONGCHAR ValueChangedTriggerBlock

Purpose: Code block for the ValueChanged (VALUE-CHANGED) event
Notes:

Returns LONGCHAR


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:25:59