Can I still fire the orignal event?

edited 1:02PM in FastScript
Can I still trigger the orginal event after I assigned a new event to a control?

I have the code like this in the fast script:


procedure Edit1OnExit(Sender: TObject);
begin
ShowMessage('Leaving Edit1');
end;

begin
Edit1.OnExit := @Edit1OnExit;
end.

the code above is very simple and works fine, but if there is an orginal event assigned to Edit1 in delphi code, and I still need it to be fired. What I should do? The logic here is something like we call inherited.

Thanks a lot!

Comments

  • edited 1:02PM
    I have de same problem.
    Is there any solution to use a event in the script and inherit de code from Delphi?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.