Hi everybody,
I am creating a panel programmatically, and would like to make it so that, if you click on any part of the panel and there is a button behind the panel, it does not trigger the click of that button.
Normally I would just create an empty sub with the panel name and "_Click" (e.g., myPanel_Click), and that would do the trick.
But I would like to know if it is possible to generate the Sub programmatically, or create the same result any other way.
Best regards
I am creating a panel programmatically, and would like to make it so that, if you click on any part of the panel and there is a button behind the panel, it does not trigger the click of that button.
Normally I would just create an empty sub with the panel name and "_Click" (e.g., myPanel_Click), and that would do the trick.
But I would like to know if it is possible to generate the Sub programmatically, or create the same result any other way.
Best regards
Last edited: