Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TBeforeExecuteHandler definition
#1
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
Reply
#2
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,
Reply
#3
Thank you very much Alexandre.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)