Namespace: Consultingwerk.SmartComponents.Base
Class 
SmartMDIContainer Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartWindowForm
Implements: IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasPrimaryDataSourceAndTarget, IHasSecurityKey, Consultingwerk.Framework.IMDIContainer, ISmartToolbarTarget, ISmartWindowForm

File:SmartMDIContainer
Purpose:Base class for MdiContainer inheriting from the
SmartWindowForm class
Description:Provides management of the MdiContainer Title based on the
active MdiChild
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri May 08 09:45:12 CEST 2009



Top Method Summary
Options Name Purpose
ActivateWindowTitleEventHandler () Activate MdiChildActivate and TextChanged event handlers. This is required to circumvent issues (frozen app) that may occur while changing the MdiContainer title (Text property) in the middle of the process of embedding (before the embedded window has been fully realized as an MDI child).
DeactivateWindowTitleEventHandler () Deactivate MdiChildActivate and TextChanged event handlers. This is required to circumvent issues (frozen app) that may occur while changing the MdiContainer title (Text property) in the middle of the process of embedding (before the embedded window has been fully realized as an MDI child).
MdiChildActivateHandler () Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
MdiChildActivateHandler (Object, EventArgs) Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
MdiChildFormClosedHandler (Object, FormClosedEventArgs) Event handler for the FormClosed event of the MdiChild forms
MdiChildFormTextChangedHandler (Object, EventArgs) Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
TextChangedHandler (Object, EventArgs) Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.
UpdateTitleWithMdiChild () Refresh MdiContainer Text (title bar) with Text from the current active MdiChild Form.

Top Constructor Summary
Options Name Purpose
SmartMDIContainer () Constructor for the SmartMDIContainer class


Method Detail
Top

ActivateWindowTitleEventHandler ()

Purpose: Activate MdiChildActivate and TextChanged event handlers. This
is required to circumvent issues (frozen app) that may occur while
changing the MdiContainer title (Text property) in the middle of
the process of embedding (before the embedded window has been
fully realized as an MDI child).
Notes: Future releases of OpenEdge (bug fixes) may enable us to remove
this method. It's not intended for public use!

Top

DeactivateWindowTitleEventHandler ()

Purpose: Deactivate MdiChildActivate and TextChanged event handlers. This
is required to circumvent issues (frozen app) that may occur while
changing the MdiContainer title (Text property) in the middle of
the process of embedding (before the embedded window has been
fully realized as an MDI child).
Notes: Future releases of OpenEdge (bug fixes) may enable us to remove
this method. It's not intended for public use!

Top

MdiChildActivateHandler ()

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Invokes the private MdiChildActiveHandler event handler method
with unknown values for both parameters.

Top

MdiChildActivateHandler (Object, EventArgs)

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Event handler method for the MdiChildActivate event
with unknown values for both parameters.

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

MdiChildFormClosedHandler (Object, FormClosedEventArgs)

Purpose: Event handler for the FormClosed event of the MdiChild forms
Notes:

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

MdiChildFormTextChangedHandler (Object, EventArgs)

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Invoked when the Text property of the MDI Child is changed

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

TextChangedHandler (Object, EventArgs)

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes: Invoked when the Text property of the MDI Container is changed
programmatically.

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

UpdateTitleWithMdiChild ()

Purpose: Refresh MdiContainer Text (title bar) with Text from the current
active MdiChild Form.
Notes:



Constructor Detail
Top

SmartMDIContainer ()

Purpose: Constructor for the SmartMDIContainer class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:23:12