TsgcWSPClient_E2EEEvents › OnE2EEGroupDeleted

OnE2EEGroupDeleted Event

Fired when an encrypted group is deleted.

Syntax

property OnE2EEGroupDeleted: TsgcWSE2EEOnGroupDeleted;
// TsgcWSE2EEOnGroupDeleted = procedure(Sender: TObject; const aGroup: string) of object

Default Value

Remarks

Notifies that the group identified by aGroup has been removed from the server. All members receive this event and must treat any pending group operations as cancelled. Update the UI to remove the group entry.

Example

procedure TForm1.oE2EEE2EEGroupDeleted(Sender: TObject; const aGroup: string);
var
  vIdx: Integer;
begin
  vIdx := lbxGroups.Items.IndexOf(aGroup);
  if vIdx >= 0 then
    lbxGroups.Items.Delete(vIdx);
end;

Back to Events