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.Desktop.DesktopForm, 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.ProparseTreeViewForm, 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.Windows.Forms.DynamicFormLauncherForm, Consultingwerk.Windows.Forms.GenericConnectionProfileForm, Consultingwerk.Windows.Forms.GenericProcessingStatusForm, Consultingwerk.Windows.Forms.GenericProcessingStatusWithCancelForm, Consultingwerk.Windows.Forms.UltraGridColumnChooserForm, Consultingwerk.Windows.Framework.Authorization.ToolbarContainerLookupDialog, Consultingwerk.Windows.Framework.Menu.ChooseFunctionCallTypeDialog, Consultingwerk.Windows.Framework.Scheduler.ChooseJobCommandTypeDialog, Consultingwerk.Windows.Framework.ServiceManagerMonitoring.ServiceManagerMonitoringForm, Consultingwerk.Windows.Framework.System.AttachmentRoleSelectForm, Consultingwerk.Windows.Framework.System.GetDatabaseNameForm, Consultingwerk.SmartComponents.Base.SmartWindowForm, 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.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.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.Tools.BusinessEntityBrowser.BusinessEntityBrowserForm, Consultingwerk.SmartComponents.Tools.DynamicLookupDesigner.DynamicLookupDesignerForm, Consultingwerk.SmartComponents.Tools.ManageClassPath.ManageClassPathForm, 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, Consultingwerk.BusinessEntityDesigner.Plugins.BatchGenerator.BatchGeneratorWizard, Consultingwerk.BusinessEntityDesigner.Plugins.RestInterfaceGenerator.RestInterfaceWizard, Consultingwerk.BusinessEntityDesigner.Plugins.RollbaseImporter.SelectObjectNameDialog, Consultingwerk.BusinessEntityDesigner.Plugins.SmartViewerGenerator.SmartViewerWizard, Consultingwerk.BusinessEntityDesigner.Plugins.SmartWindowGenerator.SmartWindowWizard, Consultingwerk.BusinessEntityDesigner.Plugins.TelerikMobile.DetailViewWizard, 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.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.Design.SmartComponents.PropertyGridForm, Consultingwerk.Forms.MDIContainer, Consultingwerk.Windows.Framework.System.SwitchUserInterfaceLanguageForm, Consultingwerk.Windows.Session.AppServerLoggingSettingsForm, Consultingwerk.Windows.Session.ChangePasswordForm, Consultingwerk.Windows.Session.ContextDatasetViewerForm, Consultingwerk.Windows.Session.LoginForm, Consultingwerk.Windows.Session.SessionInfoForm, 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.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.
+ 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
# RestoreUltraSplitterPosition () Restores the position of the Ultra Splitter Controls
# RestoreWindowPosition () Restores the stored window position
- SetDesignerProperties () Sets Properties to customize Visual Designer behaviour
# 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 Property that is used to mark properties (comma-delimited list) that should be Data-Bindable
# CHARACTER CategorizedProperties Property that is used to mark properties (comma-delimited list) that should receive a Category attribute
# CHARACTER CategoryProperties Categories of the Property in the CategorizedProperty list
+ LOGICAL DeleteOnFormClosed Gets/Sets if the BaseForm instance should automatically delete itself in the OnFormClosed method (defaults to True). Setting this to FALSE will allow to let the BaseForm instance in memory (when no other reference exists), i.e. to access properties of the Form class when the Form has been closed.
+ System.Collections.Generic.List <Progress.Windows.Form> DependentForms A list of Forms that are dependent from this Form.
# CHARACTER DescribedProperties Property that is used to mark properties (comma-delimited list) that should receive a Description attribute
# CHARACTER DescriptionProperties Description of the Property in the DescribedProperties list
# CHARACTER DesignerVerbs Property that is used to generate Designer Verbs (actions for the Visual Designer)
# CHARACTER DesignerVisibilityAttributes The CHARACTER representation of the DesignerSerializationVisibiltiy attribute (Content/Visible/Hidden), see .NET Enumeration System.ComponentModel.DesignerSerializationVisibility
# CHARACTER DesignerVisibilityProperties Property that is used to mark properties (comma-delimited list) that should receive a DesignerSerializationVisibility Attribute
+ LOGICAL DesignTime Propery flags if the current instance of the SmartBindingSource is running at design time or runtime.
# CHARACTER HiddenProperties Property that is used to mark properties (comma-delimited list) that will be excluded from the .NET TypeDescriptor properties list
+ LOGICAL IsClosed Returns if the Forms has been closed.
# CHARACTER NonBrowsableProperties Property that is used to mark properties (comma-delimited list) that should not show up in the Visual Designers Property Grid
+ System.Windows.Forms.FormWindowState PreviousWindowState Returns the previous WindowState
# LOGICAL StoreFormPosition Controls if this Form instance should store and restore the Form position and size.
+ LOGICAL UseStartupSizeAsMinSize When set to True the OnLoad method will apply the current form (startup size) to the MinimumSize. This will be done before loading the stored Form size from the user profile (e.g. Windows Registry)
+ CHARACTER WindowPositionRegistryKey Gets and sets the Registry Key used for storing this Forms window position


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

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

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

