PRB: Cannot Change ActivePage of a PageFrame with a Hot KeyLast reviewed: April 30, 1996Article ID: Q130349 |
The information in this article applies to:
SYMPTOMSUnder certain circumstances, the activepage of a pageframe object doesn't change when you press a hot key combination for a page.
CAUSEThe pageframe is not the only object on the form.
WORKAROUNDThe pageframe container does not have a keypress method, so you need to modify the keypress method of the form to handle specific hot key combinations as in this example:
STATUSThis behavior is by design.
MORE INFORMATIONThis particular issue occurs only if the form contains objects other than the pageframe. In the example, pressing ALT+1 or ALT+2 would select page1 or page2 without the code if there were no other objects on the form. The code in the keypress event is useful when the form contains objects outside of the pageframe.
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |