Namespace: Consultingwerk.Forms
Class 
BaseForm Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.Form
Implements: Consultingwerk.Forms.IBaseForm, System.ComponentModel.ICustomTypeDescriptor, Consultingwerk.SmartComponents.IHasDesignerVerbs
Inherited by: Consultingwerk.Studio.AnnotationViewer.AnnotationViewerForm Consultingwerk.Studio.ConfigurationSettingsEditor.ConfigurationSettingsEditorForm Consultingwerk.Studio.Desktop.DesktopForm Consultingwerk.Studio.LegacyGuiMigration.Browse.AblBrowseMigrationSettingsForm Consultingwerk.Studio.LegacyGuiMigration.CreateBusinessEntityWizard.CreateBusinessEntityWizardForm Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationSettingsForm Consultingwerk.Studio.P4ChangeListTracker.PerforceChangeListForm Consultingwerk.Studio.ProcedureEditor.ProcedureEditorBaseForm Consultingwerk.Studio.ProcedureEditor.ProcedureEditorForm Consultingwerk.Studio.ProcedureEditor.SmartEditorForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntitySourceEditorForm Consultingwerk.Studio.ProjectMinimizer.ProjectMinimizerForm Consultingwerk.Studio.Proparse.NodeList.NodeListBrowserForm Consultingwerk.Studio.Proparse.ProparseTreeViewForm Consultingwerk.Studio.StaticNamesGenerator.StaticNamesForm Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowBaseForm Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowFormDesigner Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowForm Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowTabFolderFormDesigner Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowTabFolderForm Consultingwerk.Windows.BaseForms.BaseDialogForm Consultingwerk.BusinessEntityDesigner.Plugins.CsharpGenerator.CsharpGeneratorWizard Consultingwerk.Windows.TrialVersionForm Consultingwerk.Windows.Util.Forms.ExecuteShellCommandDialog Consultingwerk.BusinessEntityDesigner.KendoUiBuilder.DataSourceWizardForm Consultingwerk.BusinessEntityDesigner.KendoUiBuilder.ViewGeneratorWizardForm Consultingwerk.BusinessEntityDesigner.Plugins.BatchGenerator.BatchGeneratorWizard Consultingwerk.Forms.MDIContainer Consultingwerk.BusinessEntityDesigner.Plugins.DataAccessMockGenerator.DataAccessMockWizard Consultingwerk.BusinessEntityDesigner.Plugins.KendoUI.KendoUiGridWizard Consultingwerk.BusinessEntityDesigner.Plugins.OpenAccessSdk.OpenAccessSdkWizard Consultingwerk.BusinessEntityDesigner.Plugins.RestInterfaceGenerator.RestInterfaceWizard Consultingwerk.BusinessEntityDesigner.Plugins.RollbaseImporter.SelectObjectNameDialog Consultingwerk.BusinessEntityDesigner.Plugins.SmartViewerGenerator.SmartViewerWizard Consultingwerk.BusinessEntityDesigner.Plugins.SmartWindowGenerator.SmartWindowWizard Consultingwerk.BusinessEntityDesigner.Plugins.SwaggerGenerator.SwaggerGeneratorWizard Consultingwerk.BusinessEntityDesigner.Plugins.TelerikMobile.DetailViewWizard Consultingwerk.BusinessEntityDesigner.Plugins.Web2.Web2FormWizard Consultingwerk.BusinessEntityDesigner.Plugins.Web2.Web2ViewerWizard Consultingwerk.BusinessEntityDesigner.UI.CopyFieldsForm Consultingwerk.BusinessEntityDesigner.UI.DatabaseLoginPreferencesForm Consultingwerk.BusinessEntityDesigner.UI.IndexFieldsForm Consultingwerk.BusinessEntityDesigner.UI.InsertClientCallableMethodWizard Consultingwerk.BusinessEntityDesigner.UI.InsertDataAccessValidationWizard Consultingwerk.BusinessEntityDesigner.UI.InsertDatasetCallbackWizard Consultingwerk.BusinessEntityDesigner.UI.PasteSourceCodeForm Consultingwerk.BusinessEntityDesigner.UI.TableImportForm Consultingwerk.Design.SmartComponents.PropertyGridForm Consultingwerk.SmartComponents.Base.SmartWindowForm Consultingwerk.Studio.LegacyGuiMigration.Browse.AblBrowseMigrationForm Consultingwerk.Studio.LegacyGuiMigration.Frame.AblFrameMigrationForm Consultingwerk.Web.Studio.Viewer.WebViewerDesignerForm 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.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.Windows.Framework.Authentication.SmartUserMaintenanceForm Consultingwerk.Windows.Framework.Authorization.MassSecurityAssignmentForm 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.System.TranslateFromSourceCodeDialog Consultingwerk.Windows.Framework.Web.SmartRouteForm Consultingwerk.Windows.Framework.Workflow.SmartWorkflowForm Consultingwerk.SmartComponents.Tools.BusinessEntityBrowser.BusinessEntityQueryForm Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.OERABusinessEntityTesterFilterDialogDesigner Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.OERABusinessEntityTesterFilterDialog Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.UltraBusinessEntityTesterFormDesigner Consultingwerk.SmartComponents.Tools.OERABusinessEntityTester.UltraBusinessEntityTesterForm Consultingwerk.Windows.Forms.DynamicFormLauncherForm Consultingwerk.Windows.Forms.GenericConnectionProfileForm Consultingwerk.Windows.Forms.GenericProcessingStatusForm Consultingwerk.Windows.Forms.GenericProcessingStatusWithCancelForm Consultingwerk.Windows.Forms.GenericProgressForm Consultingwerk.Windows.Forms.UltraGridColumnChooserForm Consultingwerk.Windows.Framework.Authorization.ToolbarContainerLookupDialog Consultingwerk.Windows.Framework.Menu.ChooseFunctionCallTypeDialog Consultingwerk.Windows.Framework.Repository.Object.ReorderInstancesForm Consultingwerk.Windows.Framework.Repository.Plugins.CreateDataSourceWizardForm Consultingwerk.Windows.Framework.Repository.Plugins.CreateLookupWizardForm Consultingwerk.Windows.Framework.Repository.Plugins.CreateMetaFormWizardForm Consultingwerk.Windows.Framework.Repository.Plugins.CreateMetaGridWizardForm Consultingwerk.Windows.Framework.Repository.Plugins.CreateMetaViewerWizardForm Consultingwerk.Windows.Framework.Scheduler.ChooseJobCommandTypeDialog Consultingwerk.Windows.Framework.ServiceManagerMonitoring.ServiceManagerMonitoringForm Consultingwerk.Windows.Framework.System.AttachmentRoleSelectForm Consultingwerk.Windows.Framework.System.GetDatabaseNameForm Consultingwerk.Windows.Framework.System.MissingMessagesForm Consultingwerk.Windows.Framework.System.SwitchUserInterfaceLanguageForm Consultingwerk.Windows.Session.AppServerLoggingSettingsForm Consultingwerk.Windows.Session.ChangePasswordForm Consultingwerk.Windows.Session.ConfigurationProviderForm Consultingwerk.Windows.Session.ContextDatasetViewerForm Consultingwerk.Windows.Session.LoginForm Consultingwerk.Windows.Session.SessionInfoForm Consultingwerk.Windows.Util.ComplexInputPrompt.ComplexInputPromptDialog Consultingwerk.Windows.Util.Forms.ErrorSessionInfoForm Consultingwerk.Windows.Util.Forms.ExcelExportFetchMoreRowsPromptForm Consultingwerk.Windows.Util.Forms.FolderBrowserForm Consultingwerk.Windows.Util.Forms.ProgressLangObjectPropertiesForm Consultingwerk.Windows.Util.Forms.TextInputPromptDesigner Consultingwerk.Windows.Util.Forms.TextInputPrompt Consultingwerk.Windows.Util.Forms.WidgetHandlePropertiesForm Consultingwerk.Windows.Util.Profiler.ProfilerForm Consultingwerk.Windows.WebClient.ProWcAppPropertiesForm

