Class TAFEmployee (unit EmpForm_TLB)

Inherits from

TOleControl

Constructors



Functions

function FindEmployee(EmpNo: Integer): WordBool;


procedure ShowSearchControls(Value: WordBool);


procedure CreateControl;


function GetTOleEnumProp(Index: Integer): TOleEnum;


procedure InitControlData;


procedure SetTOleEnumProp(Index: Integer; Value: TOleEnum);


function GetControlInterface: IAFEmployee;


Properties

property AutoScroll : WordBool


property AxBorderStyle : TxActiveFormBorderStyle


property Caption : WideString


property Color : TColor


property Cursor : Smallint


property DropTarget : WordBool


property Enabled : WordBool


property Font : TFont


property HelpFile : WideString


property KeyPreview : WordBool


property PixelsPerInch : Integer


property PrintScale : TxPrintScale


property Scaled : WordBool


property Search : WideString


property Visible : WordBool


property WindowState : TxWindowState


property Active : WordBool


property ControlInterface : IAFEmployee


Events

event OnActivate : TNotifyEvent


event OnClick : TNotifyEvent


event OnCreate : TNotifyEvent


event OnDblClick : TNotifyEvent


event OnDeactivate : TNotifyEvent


event OnDestroy : TNotifyEvent


event OnKeyPress : TAFEmployeeOnKeyPress


event OnPaint : TNotifyEvent


Variables

FIntf : IAFEmployee;


FOnActivate : TNotifyEvent;


FOnClick : TNotifyEvent;


FOnCreate : TNotifyEvent;


FOnDblClick : TNotifyEvent;


FOnDeactivate : TNotifyEvent;


FOnDestroy : TNotifyEvent;


FOnKeyPress : TAFEmployeeOnKeyPress;


FOnPaint : TNotifyEvent;



Constructors


Functions


function FindEmployee(EmpNo: Integer): WordBool;


procedure ShowSearchControls(Value: WordBool);


procedure CreateControl;


function GetTOleEnumProp(Index: Integer): TOleEnum;


procedure InitControlData;


procedure SetTOleEnumProp(Index: Integer; Value: TOleEnum);


function GetControlInterface: IAFEmployee;


Properties


property AutoScroll : WordBool


property AxBorderStyle : TxActiveFormBorderStyle


property Caption : WideString


property Color : TColor


property Cursor : Smallint


property DropTarget : WordBool


property Enabled : WordBool


property Font : TFont


property HelpFile : WideString


property KeyPreview : WordBool


property PixelsPerInch : Integer


property PrintScale : TxPrintScale


property Scaled : WordBool


property Search : WideString


property Visible : WordBool


property WindowState : TxWindowState


property Active : WordBool


property ControlInterface : IAFEmployee


Events


event OnActivate : TNotifyEvent


event OnClick : TNotifyEvent


event OnCreate : TNotifyEvent


event OnDblClick : TNotifyEvent


event OnDeactivate : TNotifyEvent


event OnDestroy : TNotifyEvent


event OnKeyPress : TAFEmployeeOnKeyPress


event OnPaint : TNotifyEvent


Variables


FIntf : IAFEmployee;


FOnActivate : TNotifyEvent;


FOnClick : TNotifyEvent;


FOnCreate : TNotifyEvent;


FOnDblClick : TNotifyEvent;


FOnDeactivate : TNotifyEvent;


FOnDestroy : TNotifyEvent;


FOnKeyPress : TAFEmployeeOnKeyPress;


FOnPaint : TNotifyEvent;