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.SmartRadRibbonWindowForm, Consultingwerk.SmartComponents.Base.SmartRadWindowForm, 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.SmartComponents.Tools.OERABusinessEntityTester.UserTableStatsForm, Consultingwerk.Studio.LegacyGuiMigration.Browse.AblBrowseMigrationForm, Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm, Consultingwerk.Web.Studio.Viewer.WebViewerDesignerForm, 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.SmartSecurityObjectForm, 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.Repository.ExportImport.ExportImportForm, Consultingwerk.Windows.Framework.Repository.Field.SmartEntityFieldMappingForm, Consultingwerk.Windows.Framework.Repository.Object.OpenObjectMasterDialogForm, Consultingwerk.Windows.Framework.Repository.Object.ParentObjectInstanceLookupDialog, Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterForm, Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterMultiUpdateForm, Consultingwerk.Windows.Framework.Repository.Rendering.DynamicForm, Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartEntityTableMappingForm, Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartScreenTypeForm, Consultingwerk.Windows.Framework.Repository.ScreenMapping.SmartUiTypeForm, Consultingwerk.Windows.Framework.Rollbase.ObjectDefinitionForm, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobForm, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobPlanForm, Consultingwerk.Windows.Framework.Scheduler.SmartSchedulerJobStatusForm, Consultingwerk.Windows.Framework.System.ExportImportMetaDataForm, 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.SmartModifiedStateForm, 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, Consultingwerk.Windows.Framework.Web.SmartRouteForm

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
+ Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ExternalNavigationTarget
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource PrimaryDataSource
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget PrimaryDataTarget
+ Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource PrimaryNavigationSource


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


Returns Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ExternalNavigationTarget


Returns Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource PrimaryDataSource


Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataSource
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget PrimaryDataTarget


Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignDataTarget
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource PrimaryNavigationSource


Returns Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:33:52