Jump to content

How do I call a procedure from a DLL from MainForm?


artem_niko

Recommended Posts

Good afternoon!

Need advice on the application of the code.

There is a certain procedure that is stored in my DLL, everything is fine with that, I figured it out here)
I need this procedure to work at the moment when the tab is accessed, i.e. I have such a chain:
Uni PageControl1 is the parent for the dynamic UniTabSheet, which is the parent for the UniFrame, while UniTabSheet and UniFrame are both stored in the DLL and connected to the program as a plugin.
Uipagecontrol - in MainForm.

So, using the UniTabSheet1 event.OnBeforeActivate I need to somehow call my procedure this. It passes certain variables to the MainForm. 

How can this be implemented? Through what? Here the question is not so much with writing the code as with the idea, because I do not know how to call this procedure from my MainForm DLL.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...