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

File:SmartPanelFactory
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Nov 21 14:17:52 CET 2021
Purpose: Closes the Panel Container
Notes: Checks if the PanelContainer is OK to close first.



Top Method Summary
Options Name Purpose
+ LOGICAL ClosePanelContainer (Form) Closes the Panel Container
# HANDLE FetchRepositoryObject (character) Fetches the Repository Data from either the ISmartRepositoryService or the SmartRepositoryBusinessTask
+ Progress.Windows.Form RenderPanelContainer (character, logical, character, character, Control) Renders a Dynamic Form as a Panel into the given Parent Control
+ Progress.Windows.Form RenderPanelContainer (character, Control) Renders a Dynamic Form as a Panel into the given Parent Control


Method Detail
Top

PUBLIC LOGICAL ClosePanelContainer (Form)

Purpose: Closes the Panel Container
Notes: Checks if the PanelContainer is OK to close first.

Parameters:
poPanelContainer Progress.Windows.Form
The reference to the PanelContainer
Returns LOGICAL
Logical value indicating if the Panel Container as been closed
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 RenderPanelContainer (character, logical, character, character, Control)

Purpose: Renders a Dynamic Form as a Panel into the given Parent Control
Notes: The caller is responsible for calling Show() on the returned Form instance

Parameters:
pcClassName CHARACTER
The name of the repository Form to launch
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
pcFormAction CHARACTER
The FormAction for this form instance
poParentControl System.Windows.Forms.Control
The reference to the Parent Control
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form RenderPanelContainer (character, Control)

Purpose: Renders a Dynamic Form as a Panel into the given Parent Control
Notes: The caller is responsible for calling Show() on the returned Form instance

Parameters:
pcClassName CHARACTER
The name of the repository Form to launch
poParentControl System.Windows.Forms.Control
The reference to the Parent Control
Returns Progress.Windows.Form
The reference to the new form instance


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:30:19