[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Ordinal position for the current image displayed for the icon.
Source position: graphics.pp line 1677
public property TCustomIcon.Current : Integer |
Current is an Integer property which contains the ordinal position for the selected image in the icon. Setting a new value for the property causes the UpdateCurrentView method to be called to update the Canvas, and the save stream for the shared image. The OnChange event handler is signalled (when assigned).
Set Current to -1 before calling SetSize (or changing values in Height and Width) to avoid raising an EInvalidGraphicOperation exception.
Version 3.2 | Generated 2024-02-25 | Home |