File:BaseForm
Purpose:Base class for .NET Forms
Syntax:Contains code to store window postion in the
Registry (and restore it when Form will be reopened)
Also implements DependentForms collection which is similar
to the .NET default OwnedForms collection but does not
result in the child Form to always stay on top of the
parent
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu May 07 09:40:39 CEST 2009
Notes:Base class for MdiContainer, SmartWindowsForm and
EmbeddedWindowForm.
Use this class as the base class for any .NET Form



Top Method Summary
Options Name Purpose
+ LOGICAL CanFindInComponentsCollection (Object) Returns if the component can be found in the ComponentsCollection
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
# CustomizeToolbar () Customizes the UltraToolbarController associated with this BaseForm
# DesignerInsertUserControl () Inserts a user control instance at design time.
- DisposedHandler (Object, EventArgs) Event handler for the Dispose event of the Form itself
+ System.Collections.Generic.List <System.Windows.Forms.Control> FindAllControlsOfType (Type) Returns a List of all Controls in the Form that are of the given type
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
+ System.ComponentModel.AttributeCollection GetAttributes () Returns a collection of custom attributes for this instance of a component.
+ CHARACTER GetClassName () Returns the class name of this instance of a component.
+ CHARACTER GetComponentName () Returns the name of this instance of a component.
+ System.ComponentModel.TypeConverter GetConverter () Returns a type converter for this instance of a component.
+ System.ComponentModel.EventDescriptor GetDefaultEvent () Returns the default event for this instance of a component.
+ System.ComponentModel.PropertyDescriptor GetDefaultProperty () Returns the default property for this instance of a component.
+ System.Object GetEditor (Type) Returns an editor of the specified type for this instance of a component.
+ System.ComponentModel.EventDescriptorCollection GetEvents () Returns the events for this instance of a component.
+ System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[]) Returns the events for this instance of a component using the specified attribute array as a filter.
+ System.ComponentModel.PropertyDescriptorCollection GetProperties () Returns the properties for this instance of a component.
+ System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[]) Returns the properties for this instance of a component using the attribute array as a filter.
+ System.Object GetPropertyOwner (PropertyDescriptor) Returns an object that contains the property described by the specified property descriptor.
# LoadRibbonQuickAccessToolbar () Restores the Quick Access Toolbar items from the Registry
# CHARACTER LoadSettings () Loads the stored window settings (position etc.) from the registry
# CHARACTER LoadSettings (character) Loads stored window settings from the registry
# OnFormClosed (FormClosedEventArgs) Raises the FormClosed event
# OnFormClosing (FormClosingEventArgs) Raises the FormClosing event
# OnFormDestroyed (EventArgs) Raises the FormDestroyed event
# OnLoad (EventArgs) Raises the Load event
+ OnVerbClicked (character) Event Handler method for Designer Verbs
# RemoveSetting (character) Removes a stored setting
# RestoreUltraSplitterPosition () Restores the position of the Ultra Splitter Controls
# RestoreWindowPosition () Restores the stored window position
- SetDesignerProperties () Sets Properties to customize Visual Designer behaviour
- SizeChangedHandler (Object, EventArgs) Event handler for the SizeChanged event of the Form
# StoreRibbonQuickAccessToolbar () Stores the current Quick Access Toolbar items in the Registry
# StoreSettings (character) Stores the current window settings (position etc.) to the registry
# StoreSettings (character, character) Stores window settings to the registry
# StoreUltraSplitterPosition () Stores the position of the UltraSplitter Controls in the Registry
# StoreWindowPosition () Stores the window position to the resgistry

