Microsoft KB Archive/129907

= PRB: Clicking a Tab Does Not Activate Page in a Tabbed Dialog =

Article ID: 129907

Article Last Modified on 2/10/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q129907



SYMPTOMS
When you click a page in a tabbed dialog, the caption of the Tab becomes bold. However, the page is not activated until the mouse button is released.



CAUSE
The page is activated in a two-step process. It becomes active when the mouse is released, which is when the MouseUp event occurs. This design provides flexibility by allowing users to drag the mouse off without selecting the tab.



WORKAROUND
If, as with tabbed dialogs in Microsoft Excel and Word for Windows, you want to activate a page as soon as you click the tab, you can trap for the MouseDown event on the page frame. Then locate the position of the mouse in relation to the pageframe, and activate the correct page by setting the ACTIVEPAGE property of the page frame to the desired page.



STATUS
This behavior is by design.

Additional query words: VFoxWin 3.00

Keywords: KB129907

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.