Hi guys one
question. If I’m in form B, but I want to call a Handlers Event Opening of form A, how do I do it?
you don’t
Events are NOT something you can “call”
However, if in Form A you move the code from the Opening event handler into a METHOD then you can make that public and call it from other places
Mostly safely but there can be caveats like you have to have an instance of Form A to call it unless you make it a shared method on form A
IF this method is code that might be useful in general then a module e might be a better place top put that code in a method that you call & pass suitable parameters to it
1 Like
if you create a new instance of window form A, then the opening handler of form A will automatically be fired.
[quote=“npalardy, post:2, topic:2538, full:true”]
Thanks, i solved. I created a Method and call it.