RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleServer.AutoConnect Property

Specifies whether the component automatically connects to the server.

Pascal
property AutoConnect: Boolean;
C++
__property Boolean AutoConnect;

Set AutoConnect to True true to specify whether the server should be loaded automatically when the application first starts up. If AutoConnect is False false, the application establishes a connection when it calls one of the AutoConnect descendant's methods, sets a property, or calls the Connect method.

Note: AutoConnect only establishes a connection when the application is first run. Changing the AutoConnect property at runtime has no effect.
 

Connect 

Using Component Wrappers

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!