Namespace: Consultingwerk.SmartComponents.Interfaces
Interface 
ISmartWindowForm Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerForm, Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerSettingsForm, Consultingwerk.BusinessEntityDesigner.UI.CustomPropertiesEditorForm, Consultingwerk.BusinessEntityDesigner.UI.DataRelationFieldPickerForm, Consultingwerk.BusinessEntityDesigner.UI.FieldEditorForm, Consultingwerk.BusinessEntityDesigner.UI.FieldRemovedPromptForm, Consultingwerk.BusinessEntityDesigner.UI.NewFieldInIncludeFileForm, Consultingwerk.BusinessEntityDesigner.UI.ReorderFieldsForm, Consultingwerk.SmartComponents.Base.SmartLookupDialogForm, Consultingwerk.SmartComponents.Base.SmartMDIContainer, Consultingwerk.SmartComponents.Base.SmartWindowForm, Consultingwerk.SmartComponents.BaseForms.BusinessEntityAdapter.SmartMasterDetailAdapterForm, Consultingwerk.SmartComponents.BaseForms.BusinessEntityAdapter.SmartSingleAdapterForm, Consultingwerk.SmartComponents.BaseForms.SmartBaseDialogForm, Consultingwerk.SmartComponents.BaseForms.TabFolder.SmartTabFolderForm, Consultingwerk.SmartComponents.Tools.BusinessEntityBrowser.BusinessEntityBrowserForm, Consultingwerk.SmartComponents.Tools.DynamicLookupDesigner.DynamicLookupDesignerForm, Consultingwerk.SmartComponents.Tools.ManageClassPath.ManageClassPathForm, Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm, Consultingwerk.Windows.Framework.Authentication.SmartUserMaintenanceForm, Consultingwerk.Windows.Framework.Authorization.SmartAuthorizationAssignmentVerificationForm, Consultingwerk.Windows.Framework.Authorization.SmartFieldSecurityItemForm, Consultingwerk.Windows.Framework.Authorization.SmartGroupMaintenanceForm, Consultingwerk.Windows.Framework.Authorization.SmartMenuSecurityMaintenanceForm, Consultingwerk.Windows.Framework.Authorization.SmartSecurityAssignmentForm, Consultingwerk.Windows.Framework.Authorization.SmartSecurityRealmForm, Consultingwerk.Windows.Framework.Authorization.SmartSecurityTokenForm, Consultingwerk.Windows.Framework.Authorization.SmartToolbarSecurityItemForm, Consultingwerk.Windows.Framework.Authorization.SmartUserAndGroupSelectionForm, Consultingwerk.Windows.Framework.Localization.ResourceTranslationMaintenanceForm, Consultingwerk.Windows.Framework.Menu.ReorderMenuItemsForm, Consultingwerk.Windows.Framework.Menu.SmartFunctionMaintenanceForm, Consultingwerk.Windows.Framework.Menu.SmartMenuMaintenanceForm, Consultingwerk.Windows.Framework.Menu.SmartMenuStyleForm, Consultingwerk.Windows.Framework.Menu.SmartModuleMaintenanceForm, Consultingwerk.Windows.Framework.Menu.SmartProductForm, Consultingwerk.Windows.Framework.Reference.MainMenuForm, Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeForm, Consultingwerk.Windows.Framework.Repository.Class.SmartAttributeGroupForm, Consultingwerk.Windows.Framework.Repository.Class.SmartClassTypeForm, Consultingwerk.Windows.Framework.Repository.Class.SmartLinkTypeForm, Consultingwerk.Windows.Framework.Repository.Class.SmartObjectTypeForm, Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationForm, Consultingwerk.Windows.Framework.Repository.Customization.SmartCustomizationTypeForm, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobForm, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobPlanForm, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobStatusForm, Consultingwerk.Windows.Framework.System.SelectRelationsToImportForm, Consultingwerk.Windows.Framework.System.SmartAttachmentRoleForm, Consultingwerk.Windows.Framework.System.SmartBusinessEntityForm, Consultingwerk.Windows.Framework.System.SmartCommentRoleForm, Consultingwerk.Windows.Framework.System.SmartDeletionForm, Consultingwerk.Windows.Framework.System.SmartKeyFieldAssignmentTypeForm, Consultingwerk.Windows.Framework.System.SmartLanguageMaintenanceForm, Consultingwerk.Windows.Framework.System.SmartLoginCompanyMaintenanceForm, Consultingwerk.Windows.Framework.System.SmartMessageForm, Consultingwerk.Windows.Framework.System.SmartRelationForm, Consultingwerk.Windows.Framework.System.SmartTableForm, Consultingwerk.Windows.Framework.System.SmartTranslationForm, Consultingwerk.Windows.Framework.System.SmartUiTranslationForm, Consultingwerk.Windows.Framework.System.SmartValueListForm

File:ISmartWindowForm
Purpose:Interface for SmartWindowsForm and SmartRadWindowForm and
SmartRadRibbonWindowForm
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Apr 08 20:29:17 CEST 2015