Top Constructor Summary
Options Name Purpose
+ BaseForm () Constructor for the BaseForm class

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
# CHARACTER BindableProperties
# CHARACTER CategorizedProperties
# CHARACTER CategoryProperties
+ LOGICAL DeleteOnFormClosed
+ System.Collections.Generic.List <Progress.Windows.Form> DependentForms
# CHARACTER DescribedProperties
# CHARACTER DescriptionProperties
# CHARACTER DesignerVerbs
# CHARACTER DesignerVisibilityAttributes
# CHARACTER DesignerVisibilityProperties
+ LOGICAL DesignTime
# CHARACTER HiddenProperties
+ LOGICAL IsClosed
# CHARACTER NonBrowsableProperties
+ System.Windows.Forms.FormWindowState PreviousWindowState
# LOGICAL StoreFormPosition
+ LOGICAL UseStartupSizeAsMinSize
+ CHARACTER WindowPositionRegistryKey


Method Detail
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

PROTECTED CreateVerbs ()

Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

PROTECTED CustomizeToolbar ()

Purpose: Customizes the UltraToolbarController associated with this BaseForm
Notes: Uses the IFormToolbarCustomizer Service if present

Top

PROTECTED DesignerInsertUserControl ()

Purpose: Inserts a user control instance at design time.
Notes:

