wwWebTabControl::GetTabPage

Retrieves a TabPage by its Id or numeric index. Returns null if not found.

Same behavior as TabControl.TabPages.Item(tabId), but provided for easier discoverability.

o.GetTabPage(lcTabId)

Returns

wwWebTabPage instance or null

Parameters

lcTabId
The ID for the TabPage

Example

loTabPage = this.Pages.GetTabPage("Gifts")
IF !ISNULL(loTabPage)
    loTabPage.Enabled = .f.
ENDIF

See also