Namespace: Consultingwerk.Windows.Framework.Repository.Class.Support
Class 
ToolbarButtonsDialog Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: Consultingwerk.Forms.IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasSecurityKey

/*&GLOBAL-DEFINE NoUserLobStatistics NoUserLobStatistics



Top Method Summary
Options Name Purpose
cbDefinitions_ValueChanged (Object, EventArgs) Event handler for the ValueChanged event of the cbDefinitions
EditSubmenuEntry (UltraListViewItem) Lets the user select the tools of a submenu entry
Progress.Json.ObjectModel.JsonObject GetButtonDefinitions () Returns the merged button definitions of both frontends
CHARACTER GetEntryChildren (character) Returns the tools of a submenu entry
CHARACTER GetEntryToolId (character) Returns the tool id of an entry of the context menu
InitializeComponent () Initializes the Visual Design
LOGICAL IsSubmenu (character) Returns if a tool is a submenu
lvButtons_ItemDoubleClick (Object, ItemDoubleClickEventArgs) Event handler for the ItemDoubleClick event of the lvButtons
lvButtons_ItemSelectionChanged (Object, ItemSelectionChangedEventArgs) Event handle for the ItemSelectionChanged of the lvButtons
lvSelected_ItemDoubleClick (Object, ItemDoubleClickEventArgs) Event handler for the ItemDoubleClick event of the lvSelected
lvSelected_ItemSelectionChanged (Object, ItemSelectionChangedEventArgs) Event handle for the ItemSelectionChanged of the lvSelected
PopulateButtons () Populates the list of buttons
PopulateContextMenuEntries (character) Populates the list of the selected entries with the entries of a ContextMenu attribute value
CHARACTER ShowContextMenuDialog (CharacterList, character) Displays the Dialog for the value of a ContextMenu attribute
CHARACTER ShowDialog (CharacterList, character) Displays the Dialog and returns the list of selected buttons
ultraButton1_Click (Object, EventArgs) Event handler for the Click event of the ultraButton3
ultraButton3_Click (Object, EventArgs) Event handler for the Click event of the ultraButton3
ultraButton4_Click (Object, EventArgs) Event handler for the Click event of the ultraButton6
ultraButton5_Click (Object, EventArgs) Event handler for the Click event of the ultraButton5
ultraButton6_Click (Object, EventArgs) Event handler for the Click event of the ultraButton6
ultraButton7_Click (Object, EventArgs) Event handler for the Click event of the ultraButton7
ValidateContextMenu () Validates the selected context menu against the toolbar button definitions

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


Method Detail
Top

cbDefinitions_ValueChanged (Object, EventArgs)

Purpose: Event handler for the ValueChanged event of the cbDefinitions
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

EditSubmenuEntry (UltraListViewItem)

Purpose: Lets the user select the tools of a submenu entry
Notes: The tools are selected with a nested dialog in the toolbar button
mode, submenus are not nested

Parameters:
poItem Infragistics.Win.UltraWinListView.UltraListViewItem
The list view item of the submenu entry
Top

Progress.Json.ObjectModel.JsonObject GetButtonDefinitions ()

Purpose: Returns the merged button definitions of both frontends
Notes:

Returns Progress.Json.ObjectModel.JsonObject
The JsonObject with one property per tool id
Top

CHARACTER GetEntryChildren (character)

Purpose: Returns the tools of a submenu entry
Notes:

Parameters:
pcEntry CHARACTER
The entry of the context menu, e.g. PrintSubmenu (PrintTool,PreviewTool)
Returns CHARACTER
The comma-delimited list of the tools of the submenu
Top

CHARACTER GetEntryToolId (character)

Purpose: Returns the tool id of an entry of the context menu
Notes:

Parameters:
pcEntry CHARACTER
The entry of the context menu, e.g. PrintSubmenu (PrintTool,PreviewTool)
Returns CHARACTER
The tool id of the entry
Top

InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

LOGICAL IsSubmenu (character)

Purpose: Returns if a tool is a submenu
Notes:

Parameters:
pcToolId CHARACTER
The id of the tool
Returns LOGICAL
Logical value indicating if the tool is a submenu
Top

lvButtons_ItemDoubleClick (Object, ItemDoubleClickEventArgs)

Purpose: Event handler for the ItemDoubleClick event of the lvButtons
Notes:

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

lvButtons_ItemSelectionChanged (Object, ItemSelectionChangedEventArgs)

Purpose: Event handle for the ItemSelectionChanged of the lvButtons
Notes:

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

lvSelected_ItemDoubleClick (Object, ItemDoubleClickEventArgs)

Purpose: Event handler for the ItemDoubleClick event of the lvSelected
Notes:

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

lvSelected_ItemSelectionChanged (Object, ItemSelectionChangedEventArgs)

Purpose: Event handle for the ItemSelectionChanged of the lvSelected
Notes:

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

PopulateButtons ()

Purpose: Populates the list of buttons
Notes:

Top

PopulateContextMenuEntries (character)

Purpose: Populates the list of the selected entries with the entries of a
ContextMenu attribute value
Notes: A value that cannot be parsed is listed as it is, so that it can be
corrected - the validation reports the error when OK is pressed

Parameters:
pcContextMenu CHARACTER
The ContextMenu attribute value
Top

CHARACTER ShowContextMenuDialog (CharacterList, character)

Purpose: Displays the Dialog for the value of a ContextMenu attribute
Notes: SCL-6081: A submenu tool is listed with its tools in parentheses,
a double click on a submenu edits its tools. The value is
validated against the toolbar button definitions when OK is
pressed

Parameters:
poButtonDefinitions Consultingwerk.Framework.Collections.CharacterList
The CharacterList of files with Button definitions from the config
pcContextMenu CHARACTER
The current ContextMenu attribute value
Returns CHARACTER
The new ContextMenu attribute value or ? on Cancel
Top

CHARACTER ShowDialog (CharacterList, character)

Purpose: Displays the Dialog and returns the list of selected buttons
Notes:

Parameters:
poButtonDefinitions Consultingwerk.Framework.Collections.CharacterList
The CharacterList of files with Button definitions from the config
pcButtons CHARACTER
The currently selected toolbar buttons
Returns CHARACTER
The new list of selected toolbar buttons or ? on Cancel
Top

ultraButton1_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the ultraButton3
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

ultraButton3_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the ultraButton3
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

ultraButton4_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the ultraButton6
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

ultraButton5_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the ultraButton5
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

ultraButton6_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the ultraButton6
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

ultraButton7_Click (Object, EventArgs)

Purpose: Event handler for the Click event of the ultraButton7
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

ValidateContextMenu ()

Purpose: Validates the selected context menu against the toolbar button
definitions
Notes: Keeps the dialog open when the context menu is invalid



Constructor Detail
Top

ToolbarButtonsDialog ()

Purpose: Constructor for the ToolbarButtonsDialog class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2026 08:18:46