TSCARClient.Clone
From SCAR Divi Manual
Definition
Member of TSCARClient.
function TSCARClient.Clone: TSCARClient;
Availability
SCAR Divi 3.35 > Current
Description
Creates a new TSCARClient object which is a copy of the first, the actual effect may depend on the implementation of the client. The method will return nil when it did not succeed, or the client can't be cloned.
Implementations
- TSCARWindowClient: No additional effects.
- TSCARBitmapClient: Both objects will target the same bitmap object. The bitmap object is NOT cloned.
- TSCARLibraryClient: The implementation depends on the library, refer to the library's documentation.
Example
begin SetClient(GetClient.Clone).Free; end.