how to remove ttabitem from ttabcontrol at run time — FireMonkey

  

I’ve added some TTabItem(s) to a TTabControl at runtime. But I can not remove them.

the code I use to create items:

tbi := TTabItem.Create(tbc);
tbi.Parent := tbc;
tbi.Index := tbc.TabCount – 1;

How can I remove those tab items?

Comments are closed.