I am using the ssTab control for my app, the problem i am having is:

When i try to decrease the number of tabs:

VB Code:
  1. frmMain.SSTab1.Tabs = frmM.SSTab1.Tabs-1

i get the error:

380:Invalid property value

is there a way to reduce the number of tabs at runtime?