2.222 .mode
This attribute controls whether the control of control object can be used as OLE Server.
Definition
-
Data type
enum
-
Access
get, set
-
changed event
yes
- mode_client
-
The control object is treated as an OLE Client, i.e. an OLE Server is accessed via this object.
- mode_server
-
The control object acts as an OLE Server and can be accessed by other clients.
- mode_none
-
Type of use is undefined, i.e. the control is used neither as client nor as server. This value can be set, for example, if you have actually implemented an OLE Server that for some reason is currently not able to act as a server, e.g. because the program was started as a normal program.
Value range