Difference between revisions of "Midware TRequestBroker.OnObjCreate"

From Overbyte
Jump to navigation Jump to search
(Created page with ' Main page -> Midware component reference -> TRequestBroker -> [[Midware_TRequestBroker.OnObjectCreat…')
 
 
Line 2: Line 2:
  
 
== Definition ==
 
== Definition ==
 +
<syntaxhighlight lang="delphi">
 +
type
 +
  TInstanciationEvent = procedure (Sender : TObject; ServerObject : TServerObject) of object;
 +
</syntaxhighlight>
 +
  
 
  '''property''' OnObjectCreate: '''TInstanciationEvent''';
 
  '''property''' OnObjectCreate: '''TInstanciationEvent''';

Latest revision as of 12:50, 24 May 2011

Main page -> Midware component reference -> TRequestBroker -> OnObjectCreate

Definition

<syntaxhighlight lang="delphi"> type

  TInstanciationEvent = procedure (Sender : TObject; ServerObject : TServerObject) of object;

</syntaxhighlight>


property OnObjectCreate: TInstanciationEvent;

Description

OnObjCreate can be used to update the user interface or to log server activity into a log file.

Occurs when an object has been instanciated.