Namespace: Consultingwerk.WindowIntegrationKit
Class 
ToolImageProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.WindowIntegrationKit.IToolImageProvider

File:ToolImageProvider
Purpose:Sample implementation for the IToolImageProvider Interface
This is to be replaced in a project with a customized
version (if required)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Aug 24 12:08:24 CEST 2011



Top Method Summary
Options Name Purpose
+ LOGICAL CheckReloadImage (handle, ToolBase) Verifies if the Image should be reloaded during UltraToolbarsHelper:RefreshTools
+ LOGICAL LoadImage (handle, ToolBase) Customized routine to load an image to a Tool

Top Constructor Summary
Options Name Purpose
+ ToolImageProvider () Constructor of the ToolImageProvider class


Method Detail
Top

PUBLIC LOGICAL CheckReloadImage (handle, ToolBase)

Purpose: Verifies if the Image should be reloaded during UltraToolbarsHelper:RefreshTools
Notes:

Parameters:
phWidget HANDLE
The handle of the menu-item or button widget
poButtonTool Infragistics.Win.UltraWinToolbars.ToolBase
The reference to the Infragistics ButtonTool that relaces the widget
Returns LOGICAL
True when an Image needs to be reloaded, oterwise False
Top

PUBLIC LOGICAL LoadImage (handle, ToolBase)

Purpose: Customized routine to load an image to a Tool
Notes: Can be customized using an IToolImageProvider Implementation
The LOGICAL RETURN value indicates if an image has been loaded and
influences the Tool PreferredSizeOnRibbon

Parameters:
phWidget HANDLE
The handle of the menu-item or button widget
poButtonTool Infragistics.Win.UltraWinToolbars.ToolBase
The reference to the Infragistics ButtonTool that relaces the widget
Returns LOGICAL
True when an Image was loaded, otherwise False


Constructor Detail
Top

PUBLIC ToolImageProvider ()

Purpose: Constructor of the ToolImageProvider class
Notes: Initializes Dictionary used for caching images



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