Atozed Forums

Full Version: TBeforeExecuteHandler definition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I cannot find anywhere the TBeforeExecuteHandlerProc definition.
I'm trying to use the TContentForm.Create(aFormClass: TIWAppFormClass; DoBeforeExecuteCallback: TBeforeExecuteHandlerProc = nil); reintroduce; overload;
I guess if I can use the DoBeforeExecuteCallback in order to invoke an action immediately after my TContentForm is created. I can use a different approach for my needs of course, but I would like to examine the TContentForm.Create methods in depth.
Thank you
it is declared in IW.Content.Base.pas unit:

Code:
TBeforeExecuteHandlerProc = procedure(Sender: TObject; var Continue: Boolean) of object;


and you are correct, it will be triggered while calling the inherited Execute method of the TContentBase class

Cheers,
Thank you very much Alexandre.