Not a huge problem, but I have found that when copying a Close() event handler and pasting it into another window, the paste doubles up the ‘wrapper’ code
By which I mean if the original is this:
Sub Close()
DoCloseStuff
end sub
I copy the event in 2015r3
I select another window, and paste
The Close event that gets created actually CONTAINS the code above, instead of just the DoCloseStuff
What is being pasted (I have tried this in a text editor) is
Sub Close()
Sub Close()
DoCloseStuff
end sub
end sub
Add a Close event with DoCloseStuff inside,
Click in the Close Event in the Navigator Pane (to make it selection color near to black),
Add a new Window (and it is selected by default),
Paste:
I get the Event Handlers entry AND the Close Event with: DoCloseStuff as expected.
Make sure the focus is on the navigator and that the selection line is Blue. If it’s Gray, then you’re pasting into the code editor, and yes, you would get this effect.