Dear Eduardo,

Greetings!

In the following function, TabCaption is actually the added form's caption, as far as I can observe. So, is it possible to include FormTag parameter also so that is easier to check based on the form's tag (which can be a unique distinctive short string set by me) as to whether to add that form or not. My form's captions can become considerably lengthy sometimes. Hence, the request. If not possible to introduce a new parameter, possible to change the name TabCaption to TabCaptionOrTag so that you can check for both the form's caption and also tag?
--
NewTab1_TDIBeforeNewTab(ByVal TabType As NewTabCtl.NTTDINewTabTypeConstants, ByVal TabNumber As Long, TabCaption As String, LoadControls As Boolean, Cancel As Boolean)
--

Kind Regards.