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)

Return Value

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:

Class wwWebTabControl

© West Wind Technologies, 1996-2024 • Updated: 11/25/09
Comment or report problem with topic