Class TrImageListEx
Unit
rImprovedComps
Declaration
type TrImageListEx = class(TImageList)
Description
enhanced TImageList component which provides storing of images in external compressed resource file in design and runtime and can block storing images in DFM file for descendant modules, so list can be used in ihnerited forms
Hierarchy
Overview
Methods
Properties
 |
property StoreToDFM: Boolean read FStoreToDFM write FStoreToDFM default true; |
 |
property StoreToExternalFile: Boolean read FStoreToExternalFile write FStoreToExternalFile default false; |
 |
property ExternalFileName: string read FExternalFileName write FExternalFileName; |
 |
property ExternalFileDesignTimeDir: string read FExternalFileDesignTimeDir write FExternalFileDesignTimeDir stored IsStoredDesignTimeDir; |
 |
property MinScaleToResize: double read FMinScaleToResize write FMinScaleToResize stored IsMinScaleToResizeStored; |
Description
Methods
 |
procedure StoreAsOriginalImages; |
stores current images to internal image list wich is used as source of images during resizing, is called automatically durong loading
|
 |
procedure ResizeImages(ScaleRatio: double); |
change Width and Height of image list and resize images
|
Properties
 |
property StoreToDFM: Boolean read FStoreToDFM write FStoreToDFM default true; |
define whether images are stored in DFM
|
 |
property StoreToExternalFile: Boolean read FStoreToExternalFile write FStoreToExternalFile default false; |
define whether images are stored in external file
|
 |
property ExternalFileName: string read FExternalFileName write FExternalFileName; |
define file name of external file if StoreToExternalFile=true
|
 |
property ExternalFileDesignTimeDir: string read FExternalFileDesignTimeDir write FExternalFileDesignTimeDir stored IsStoredDesignTimeDir; |
define directory of external file for design time if StoreToExternalFile=true
|
 |
property MinScaleToResize: double read FMinScaleToResize write FMinScaleToResize stored IsMinScaleToResizeStored; |
define minimal scale ration when images are streched, in ther case images are only centered
|
Generated by PasDoc 0.15.0.
|