Top Method Summary
Options Name Purpose
+ ActivateSmartControl (Control) Marks a SmartViewerControl or SmartBrowserControl as Active
+ LOGICAL CanFindInComponentsCollection (Object) Returns if the component can be found in the ComponentsCollection
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
+ Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl GetToolbar () Returns the reference to the ISmartToolbarControl of the ISmartWindowForm
+ Consultingwerk.Framework.Enum.DialogResultEnum PromptForSaveOfPendingChangesOnClose () Shows the Prompt to save pending transactions to the backend while closing the Form
+ LOGICAL RecurseCheckIsOkToClose (Control+ControlCollection, logical, CloseReason) Recursivly ask all Controls implementing the ICheckOkToClose Interface wheather it is ok to close the form.

Top Event Summary
Options Name Purpose
+ FormDestroyed DELEGATE System.EventHandler Raised when a Form is destroyed (in the Destructor)

Top Property Summary
Options Name Purpose
+ Consultingwerk.SmartComponents.Interfaces.ISmartDataSource ExternalDataSource A DataSource that is passed in from the launching Container (Form) to this Form. The ExternalDataSource will typically be passed on to the internal PrimaryDataTarget
+ Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ExternalNavigationTarget A NavigationTarget that is passed in from the launching Container (Form) to this Form. The ExternalNavigationtarget will typically be passed on to the internal PrimaryNavigationSource
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource PrimaryDataSource A reference to the primary data source in this Form
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget PrimaryDataTarget A reference to the primary data target in this Form
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource PrimaryNavigationSource A reference to the primary navigation source in this Form


Method Detail
Top

PUBLIC ActivateSmartControl (Control)

Purpose: Marks a SmartViewerControl or SmartBrowserControl as Active
Notes:

Parameters:
poControl System.Windows.Forms.Control
The reference to the Control that has become active
Top

PUBLIC LOGICAL CanFindInComponentsCollection (Object)

Purpose: Returns if the component can be found in the ComponentsCollection
Notes: Available from OpenEdge 11.1 on

Parameters:
poComponent System.Object
The component to locate
Returns LOGICAL
Logical value indicating if the component can be found in the ComponentsCollection
Top

PUBLIC System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents ()

Purpose: Returns a List of all Components in the Form
Notes: Supported on OpenEdge 11 only, due to dependency to the ComponentsCollection
list not available on 10.2B

Returns System.Collections.Generic.List <System.ComponentModel.Component>
The List of Components in the Form
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl GetToolbar ()

Purpose: Returns the reference to the ISmartToolbarControl of the ISmartWindowForm
Notes:

Returns Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl
The reference to the ISmartToolbarControl of the ISmartWindowForm
Top

PUBLIC Consultingwerk.Framework.Enum.DialogResultEnum PromptForSaveOfPendingChangesOnClose ()

Purpose: Shows the Prompt to save pending transactions to the backend while
closing the Form
Notes:

Returns Consultingwerk.Framework.Enum.DialogResultEnum
The DialogResultEnum value indicating "Yes" to save changes, "No" to not save changes and "Cancel" to not close the Form
Top

PUBLIC LOGICAL RecurseCheckIsOkToClose (Control+ControlCollection, logical, CloseReason)

Purpose: Recursivly ask all Controls implementing the ICheckOkToClose Interface
wheather it is ok to close the form.
Notes:

Parameters:
poControls System.Windows.Forms.Control+ControlCollection
The System.Windows.Forms.Control+ControlCollection Collection of Controls to iterate
plShowMessage LOGICAL
When TRUE a message is Shown explaining why it is not ok to close the parent form.
poCloseReason System.Windows.Forms.CloseReason
The System.Windows.Forms.CloseReason passed from then OnFormClosing Method of the parent form giving the reason who closes the form.
Returns LOGICAL
Logical value indicating if the Form can be closed or not.


Event Detail
Top

PUBLIC FormDestroyed DELEGATE System.EventHandler

Purpose: Raised when a Form is destroyed (in the Destructor)
Notes:

Delegate: System.EventHandler


Property Detail
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.ISmartDataSource ExternalDataSource

Purpose: A DataSource that is passed in from the launching Container (Form)
to this Form. The ExternalDataSource will typically be passed on
to the internal PrimaryDataTarget
Notes: Used for PASS-THROUGH data links

Returns Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ExternalNavigationTarget

Purpose: A NavigationTarget that is passed in from the launching Container (Form)
to this Form. The ExternalNavigationtarget will typically be passed on
to the internal PrimaryNavigationSource
Notes: Used for PASS-THROUGH navigation links

Returns Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource PrimaryDataSource

Purpose: A reference to the primary data source in this Form
Notes:

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget PrimaryDataTarget

Purpose: A reference to the primary data target in this Form
Notes: Used for PASS-THROUGH data links

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource PrimaryNavigationSource

Purpose: A reference to the primary navigation source in this Form
Notes: Used for PASS-THROUGH navigation links

Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource


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