Namespace: Consultingwerk.Windows.Framework.Repository.Object
Class 
ContainerDesignerControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartUserControl
Implements: IHasDesignerVerbs
Inherited by: Consultingwerk.Windows.Framework.Repository.Object.GridDesignerControl Consultingwerk.Windows.Framework.Repository.Object.ViewerDesignerControl

File:ContainerDesignerControl
Purpose:Base class for IContainerDesignerControl implementations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Sep 30 09:48:22 CEST 2018
Notes:Does not implement the IContainerDesignerControl interface
itself



Top Method Summary
Options Name Purpose
# AssignPropertyValue (handle, Object) Assigns a value to the current property record
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL Deactivating () Invoked when the Designer is about to be deactivated
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# INTEGER NextObjectSequence (character, character) Returns the next available ObjectSequence number for the given container
# OnLoad (EventArgs) Raises the Load event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# OnModifiedChanged (EventArgs) Raises the ModifiedChanged event
# OnSaveChangesRequested (EventArgs) Raises the SaveChangesRequested
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ RefreshDesigner () Refreshes the Designer
+ Save () Saves the current layout
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# SubscribeUserControlEvents () Allows for custom event subscriptions during OnLoad()
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER UniqueInstanceName (character) Returns a unique object instance name based on the provided object name

Top Event Summary
Options Name Purpose
+ ModifiedChanged (Object, EventArgs) Raised when the designer's Modified property changes
+ SaveChangesRequested (Object, EventArgs) Raised when SaveChanges is requested

Top Property Summary
Options Name Purpose
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ CHARACTER MessageBoxTitle
+ LOGICAL Modified
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL UserControlEventsSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl


Method Detail
Top

PROTECTED AssignPropertyValue (handle, Object)

Purpose: Assigns a value to the current property record
Notes:

Parameters:
phBuffer HANDLE
Then handle of the buffer to assign the property in
poValue System.Object
The new property value
Top

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

PUBLIC LOGICAL Deactivating ()

Purpose: Invoked when the Designer is about to be deactivated
Notes: Typically invoked when the designer tab hidden; allows cancelling
of the deactivation

Returns LOGICAL
Logical value indicating if the deactivation should not be cancelled (FALSE = cancelled)
Top

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

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
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

PROTECTED INTEGER NextObjectSequence (character, character)

Purpose: Returns the next available ObjectSequence number for the
given container
Notes:

Parameters:
pcContainerObjectMasterGuid CHARACTER
The GUID of the object master
pcParentInstanceGuid CHARACTER
The GUID of the parent control
Returns INTEGER
INTEGER
Top

PROTECTED OnLoad (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Raises the Load event
Notes: Subscribes the FormDestroyed event from the ParentForm

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

PROTECTED OnModifiedChanged (EventArgs)

Purpose: Raises the ModifiedChanged event
Notes:

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

PROTECTED OnSaveChangesRequested (EventArgs)

Purpose: Raises the SaveChangesRequested
Notes:

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

PUBLIC OnVerbClicked (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcDesignerVerb CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

PROTECTED ParentFormDestroyedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event handler for the FormDestroyed event of the owning Form
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 RefreshDesigner ()

Purpose: Refreshes the Designer
Notes:

Top

PUBLIC Save ()

Purpose: Saves the current layout
Notes:

Top

PUBLIC SubscribeParentFormDestroyed ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Subscribes the ParentFormDestroyed event
Notes:

Top

PROTECTED SubscribeUserControlEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Allows for custom event subscriptions during OnLoad()
Notes: Intended to be overridden in the inheriting user control

Top

PROTECTED CHARACTER UniqueInstanceName (character)

Purpose: Returns a unique object instance name based on the
provided object name
Notes:

Parameters:
pcObjectMasterName CHARACTER
The name of the object master
Returns CHARACTER
The unqiue instance name


Event Detail
Top

PUBLIC ModifiedChanged (Object, EventArgs)

Purpose: Raised when the designer's Modified property changes
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the ModifiedChanged event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event
Top

PUBLIC SaveChangesRequested (Object, EventArgs)

Purpose: Raised when SaveChanges is requested
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the SaveChangesRequested event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event


Property Detail
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC CHARACTER MessageBoxTitle


Returns CHARACTER
Top

PUBLIC LOGICAL Modified


Returns LOGICAL
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PROTECTED LOGICAL UserControlEventsSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL


Temp-Table Detail


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:28:31