Graphisoft®

Dialog ManagerVersion: 2.0

TabControl::InsertItem

Inserts a new item to the tab control.

bool InsertItem (short tabItem);

Parameters

tabItem
The tab control item before which the new item should appear. DG::TabControl::FirstItem specifies the first item of the tab control, DG::TabControl::LastItem inserts the new item after the last item of the tab control. If tabItem is the number of the items plus 1, it has the same effect as DG::TabControl::LastItem.

Return Value

true if the item was inserted succesfully otherwise false.