Namespace: Consultingwerk.Windows.Framework
Class 
SmartFormFactory Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SmartFormFactory
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jan 03 15:11:24 CET 2019
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
# Progress.Windows.Form CreateDynamicFormInstance (character, logical, character) Creates a staic Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character) Creates a Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character, character) Creates a Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character, logical, character) Creates a Form instance with the given parameters
# Progress.Windows.Form CreateStaticFormInstance (character, logical, character) Creates a staic Form instance with the given parameters
# HANDLE FetchRepositoryObject (character) Fetches the Repository Data from either the ISmartRepositoryService or the SmartRepositoryBusinessTask
+ Progress.Windows.Form LaunchForm (character) Launches a Form
+ Progress.Windows.Form LaunchForm (character, ISmartDataSource) Launches a Form
+ Progress.Windows.Form LaunchForm (character, ISmartDataSource, logical) Launches a Form
+ Progress.Windows.Form LaunchForm (character, logical) Launches a Form


Method Detail
Top

PROTECTED Progress.Windows.Form CreateDynamicFormInstance (character, logical, character)

Purpose: Creates a staic Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character, character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character, logical, character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PROTECTED Progress.Windows.Form CreateStaticFormInstance (character, logical, character)

Purpose: Creates a staic Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PROTECTED HANDLE FetchRepositoryObject (character)

Purpose: Fetches the Repository Data from either the ISmartRepositoryService
or the SmartRepositoryBusinessTask
Notes:

Parameters:
pcObjectMaster CHARACTER
The Object Master name or guid
Returns HANDLE
The handle of the ProDataset with the repository data
Top

PUBLIC Progress.Windows.Form LaunchForm (character)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, ISmartDataSource)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
poExternalDataSource Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
The reference of the SmartDataSource to use of the ExternalDataSource of the SmartWindowForm
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, ISmartDataSource, logical)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
poExternalDataSource Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
The reference of the SmartDataSource to use of the ExternalDataSource of the SmartWindowForm
plModal LOGICAL
Logical value indicating if the Form should be started modally
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, logical)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plModal LOGICAL
Logical value indicating if the Form should be started modally
Returns Progress.Windows.Form
The reference to the launched form instance


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.08.2019 00:06:32