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…')
 
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 ==

Revision as of 12:08, 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.

TSessionConnected = procedure (Sender: TObject; Error: word) of object;