RPC HELP TCCOWRPCBroker WasUserDefined Example

From VistApedia
Revision as of 18:14, 8 July 2015 by Kdtop (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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;