Modifying Tab Control in runtime
I need a Tab Control to be modified depending on the type of contact entered. I have many types of contacts, but will use only two as examples: doctors and lawyers.
The intention is that when the contact is a lawyer its particular tabs appear and those related to doctors, disappear. The same should happe when a doctor is selected: its tabs should appear and those of the lawyers, disappear.
Is there a way to modify a Tab Control during runtime to achieve this?
Thanks in advance!