PRB: WhatsThisButton Disappears when Form Designer Gets Focus

Last reviewed: January 10, 1997
Article ID: Q156511
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows 5.0

SYMPTOMS

The WhatsThisButton button for a form disappears when the Form Designer receives focus at design time. However, when you click the place where WhatsThisButton is located in the form, WhatsThisButton becomes visible again. This behavior happens at only design time. The button is visible at run time.

CAUSE

The operating system is causing the button to disappear. Whenever the Close button is grayed out, the WhatsThisButton button is not available.

STATUS

This behavior is by design.

MORE INFORMATION

The WhatsThisButton button is used for context-sensitive Help in Windows 95. This button is located in the upper-right corner of the form and has a question mark (?) inside the button. This button is used to start Windows Help and load a topic identified by the WhatsThisHelpID property.

Steps to Reproduce Behavior

  1. Create a form.

  2. Set all of the appropriate settings below in the Property window to make the WhatsThisButton property visible in the form.

          WhatsThisButton property = .T.
          WhatsThisHelp property = .T
          BorderStyle property = 3
          MinButton property =  .F.
          MaxButton property .F.
    

  3. Once the WhatsThisButton button(?) is visible on the upper-right corner of the form, click on the form design area.

The WhatsThisButton button disappears from the upper-right corner of the form.


KBCategory: kbtool kbui kbprb
KBSubcategory: FxtoolFormdes FxotherDochelp
Additional reference words: 5.00 kbdse VFoxWin



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.