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