Vcl.Controls.TImageList Methods

From RAD Studio API Documentation
Jump to: navigation, search

_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
AddpublicAdds an Image and its Mask to the image list object.
AddIconpublicAdds an icon to the image list object.
AddImagepublicAdds single image from another image list.
AddImagespublicAdds all images from another image list.
AddLinkprotectedAdds the provided Link to the Links array of links.
AddMaskedpublicAdds an image to the image list along with a color which is used to generate the transparent mask.
AfterConstructionpublicResponds after the last constructor has executed.
AssignpublicCopies the information from one image list to another.
AssignToprotectedCopies the image list's properties to another image list.
AsyncScheduleprotectedSchedules asynch method calls.
BeginDragpublicStarts the dragging of an image list.
BeginInvokepublicPerforms an asynchronous call to the method specified by either AProc or AFunc.
BeginUpdatepublicWhen BeginUpdate is called for the first time, it sets the csUpdating state to the current list object to prevent multiple calls to DoChange.
ChangepublicCall Change after any changes in the image list.
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ClearpublicClears all images from the image list.
CreatepublicCreates a new TImageList object.
CreateSizepublicCreates an empty image list of a specified size.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedAllows bitmap data to be saved and loaded.
DeletepublicDeletes a particular image from the image list.
DeleteLinkprotectedRemoves the provided Link from the Links array of links.
DestroypublicFrees the memory associated with the TImageList object.
DestroyComponentspublicDestroys all owned components.
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoDrawprotectedDraws the specified image onto the provided Canvas in the indicated style.
DragLockpublicAssociates the drag image with the given Window handle and draws it at the position given by the parameters XPos and YPos while the window is in drag mode.
DragMovepublicMoves the drag image set by SetDragImage to a new position specified by X and Y within its currently associated window while the window is in drag mode.
DragUnlockpublicRemoves the association between the drag image and a window.
DrawpublicDraws the image specified by the Index parameter onto the provided Canvas.
DrawOverlaypublicDraws an image and an overlay onto the provided Canvas.
EndDragpublicEnds the drag operation.
EndFunctionInvokepublicBlocks the caller until the specified ASyncResult completes.
EndInvokepublicBlocks the caller until the specified ASyncResult completes.
EndUpdatepublicEndUpdate decrements the counter of started and not accomplished updates. When EndUpdate sets the counter to zero, it clears csUpdating and calls Change.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecuteActionpublicExecutes an action.
FieldAddresspublicReturns the address of a published object field.
FileLoadpublicLoads a resourced image into the image list.
FindComponentpublicIndicates whether a given component is owned by the component.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
GetBitmappublicRetrieves a specified image as a bitmap.
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenprotectedEnumerates all child components.
GetCountprotectedIndicates the number of images in the image list.
GetDisposedprotectedGetter for the Disposed property.
GetEnumeratorpublicReturns a TComponent enumerator.
GetHashCodepublicReturns an integer containing the hash code.
GetHotSpotpublicReturns the hot spot location associated with the current drag image.
GetIconpublicReturns the image specified by Index as an icon into the Image parameter.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
GetImageBitmappublicReturns a handle to a bitmap containing all of the images in the image list.
GetImagesprotectedReturns a specified image and its mask as bitmaps.
GetInstRespublicLoads a specified bitmap, cursor, or icon resource into the image list.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetMaskBitmappublicReturns a handle to a bitmap containing all masks for images in the image list.
GetNamePathpublicReturns a string used by the Object Inspector.
GetObserversprotectedGetter of Observers.
GetOwnerprotectedReturns the owner of a component.
GetParentComponentpublicReturns the containing component.
GetResourcepublicLoads the specified bitmap, cursor, or icon resource into the image list.
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
HandleAllocatedpublicIndicates whether a window handle exists for the image list.
HandleNeededprotectedCreates an image list handle for the image list if one doesn't already exist.
HasParentpublicVerifies whether the component has a parent.
HideDragImagepublicHides the current drag image if it was previously shown.
InheritsFrompublicDetermines the relationship of two object types.
InitializeprotectedSets numerous image list properties to their default values and creates instances of objects used internal to the image list.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InsertpublicInserts a bitmap and its mask into the image list following a specified image.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InsertIconpublicInserts an icon at a specified position in the image list.
InsertMaskedpublicInserts a bitmap at a specified position, creating the mask from a specified transparent color.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
LoadedprotectedExecutes the inherited TComponent.Loaded, then, if the image list is changed, it calls Change.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MovepublicMoves a specified image to another position.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
NotificationprotectedForwards notification messages to all owned components.
operator ()publicC++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting.
OverlaypublicIdentifies an image in the list as an image that can be used as an overlay mask.
PaletteCreatedprotectedResponds when the component is created from the component palette.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadDataprotectedReadData reads an image list from a stream.
ReadStateprotectedReads the state of the component.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RegisterChangespublicRegisters an object to be notified when changes occur in the image list.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
ReplacepublicReplaces an image in the image list with a new image and mask.
ReplaceIconpublicReplaces an image in the image list with an icon.
ReplaceMaskedpublicReplaces an image in the image list with a new image and automatically-generated mask.
ResInstLoadpublicLoads a resource into the image list.
ResourceLoadpublicLoads a resource into the image list.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetChildOrderprotectedSets the visual ordering of a child control.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDragImagepublicSets an image within the image list to be shown during a drag-and-drop operation.
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetNameprotectedSets the value of the Name property.
SetParentComponentprotectedSets the parent component.
SetSizepublicSets the size of the images within the TCustomImageList list.
SetSubComponentpublicIdentifies whether the component is a subcomponent.
ShowDragImagepublicShows the current drag image if it was previously hidden.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnRegisterChangespublicRemoves an object from the list of objects to be notified when the image list changes.
UpdateActionpublicUpdates the state of an action.
UpdatedprotectedExecutes the inherited TComponent.Updated, then, if the image list is changed, it calls Change.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
WriteDataprotectedWriteData writes an image list to a stream.
WriteStateprotectedWrites the state of the component.