Namespace: Consultingwerk.Windows.Framework.Repository.Object
Class 
GridDesignerControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
Implements: Consultingwerk.Windows.Framework.Repository.Object.IContainerDesignerControl, IHasDesignerVerbs

File:GridDesignerControl
Purpose:Graphical Designer for Grid Controls
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed May 25 18:00:20 CEST 2016
/* Mike Fechner, Consultingwerk Ltd. 13.09.2017
Preprocessor variables for SmartComponentLibrary, WinKit and SmartFramework
based on Consultingwerk/packages.i now



Top Method Summary
Options Name Purpose
+ Activate () Invoked when the Designer is activated
# AssignPropertyValue (handle, Object) Assigns a value to the current property record
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
+ BindDesignerData (dataset, dataset) Binds to the Designer Temp-Tables
# ClickCellHandler (Object, ClickCellEventArgs) Event handler for the ClickCell Event of the smartDynamicBrowser1
# CreateDesignTimeDataSource () Creates the Design Time Data Source instance
# 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
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
# DeregisterServiceContainer () Deregisters the temporary service container
+ DestroyDesigner () Allows the Container Designer Control to destroy resources
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# HandleColumnHiddenStateChanged (UltraGridColumn) Handles adding and removing of columns
# HandleColumnMoved (UltraGridColumn) Handles moving of columns
# HandleColumnSized (UltraGridColumn) Handles sizing of columns
- InitializeComponent () Initializes the Visual Design
# InitializeGridRepository () Initializes the IDynamicBrowserRepository and makes is (temporarily available in an overloading ServiceContainer)
# InsertInstanceForMaster (character, integer) Inserts a new instance of the given object master on the design canvas
# INTEGER NextObjectSequence (character, character) Returns the next available ObjectSequence number for the given container
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
# OnLoad (EventArgs) Raises the Load event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# OnModifiedChanged (EventArgs) Raises the ModifiedChanged event
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
# OnSaveChangesRequested (EventArgs) Raises the SaveChangesRequested
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
+ 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
# PropertyValueChangedHandler (Object, PropertyValueChangedEventArgs) Event handler for the PropertyValueChanged event of the Property Grid Control
+ RefreshDesigner () Refreshes the Designer
Overrides Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl:RefreshDesigner ()
+ Save () Saves the current layout
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
# SelectColumn (UltraGridColumn) Selects a column
- smartDynamicBrowser1_AfterColPosChanged (Object, AfterColPosChangedEventArgs) Event handler for the AfterColPosChanged event of the smartDynamicBrowser1
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER UniqueInstanceName (character) Returns a unique object instance name based on the provided object name
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl

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

Top Event Summary
Options Name Purpose
+ ModifiedChanged (Object, EventArgs) Raised when the designer's Modified property changes
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
+ SaveChangesRequested (Object, EventArgs) Raised when SaveChanges is requested
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl

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
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
+ LOGICAL Modified
Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ Consultingwerk.Windows.Framework.Repository.Object.SmartPropertyGridControl PropertyGrid
+ Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager


Method Detail
Top

PUBLIC Activate ()

Purpose: Invoked when the Designer is activated
Notes: Typically invoked when the designer tab is shown again

Top

PROTECTED AssignPropertyValue (handle, Object)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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

PUBLIC BindDesignerData (dataset, dataset)

Purpose: Binds to the Designer Temp-Tables
Notes:

Parameters:
dsObjectMaster DATASET dsObjectMaster
DATASET BIND from Consultingwerk/SmartFramework/Repository/Object/dsObjectMaster.i
dsDesignAttributeValue DATASET dsDesignAttributeValue
DATASET BIND from Consultingwerk/SmartFramework/Repository/Class/dsDesignAttributeValue.i
Top

PROTECTED ClickCellHandler (Object, ClickCellEventArgs)

Purpose: Event handler for the ClickCell Event of the smartDynamicBrowser1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinGrid.ClickCellEventArgs
The CellEventArgs with the data for this event
Top

PROTECTED CreateDesignTimeDataSource ()

Purpose: Creates the Design Time Data Source instance
Notes:

Top

PROTECTED CreateVerbs ()

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

Top

PUBLIC LOGICAL Deactivating ()

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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

PROTECTED DeregisterServiceContainer ()

Purpose: Deregisters the temporary service container
Notes:

Top

PUBLIC DestroyDesigner ()

Purpose: Allows the Container Designer Control to destroy resources
Notes: Typically used to clean up Ribbon Tabs etc.

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 HandleColumnHiddenStateChanged (UltraGridColumn)

Purpose: Handles adding and removing of columns
Notes:

Parameters:
poColumn Infragistics.Win.UltraWinGrid.UltraGridColumn
The column that has the HiddenState changed
Top

PROTECTED HandleColumnMoved (UltraGridColumn)

Purpose: Handles moving of columns
Notes:

Parameters:
poColumn Infragistics.Win.UltraWinGrid.UltraGridColumn
The column that has the HiddenState changed
Top

PROTECTED HandleColumnSized (UltraGridColumn)

Purpose: Handles sizing of columns
Notes:

Parameters:
poColumn Infragistics.Win.UltraWinGrid.UltraGridColumn
The column that has the HiddenState changed
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeGridRepository ()

Purpose: Initializes the IDynamicBrowserRepository and makes is (temporarily
available in an overloading ServiceContainer)
Notes: The IDynamicBrowserRepository is required during the SmartDynamicBrowser
constructor

Top

PROTECTED InsertInstanceForMaster (character, integer)

Purpose: Inserts a new instance of the given object master on the design canvas
Notes:

Parameters:
pcObjectMasterGuid CHARACTER
The GUID of the Object Master to create an instance of
piPosition INTEGER
The position for the new column
Top

PROTECTED INTEGER NextObjectSequence (character, character)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
Purpose: Raises the ModifiedChanged event
Notes:

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

PROTECTED OnSaveChangesRequested (EventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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

PROTECTED PropertyValueChangedHandler (Object, PropertyValueChangedEventArgs)

Purpose: Event handler for the PropertyValueChanged event of the
Property Grid Control
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.Windows.Framework.Repository.Object.PropertyValueChangedEventArgs
The PropertyValueChangedEventArgs with the data for this event
Top

PUBLIC RefreshDesigner ()

Overrides Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl:RefreshDesigner ()
Purpose: Refreshes the Designer
Notes:

Top

PUBLIC Save ()

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
Purpose: Saves the current layout
Notes:

Top

PROTECTED SelectColumn (UltraGridColumn)

Purpose: Selects a column
Notes:

Parameters:
poColumn Infragistics.Win.UltraWinGrid.UltraGridColumn
The UltraGridColumn
Top

PRIVATE smartDynamicBrowser1_AfterColPosChanged (Object, AfterColPosChangedEventArgs)

Purpose: Event handler for the AfterColPosChanged event of the smartDynamicBrowser1
Notes:

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

PUBLIC SubscribeParentFormDestroyed ()

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

Top

PROTECTED CHARACTER UniqueInstanceName (character)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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


Constructor Detail
Top

PUBLIC GridDesignerControl ()

Purpose: Constructor for the GridDesignerControl class
Notes:



Event Detail
Top

PUBLIC ModifiedChanged (Object, EventArgs)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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)

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl
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

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl

Returns CHARACTER
Top

PUBLIC LOGICAL Modified

Inherited from Consultingwerk.Windows.Framework.Repository.Object.ContainerDesignerControl

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

PUBLIC Consultingwerk.Windows.Framework.Repository.Object.SmartPropertyGridControl PropertyGrid


Returns Consultingwerk.Windows.Framework.Repository.Object.SmartPropertyGridControl
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.08.2019 00:04:25