In the TDIBeforeNewTab event you can change the tab Caption.

Not sure if it would be a good idea to allow to change the caption here in the TDIFormsShowTabIcon event too, since there is already a FormCaption parameter, read only, that comes with the original form caption, without "(2)", "(3)" at the end, so it is not always the tab caption and could not be used for changing it.