PRB: ACTIVATE WINDOW Command Not Working for Toolbars

Last reviewed: August 24, 1995
Article ID: Q135564
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

The ACTIVATE WINDOW command does not work with toolbars. This command:

   ACTIVATE WINDOW "Standard"

results in thie following error message:

   Window "STANDARD" has not been defined

None of the toolbars can be activated with the ACTIVATE WINDOW command.

RESOLUTION

If it is necessary to call toolbars programmatically, use the KEYBOARD command:

   KEYBOARD '{ALT+V}ts{SPACEBAR}{ENTER}'

To determine the exact syntax for a particular toolbar, click Macros on the Program menu and select Record.

STATUS

Microsoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Once a toolbar is open, the HIDE WINDOW, SHOW WINDOW, and ACTIVATE WINDOW commands will work. This is because the toolbar now exists in memory.


Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral


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: August 24, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.