RPC HELP TCCOWRPCBroker IsUserCleared Example

From VistApedia
Revision as of 18:11, 8 July 2015 by Kdtop (talk | contribs) (Created page with " RPC Broker Help Home <h2>IsUserCleared Example</h2> In the event handler for the Commit event of the ContextorControl, developers can check whether or not...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

RPC Broker Help Home

IsUserCleared 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;