RAD Studio VCL Reference
TAnimate.ResHandle Property

Specifies the Windows handle for the module that contains the AVI clip as a resource.

property ResHandle: THandle;
__property THandle ResHandle;

Set ResHandle at runtime to the instance handle or module handle of the module that includes the animation resource. After setting ResHandle, set the ResId or ResName property to specify which resource in the indicated module is the AVI animation that should be displayed by the animation control. 

If a value is not specified for ResHandle, the animate control uses the instance of the application's main executable.

Note: Setting ResHandle automatically sets the CommonAVI property to aviNone and the FileName property to an empty string.


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!