TcxCustomImageList.LoadFromResource(THandle,string,PChar) Method
In This Article
Loads images and supplemental information from a resource.
#Declaration
Delphi
#Parameters
Name | Type | Description |
---|---|---|
AInstance | THandle | The instance handle associated with the executable or shared library that contains the resource with image list content. |
AResource |
string | The resource name in the RC file. |
AResource |
PChar | The resource type (RT_BITMAP, RT_ICON, RT_GROUP_ICON, etc., for images). |
#Remarks
Call this procedure to clear the image list and repopulate it with images from a resource. The LoadFromResource procedure also updates the BlendColor, BkColor, ColorDepth, Width, and Height properties with the corresponding values.
See Also