Top

PRIVATE DisposedHandler (Object, EventArgs)

Purpose: Event handler for the Dispose event of the Form itself
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

PUBLIC System.Collections.Generic.List <System.Windows.Forms.Control> FindAllControlsOfType (Type)

Purpose: Returns a List of all Controls in the Form that are of the given type
Notes:

Parameters:
poType System.Type
The reference to the System.Type
Returns System.Collections.Generic.List <System.Windows.Forms.Control>
The List of all Controls of the given type
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 System.ComponentModel.AttributeCollection GetAttributes ()

Purpose: Returns a collection of custom attributes for this instance of a
component.
Notes:

Returns System.ComponentModel.AttributeCollection
The System.ComponentModel.AttributeCollection describing the types attributes
Top

PUBLIC CHARACTER GetClassName ()

Purpose: Returns the class name of this instance of a component.
Notes:

Returns CHARACTER
The class name of the Component
Top

PUBLIC CHARACTER GetComponentName ()

Purpose: Returns the name of this instance of a component.
Notes:

Returns CHARACTER
The Component Name of this instance
Top

PUBLIC System.ComponentModel.TypeConverter GetConverter ()

Purpose: Returns a type converter for this instance of a component.
Notes:

Returns System.ComponentModel.TypeConverter
The System.ComponentModel.TypeConverter for this instance of a component.
Top

PUBLIC System.ComponentModel.EventDescriptor GetDefaultEvent ()

Purpose: Returns the default event for this instance of a component.
Notes:

Returns System.ComponentModel.EventDescriptor
The System.ComponentModel.EventDescriptor for the default event of this component
Top

PUBLIC System.ComponentModel.PropertyDescriptor GetDefaultProperty ()

Purpose: Returns the default property for this instance of a component.
Notes:

Returns System.ComponentModel.PropertyDescriptor
The System.ComponentModel.PropertyDescriptor for the default property of the component
Top

PUBLIC System.Object GetEditor (Type)

Purpose: Returns an editor of the specified type for this instance of a
component.
Notes:

Parameters:
editorBaseType System.Type
A System.Type that represents the editor for this object.
Returns System.Object
The reference to the Editor of the type of the component instance
Top

PUBLIC System.ComponentModel.EventDescriptorCollection GetEvents ()

Purpose: Returns the events for this instance of a component.
Notes:

Returns System.ComponentModel.EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[])

Purpose: Returns the events for this instance of a component using the
specified attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns System.ComponentModel.EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC System.ComponentModel.PropertyDescriptorCollection GetProperties ()

Purpose: Returns the properties for this instance of a component.
Notes:

Returns System.ComponentModel.PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[])

Purpose: Returns the properties for this instance of a component using the
attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns System.ComponentModel.PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.Object GetPropertyOwner (PropertyDescriptor)

Purpose: Returns an object that contains the property described by the
specified property descriptor.
Notes:

Parameters:
pd System.ComponentModel.PropertyDescriptor
A System.ComponentModel.PropertyDescriptor that represents the property whose owner is to be found.
Returns System.Object
An System.Object that represents the owner of the specified property.
Top

PROTECTED LoadRibbonQuickAccessToolbar ()

Purpose: Restores the Quick Access Toolbar items from the Registry
Notes:

Top

PROTECTED CHARACTER LoadSettings ()

Purpose: Loads the stored window settings (position etc.) from the registry
Notes:

Returns CHARACTER
The string containing the stored window settings
Top

PROTECTED CHARACTER LoadSettings (character)

Purpose: Loads stored window settings from the registry
Notes:

Parameters:
pcSettingsKey CHARACTER
The key under which the settings for this Form are stored (e.g. Position)
Returns CHARACTER
The string containing the stored window settings
Top

PROTECTED OnFormClosed (FormClosedEventArgs)

Purpose: Raises the FormClosed event
Notes: Deletes the Form Instance when it has been closed.
See Progress K-Base Entry ID: P179041
Title: "User Controls that have events attached to them cause
parent forms to not get garbage collected"
Dialog Forms will not get deleted. Typically Dialog Forms will need
to return values to the calling Program using properties. This
requires that the dialog form is valid after the WAIT-FOR
ShowDialog statement.
(Dialog Forms are detected using the Modal property)

