mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 23:19:12 +02:00
* Before/After bind support for THTMLElementActionList
This commit is contained in:
parent
5261aa9075
commit
961f8b2aa8
@ -106,6 +106,8 @@ Type
|
|||||||
|
|
||||||
THTMLCustomElementActionList = class(TComponent)
|
THTMLCustomElementActionList = class(TComponent)
|
||||||
private
|
private
|
||||||
|
FAfterBind: TNotifyEvent;
|
||||||
|
FBeforeBind: TNotifyEvent;
|
||||||
FList : TFPList;
|
FList : TFPList;
|
||||||
FOnExecute: THTMLGLobalNotifyEvent;
|
FOnExecute: THTMLGLobalNotifyEvent;
|
||||||
function GetAction(aIndex: Integer): THTMLCustomElementAction;
|
function GetAction(aIndex: Integer): THTMLCustomElementAction;
|
||||||
@ -132,11 +134,15 @@ Type
|
|||||||
Property ActionCount : Integer Read GetActionsCount;
|
Property ActionCount : Integer Read GetActionsCount;
|
||||||
Protected
|
Protected
|
||||||
Property OnExecute : THTMLGLobalNotifyEvent Read FOnExecute Write FOnExecute;
|
Property OnExecute : THTMLGLobalNotifyEvent Read FOnExecute Write FOnExecute;
|
||||||
|
property BeforeBind : TNotifyEvent Read FBeforeBind Write FAfterBind;
|
||||||
|
Property AfterBind : TNotifyEvent Read FAfterBind Write FAfterBind;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
THTMLElementActionList = Class(THTMLCustomElementActionList)
|
THTMLElementActionList = Class(THTMLCustomElementActionList)
|
||||||
Published
|
Published
|
||||||
Property OnExecute;
|
Property OnExecute;
|
||||||
|
property AfterBind;
|
||||||
|
property BeforeBind;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user