JavaScript Editor js editor     Web development 



Main Page

File: ...\Samples\Solution\Controls\PgFrame\Pfsam2.scx

This sample demonstrates manipulating pages without tabs in a form page. The frame in the middle of the form contains three pages that are brought to the front as the user chooses command buttons. Each page can have its own controls and appearance.

The method that brings a particular page to the front is ZOrder. For example, the following line of code in the click event of one of the command buttons brings pagCustomers to the front:

В Copy Code
THISFORM.pgfPeople.pagCustomers.ZOrder

You can also use the ActivePage property of the page frame to determine which pages are displayed.

В Copy Code
THISFORM.pgfPeople.ActivePage = 1

See Also



JavaScript Editor js editor     Web development