JavaScript Editor js editor     Web development 



Main Page

Creates a page in a PageFrame control.

You can use pages to create tabbed forms or dialog boxes. A page frame contains a set of pages. For additional information about creating pages and page frames, see "Adding Page Frames to a Form" in Controls for Extending Forms.

Page

Remarks

You can refer to a page in a page frame by name as in the following example:

В Copy Code
myFrame.MyPage1

You can also refer to a page by its index number using the PageFrameВ Pages property. This is consistent with the control collections in other Visual FoxPro containers.

В Copy Code
myFrame.Pages(2).Enabled = .T.

This index does not necessarily equal the PageOrder property. You might have three pages with PageOrders of 2, 3, and 5. You can refer to these pages as follows:

В Copy Code
myFrame.Pages(1)
myFrame.Pages(2)
myFrame.Pages(3)

Only the active page is refreshed when the FormВ Refresh method occurs for the form on which the page is located.

See Also



JavaScript Editor js editor     Web development