|
@@ -116,6 +116,7 @@ type
|
|
{ Standard events }
|
|
{ Standard events }
|
|
|
|
|
|
TNotifyEvent = procedure(Sender: TObject) of object;
|
|
TNotifyEvent = procedure(Sender: TObject) of object;
|
|
|
|
+ THintEvent = procedure(var HintStr: string; var CanShow: Boolean) of object;
|
|
THelpEvent = function (Command: Word; Data: Longint;
|
|
THelpEvent = function (Command: Word; Data: Longint;
|
|
var CallHelp: Boolean): Boolean of object;
|
|
var CallHelp: Boolean): Boolean of object;
|
|
TGetStrProc = procedure(const S: string) of object;
|
|
TGetStrProc = procedure(const S: string) of object;
|
|
@@ -2024,11 +2025,15 @@ type
|
|
FOnChange: TNotifyEvent;
|
|
FOnChange: TNotifyEvent;
|
|
FOnExecute: TNotifyEvent;
|
|
FOnExecute: TNotifyEvent;
|
|
FOnUpdate: TNotifyEvent;
|
|
FOnUpdate: TNotifyEvent;
|
|
|
|
+ procedure SetActionComponent(AValue: TComponent);
|
|
protected
|
|
protected
|
|
FClients: TFpList;
|
|
FClients: TFpList;
|
|
procedure Change; virtual;
|
|
procedure Change; virtual;
|
|
|
|
+ Procedure Notification(AComponent: TComponent; Operation: TOperation); override;
|
|
procedure SetOnExecute(Value: TNotifyEvent); virtual;
|
|
procedure SetOnExecute(Value: TNotifyEvent); virtual;
|
|
property OnChange: TNotifyEvent read FOnChange write FOnChange;
|
|
property OnChange: TNotifyEvent read FOnChange write FOnChange;
|
|
|
|
+ Function ClientCount : Integer;
|
|
|
|
+ Function GetClient(Idx : Integer) : TObject;
|
|
public
|
|
public
|
|
constructor Create(AOwner: TComponent); override;
|
|
constructor Create(AOwner: TComponent); override;
|
|
destructor Destroy; override;
|
|
destructor Destroy; override;
|
|
@@ -2039,10 +2044,12 @@ type
|
|
procedure RegisterChanges(Value: TBasicActionLink);
|
|
procedure RegisterChanges(Value: TBasicActionLink);
|
|
procedure UnRegisterChanges(Value: TBasicActionLink);
|
|
procedure UnRegisterChanges(Value: TBasicActionLink);
|
|
function Update: Boolean; virtual;
|
|
function Update: Boolean; virtual;
|
|
- property ActionComponent: TComponent read FActionComponent write FActionComponent;
|
|
|
|
|
|
+ function Suspended: Boolean; virtual;
|
|
|
|
+ property ActionComponent: TComponent read FActionComponent write SetActionComponent;
|
|
property OnExecute: TNotifyEvent read FOnExecute write SetOnExecute;
|
|
property OnExecute: TNotifyEvent read FOnExecute write SetOnExecute;
|
|
property OnUpdate: TNotifyEvent read FOnUpdate write FOnUpdate;
|
|
property OnUpdate: TNotifyEvent read FOnUpdate write FOnUpdate;
|
|
end;
|
|
end;
|
|
|
|
+ TActionEvent = procedure(Action: TBasicAction; var Handled: Boolean) of object;
|
|
|
|
|
|
{ TBasicAction class reference type }
|
|
{ TBasicAction class reference type }
|
|
|
|
|