Difference between revisions of "Midware TAppSrvClient.OnSessionConnected"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TAppSrvClient -> [[Midware_TAppSrvClient.OnSessionConnect…')
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
'''property''' OnSessionConnected: '''TsessionConnected''';
+
<syntaxhighlight lang="delphi">
 +
type
 +
TSessionConnected = procedure (Sender: TObject; Error: word) of object;
 +
 
 +
property OnSessionConnected : TSessionConnected;
 +
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
Line 10: Line 15:
  
 
The event OnSessionConnected is triggered when the connection has been established with the application server. The event handler is the right place to update some status bar to let the user know he is connected with the server.
 
The event OnSessionConnected is triggered when the connection has been established with the application server. The event handler is the right place to update some status bar to let the user know he is connected with the server.
 
TSessionConnected = procedure (Sender: TObject; Error: word) of object;
 

Latest revision as of 12:14, 14 May 2011

Main page -> Midware component reference -> TAppSrvClient -> OnSessionConnected

Definition

<syntaxhighlight lang="delphi"> type TSessionConnected = procedure (Sender: TObject; Error: word) of object;

property OnSessionConnected : TSessionConnected; </syntaxhighlight>

Description

Occurs when connection is established with application server.

The event OnSessionConnected is triggered when the connection has been established with the application server. The event handler is the right place to update some status bar to let the user know he is connected with the server.