Parameters:
e System.Windows.Forms.FormClosedEventArgs
A FormClosedEventArgs that contains the event data.
Top

PROTECTED OnFormClosing (FormClosingEventArgs)

Purpose: Raises the FormClosing event
Notes: Invoked when the Form is about to be closed

Parameters:
e System.Windows.Forms.FormClosingEventArgs
A FormClosingEventArgs that contains the event data.
Top

PROTECTED OnFormDestroyed (EventArgs)

Purpose: Raises the FormDestroyed event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED OnLoad (EventArgs)

Purpose: Raises the Load event
Notes: Invoked when a Form is displayed for the first time

Parameters:
e System.EventArgs
An EventArgs that contains the event data.
Top

PUBLIC OnVerbClicked (character)

Purpose: Event Handler method for Designer Verbs
Notes:

Parameters:
pcVerbText CHARACTER
The label of the verb the developer clicked on in the Visual Designer
Top

PROTECTED RemoveSetting (character)

Purpose: Removes a stored setting
Notes:

Parameters:
pcSettingsKey CHARACTER
The settings key to remove
Top

PROTECTED RestoreUltraSplitterPosition ()

Purpose: Restores the position of the Ultra Splitter Controls
Notes:

Top

PROTECTED RestoreWindowPosition ()

Purpose: Restores the stored window position
Notes:

Top

PRIVATE SetDesignerProperties ()

Purpose: Sets Properties to customize Visual Designer behaviour
Notes:

Top

PRIVATE SizeChangedHandler (Object, EventArgs)

Purpose: Event handler for the SizeChanged event of the Form
Notes: Used to maintain the PreviousWindowState property
Overriding OnSizeChanged in the BaseForm causes issues on 10.2B
so conditionally compiled...
Used to be OnSizeChanged override, but becaus of frequent issues
when reloading the design surface this is now an event handler

Parameters:
sender System.Object
The reference to the object that raised this event
e System.EventArgs
The System.EventArgs with the data for this event
Top

PROTECTED StoreRibbonQuickAccessToolbar ()

Purpose: Stores the current Quick Access Toolbar items in the Registry
Notes:

Top

PROTECTED StoreSettings (character)

Purpose: Stores the current window settings (position etc.) to the registry
Notes:

Parameters:
pcSettings CHARACTER
The string containing the window settings to be stored
Top

PROTECTED StoreSettings (character, character)

Purpose: Stores window settings to the registry
Notes:

Parameters:
pcSettings CHARACTER
The string containing the window settings to be stored
pcSettingsKey CHARACTER
The key under which the settings for this Form are stored (e.g. Position)
Top

PROTECTED StoreUltraSplitterPosition ()

Purpose: Stores the position of the UltraSplitter Controls in the Registry
Notes:

Top

PROTECTED StoreWindowPosition ()

Purpose: Stores the window position to the resgistry
Notes:



Constructor Detail
Top

PUBLIC BaseForm ()

Purpose: Constructor for the BaseForm class
Notes:



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

PROTECTED CHARACTER BindableProperties


Returns CHARACTER
Top

PROTECTED CHARACTER CategorizedProperties


Returns CHARACTER
Top

PROTECTED CHARACTER CategoryProperties


Returns CHARACTER
Top

PUBLIC LOGICAL DeleteOnFormClosed


Returns LOGICAL
Top

PUBLIC System.Collections.Generic.List <Progress.Windows.Form> DependentForms


Returns System.Collections.Generic.List <Progress.Windows.Form>
Top

PROTECTED CHARACTER DescribedProperties


Returns CHARACTER
Top

PROTECTED CHARACTER DescriptionProperties


Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVerbs


Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityAttributes


Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityProperties


Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime


Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties


Returns CHARACTER
Top

PUBLIC LOGICAL IsClosed


Returns LOGICAL
Top

PROTECTED CHARACTER NonBrowsableProperties


Returns CHARACTER
Top

PUBLIC System.Windows.Forms.FormWindowState PreviousWindowState


Returns System.Windows.Forms.FormWindowState
Top

PROTECTED LOGICAL StoreFormPosition


Returns LOGICAL
Top

PUBLIC LOGICAL UseStartupSizeAsMinSize


Returns LOGICAL
Top

PUBLIC CHARACTER WindowPositionRegistryKey


Returns CHARACTER


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:13:05