TSCARClient.Clone
From SCAR Divi Manual
Revision as of 18:15, 22 July 2012 by Freddy (talk | contribs) (Created page with "==Definition== Member of TSCARClient. <source lang="scar" lines="false"> function TSCARClient.Clone: TSCARClient; </source> ==Availability== SCAR Divi 3.35 > Current ==Desc...")
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 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.