Namespace: Consultingwerk.WindowIntegrationKit
Interface 
IToolImageProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.WindowIntegrationKit.ToolImageProvider

File:IToolImageProvider
Purpose:Interface used for customer ImageProviders
Description:A ToolImageProvider is a service that can be used to
assign custom images (and images of different resolutions
to a ButtonTool if required, e.g. Ribbon buttons). It
can be used to assign a custom empty image to tools
where the ABL Widget (Button/Menu item) did not have
an image or to assign standard Images to buttons like
Ok/Cancel/Close ...
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Aug 24 11:49:54 CEST 2011
Purpose: Verifies if the Image should be reloaded during UltraToolbarsHelper:RefreshTools
Notes:



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


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


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:18:02