Purpose: Property that is used to mark properties (comma-delimited list) that
should be Data-Bindable
Notes: C# Annotation: [Bindable(true)]

Returns CHARACTER
Top

PROTECTED CHARACTER CategorizedProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a Category attribute
Notes: C# Annotation: [Category("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER CategoryProperties

Purpose: Categories of the Property in the CategorizedProperty list
Notes: C# Annotation: [Category("...")]
This is a comma delimited list

Returns CHARACTER
Top

PUBLIC LOGICAL DeleteOnFormClosed

Purpose: Gets/Sets if the BaseForm instance should automatically delete
itself in the OnFormClosed method (defaults to True). Setting this
to FALSE will allow to let the BaseForm instance in memory (when no
other reference exists), i.e. to access properties of the Form
class when the Form has been closed.
Notes: See Progress K-Base Entry ID: P179041
Title: "User Controls that have events attached to them cause
parent forms to not get garbage collected"

Returns LOGICAL
Top

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

Purpose: A list of Forms that are dependent from this Form.
Notes: Dependent Forms are similar to ChildForms with the exception that
DependentForms are not automatically kept on top of the Owner.
But when the owner is closed, ths DependentForms will be closed as
well.

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

PROTECTED CHARACTER DescribedProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a Description attribute
Notes: C# Annotation: [Description("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DescriptionProperties

Purpose: Description of the Property in the DescribedProperties list
Notes: C# Annotation: [Description("...")]
This is a CHR(1) delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVerbs

Purpose: Property that is used to generate Designer Verbs (actions for the
Visual Designer)
Notes:

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityAttributes

Purpose: The CHARACTER representation of the DesignerSerializationVisibiltiy
attribute (Content/Visible/Hidden), see .NET Enumeration
System.ComponentModel.DesignerSerializationVisibility
Notes: C# Annotation: [DesignerSerializationVisibility(...)]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a DesignerSerializationVisibility Attribute
Notes: C# Annotation: [DesignerSerializationVisibility(...)]
This is a comma delimited list

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Purpose: Propery flags if the current instance of the SmartBindingSource
is running at design time or runtime.
Notes: Set during constructor using a check at the
System.ComponentModel.LicenseManager

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
will be excluded from the .NET TypeDescriptor properties list
Notes:

Returns CHARACTER
Top

PUBLIC LOGICAL IsClosed

Purpose: Returns if the Forms has been closed.
Notes: A Form may be closed but not yet deleted

Returns LOGICAL
Top

PROTECTED CHARACTER NonBrowsableProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should not show up in the Visual Designers Property Grid
Notes:

Returns CHARACTER
Top

PUBLIC System.Windows.Forms.FormWindowState PreviousWindowState

Purpose: Returns the previous WindowState
Notes: This is useful when minimized Form should be brought back to foreground
and it is important to know if the window should be receiving Normal
or Maximized window state
Progress introduced in a 10.2B service pack the property previousState
that returned the previous WindowState. However in OpenEdge 11.1 this
property has been removed (or marked private) as this property was
never intended for the public use. As we and other customer have
been relying on this property Progress has logged bug # OE00222715
to restore this property in a future release or service pack

Returns System.Windows.Forms.FormWindowState
Top

PROTECTED LOGICAL StoreFormPosition

Purpose: Controls if this Form instance should store and restore the Form
position and size.
Notes: Allows alternative Form positions (like CenterParent etc.)

Returns LOGICAL
Top

PUBLIC LOGICAL UseStartupSizeAsMinSize

Purpose: When set to True the OnLoad method will apply the current form (startup
size) to the MinimumSize. This will be done before loading the stored
Form size from the user profile (e.g. Windows Registry)
Notes: Defaulted by static property UseStartupSizeAsMinSizeDefault in
Consultingwerk.Framework.FrameworkSettings. This property used to
be in the class itself, but was moved to the FrameworkSettings class
to avoid issues with the combination of static and hybrids on 11.2
and 11.3, OE defect OE00240707
http://knowledgebase.progress.com/articles/Article/000042229?popup=true

Returns LOGICAL
Top

PUBLIC CHARACTER WindowPositionRegistryKey

Purpose: Gets and sets the Registry Key used for storing this Forms
window position
Notes:

Returns CHARACTER


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