RPC HELP TCCOWRPCBroker IsUserCleared Example: Difference between revisions
From VistApedia
Jump to navigationJump to search
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..." |
(No difference)
|
Latest revision as of 18:11, 8 July 2015
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;