[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Removes an icon image with the specified attributes.
Source position: graphics.pp line 1662
public procedure TCustomIcon.Remove( |
AFormat: TPixelFormat; |
AHeight: Word; |
AWidth: Word |
); |
AFormat |
|
Pixel format (color depth) for the icon image. |
AHeight |
|
Height for the icon image. |
AWidth |
|
Width for the icon image. |
Remove is used to locate and delete an icon image with the attributes specified in AFormat, AHeight, and AWidth.
Remove calls GetIndex to get the position in the internal image list where the icon image with the specified attributes is stored. If an image is found, the Delete method is called to the remove the icon image.
The value in Current is modified when it represents an icon image affected by the removal. Current is set to -1 when it contains the index for the icon image removed in the method.
|
GetIndex - returns the Index value of the Icon with specified format and size (.icn files can contain several versions of image). |
|
|
Deletes the image at the specified position in the list of images for the icon. |
|
|
Ordinal position for the current image displayed for the icon. |
|
|
Number of images in the image list for the shared icon. |
Version 3.2 | Generated 2024-02-25 | Home |