TabNext

[property icon] TabNext

Get next tab object

Read-only Runtime-only OBJECT reference property

Applies to: TabbedItem

Introduced in KCML version 6.00


>

TabNext

Given a tab page, this property will return, as an object, the next tab on a tab control (or NULL if at the end). The first tab on a tab control is retrieved with TabFirst.

 LOCAL DIM OBJECT t
 OBJECT t = .tabControl1.TabFirst
 WHILE OBJECT t <> NULL DO
    REM A tab operation on t. e.g. t.Enabled = TRUE     
    OBJECT t = t.TabNext
 WEND    

See also

TabbedItem methods, properties and events.