Class

TContextorControl

Module

VERGENCECONTEXTORLib_TLB

Last Modified

7/15/2014 3:26:44 PM

Scope

Interfaced

Inherits from

TOleControl

Declaration


TContextorControl = class(TOleControl)
private
  FOnPending: TContextorControlPending;
  FOnCommitted: TNotifyEvent;
  FOnCanceled: TNotifyEvent;
  FIntf: IContextor;
  function  GetControlInterface: IContextor;
protected
  procedure CreateControl;
  procedure InitControlData; override;
  function  Get_CurrentContext: IContextItemCollection;
public
  procedure Run(const applicationLabel: WideString; const passcode: WideString; survey: WordBool; 
                const initialNotificationFilter: WideString);
  procedure Suspend;
  procedure Resume;
  function  GetPrivilege(const subj: WideString): AccessPrivilege;
  procedure StartContextChange;
  function  EndContextChange(commit: WordBool; 
                             const aContextItemCollection: IContextItemCollection): UserResponse;
  procedure SetSurveyResponse(const reason: WideString);
  property  ControlInterface: IContextor read GetControlInterface;
  property  DefaultInterface: IContextor read GetControlInterface;
  property State: TOleEnum index 4 read GetTOleEnumProp;
  property CurrentContext: IContextItemCollection read Get_CurrentContext;
  property Name: WideString index 11 read GetWideStringProp;
published
  property NotificationFilter: WideString index 10 read GetWideStringProp write SetWideStringProp stored False;
  property OnPending: TContextorControlPending read FOnPending write FOnPending;
  property OnCommitted: TNotifyEvent read FOnCommitted write FOnCommitted;
  property OnCanceled: TNotifyEvent read FOnCanceled write FOnCanceled;
end;

Class Hierarchy


Class Fields

Name Type Scope Comments
FIntf Private -
FOnCanceled Simple (unknown) Private -
FOnCommitted Simple (unknown) Private -
FOnPending Private -

Properties

Name Type Scope Comments
ControlInterface Public -
CurrentContext Public -
DefaultInterface Public -
Name WideString Public -
NotificationFilter WideString Published -
OnCanceled Simple (unknown) Published -
OnCommitted Simple (unknown) Published -
OnPending Published -
State Simple (unknown) Public -

Methods

Name Declaration Scope Comments
CreateControl procedure CreateControl; Protected -
EndContextChange function EndContextChange(commit: WordBool; const aContextItemCollection: IContextItemCollection): UserResponse; Public -
Get_CurrentContext function Get_CurrentContext: IContextItemCollection; Protected -
GetControlInterface function GetControlInterface: IContextor; Private -
GetPrivilege function GetPrivilege(const subj: WideString): AccessPrivilege; Public -
InitControlData procedure InitControlData; override; Protected -
Resume procedure Resume; Public -
Run procedure Run(const applicationLabel: WideString; const passcode: WideString; survey: WordBool; const initialNotificationFilter: WideString); Public -
SetSurveyResponse procedure SetSurveyResponse(const reason: WideString); Public -
StartContextChange procedure StartContextChange; Public -
Suspend procedure Suspend; Public -

Referenced By (3)

Module (line) Referrer Type
fFrame (378) ctxContextor Read
fFrame (923) - Read
fFrame (941) - Read