Namespace: Consultingwerk.Design.WinKit.Toolbar
Class 
ToolbarDesignerForm Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.Form

File:ToolbarDesignerForm
Purpose:Provides a user interface to customize an Infragistics
Toolbar or Ribbon
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jul 08 21:20:50 CEST 2010
/* 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
# CHARACTER BuildToolbarFileName () Builds the name for the toolbar XML file
# CloseForm () Closes the Form
- InitializeComponent () Initializes the Visual Design
# InitializeDesignEnvironment () Initializes the Design Environment
+ InitializeToolbarDesign () Begins designing the Toolbar
# InvokeCustomize () Invokes the Infragistics "Customize" Dialog by invoking the Designer verb
# InvokeCustomProperties () Invokes the Infragistics "Custom Properties" Dialog by invoking the Designer verb
# LoadLayout () Prompts for a file name and loads a Toolbar Dialog
# LoadToolbarDesign () Loads a Toolbar from the EmbeddedWindowForm
# NewRibbonGroup () Creates a new RibbonGroup
# OnAfterSaveLayout (EventArgs) Raises the AfterSaveLayout event
# OnBeforeSaveLayout (CancelEventArgs) Raises the AfterSaveLayout event
# OnLoad (EventArgs) Raises the Load event
# SaveLayout () Prompts for a file name and saves the Layout
# SelectionChangedHandler (Object, EventArgs) Event handler for the SelectionChanged event
+ ShowDesigner (UltraToolbarsManager, handle) Launches the ToolbarDesignerForm
# ToggleRibbon () Toggles the visibility of the Ribbon
- ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs) Event handler for the ToolClick event of the ultraToolbarsManager1

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

Top Event Summary
Options Name Purpose
+ AfterSaveLayout DELEGATE System.EventHandler Event raised when the user presses Save
+ BeforeSaveLayout DELEGATE System.ComponentModel.CancelEventHandler Cancelable event that raised when the user presses Save

Top Property Summary
Options Name Purpose
+ Infragistics.Win.UltraWinToolbars.UltraToolbarsManager DesignToolbar
+ Infragistics.Win.UltraWinToolbars.UltraToolbarsManager LoadFromToolbar
+ HANDLE ProcedureHandle


Method Detail
Top

PROTECTED CHARACTER BuildToolbarFileName ()

Purpose: Builds the name for the toolbar XML file
Notes:

Returns CHARACTER
The proposed file name for the toolbar definition
Top

PROTECTED CloseForm ()

Purpose: Closes the Form
Notes:

Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeDesignEnvironment ()

Purpose: Initializes the Design Environment
Notes:

Top

PUBLIC InitializeToolbarDesign ()

Purpose: Begins designing the Toolbar
Notes:

Top

PROTECTED InvokeCustomize ()

Purpose: Invokes the Infragistics "Customize" Dialog by invoking the
Designer verb
Notes:

Top

PROTECTED InvokeCustomProperties ()

Purpose: Invokes the Infragistics "Custom Properties" Dialog by invoking the
Designer verb
Notes:

Top

PROTECTED LoadLayout ()

Purpose: Prompts for a file name and loads a Toolbar Dialog
Notes:

Top

PROTECTED LoadToolbarDesign ()

Purpose: Loads a Toolbar from the EmbeddedWindowForm
Notes:

Top

PROTECTED NewRibbonGroup ()

Purpose: Creates a new RibbonGroup
Notes:

Top

PROTECTED OnAfterSaveLayout (EventArgs)

Purpose: Raises the AfterSaveLayout event
Notes:

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

PROTECTED OnBeforeSaveLayout (CancelEventArgs)

Purpose: Raises the AfterSaveLayout event
Notes:

Parameters:
e System.ComponentModel.CancelEventArgs
The CAncelEventArgs with the data for this event
Top

PROTECTED OnLoad (EventArgs)

Purpose: Raises the Load event
Notes:

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

PROTECTED SaveLayout ()

Purpose: Prompts for a file name and saves the Layout
Notes:

Top

PROTECTED SelectionChangedHandler (Object, EventArgs)

Purpose: Event handler for the SelectionChanged event
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 ShowDesigner (UltraToolbarsManager, handle)

Purpose: Launches the ToolbarDesignerForm
Notes:

Parameters:
poToolbarsManager Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The source UltraToolbarsManager instance (from the IEmbeddedWindowForm)
phProcedure HANDLE
The handle of the ABL source procedure
Top

PROTECTED ToggleRibbon ()

Purpose: Toggles the visibility of the Ribbon
Notes:

Top

PRIVATE ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the ultraToolbarsManager1
Notes:

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


Constructor Detail
Top

PUBLIC ToolbarDesignerForm ()

Purpose: Constructor for the ToolbarDesignerForm class
Notes:



Event Detail
Top

PUBLIC AfterSaveLayout DELEGATE System.EventHandler

Purpose: Event raised when the user presses Save
Notes:

Delegate: System.EventHandler
Top

PUBLIC BeforeSaveLayout DELEGATE System.ComponentModel.CancelEventHandler

Purpose: Cancelable event that raised when the user presses Save
Notes:

Delegate: System.ComponentModel.CancelEventHandler


Property Detail
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager DesignToolbar


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager LoadFromToolbar


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

PUBLIC HANDLE ProcedureHandle


Returns HANDLE


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:26:06