Vcl.ImgList.TLoadResources
Delphi
type TLoadResources = set of TLoadResource;
C++
typedef System::Set<TLoadResource, TLoadResource::lrDefaultColor, TLoadResource::lrMonoChrome> TLoadResources;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | Vcl.ImgList.pas Vcl.ImgList.hpp |
Vcl.ImgList | Vcl.ImgList |
Description
TLoadResource and TLoadResources determine how a resource is loaded into an image list.
TLoadResources is a set of flags (TLoadResource values) that govern the way an image list loads image resources. The following table lists the possible TLoadResource values.
Value | Meaning |
---|---|
lrDefaultColor |
Use the color format of the display. |
lrDefaultSize |
Use system metrics for Height and Width if the Width parameter to GetResource is 0. If the Width parameter is 0 and this option is not specified for cursors and icons, the resources width and height will be used. |
lrFromFile |
Loads the resource from a specified file. |
lrMap3DColors |
Replaces the images' gray shades with the 3D windows colors. |
lrTransparent |
Replaces the color table entry for the first pixel of the resource with the default window color (COLOR_WINDOW). This applies only to images with color tables. |
lrMonoChrome |
Loads the resource as black and white. |