FileProperties.Index (gb.form)

Property Index As Integer

Return the index of the current tab, or set the current tab from its index.