Vcl.ShareContract.TCustomSharingContract.InitSharing

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InitSharing;

C++

void __fastcall InitSharing();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ShareContract.pas
Vcl.ShareContract.hpp
Vcl.ShareContract TCustomSharingContract

Description

Initializes sharing.

If the sharing component is nil, this method creates it and sets all the default properties and registers the event handlers for the OnAppChosen and OnTransferImage events.

Exceptions

A call to InitSharing may raise the following exception:

Exception Exception.Message Scenarios

EShareContractException

ShareContract not available

See Also