Difference between revisions of "RPC HELP TCCOWRPCBroker WasUserDefined Example"

From VistApedia
Jump to: navigation, search
(Created page with " RPC Broker Help Home <h2>WasUserDefined Example</h2> In the event handler for the Commit event of the ContextorControl, developers can check whether or no...")
 
(No difference)

Latest revision as of 18:14, 8 July 2015

RPC Broker Help Home

WasUserDefined Example

In the event handler for the Commit event of the ContextorControl, developers can check whether or not the user was previously defined, and is now undefined or null. In this case, developers would want to do any necessary processing, then halt.

   Procedure TForm1.CommitHandler(Sender: TObject)
   begin
     with CCOWRPCBroker1 do begin
       if WasUserDefined and IsUserCleared then begin
         // do any necessary processing before halting
         halt;
       end;
     end;
   end;