tab control changed

Daniel Brassard 21 Reputation points
2021-11-02T18:20:12.577+00:00

hi all,

I built a form with many Tab Controls and I'm looking for a simple way to know which Tab Control is clicked.

I do not wish to check each of them, like;

$tabcontrol1_SelectedIndexChanged{...}

$tabcontrol2_SelectedIndexChanged{...}

is there a global event that would be raised if I was to click any Tab?

thank you!

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,364 questions
0 comments No comments
{count} votes