Command Button Properties Differ Between Versions

Last reviewed: January 8, 1996
Article ID: Q141916
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0 and 3.0b

SUMMARY

The default values of the FontSize, FontName, and FontBold properties of command buttons differs between Far East versions of Visual FoxPro and other versions of Visual FoxPro 3.0 and 3.0b.

MORE INFORMATION

The following table describes how the FontName, FontBold, and FontSize default values between Far East versions and the versions offered in other countries.

Property      World     Far East
FontName      Arial     Country specific
FontBold      .T.       .F.
FontSize      10        9

The following code displays the FontName, FontSize, and FontBold property values on the Visual FoxPro desktop. The different property values between versions may be of concern if developing an international version of an application. These differences could potentially cause a display problem , such as, "Position is off of screen" message, if the variance is not taken into account.

   tform = CreateObject("form")
   tform.AddObject("C1","commandbutton")
   ACTIVATE SCREEN
   ? "Fontname of commandbutton = "
   ?? tform.c1.FontName
   ? "Fontsize of commandbutton = "
   ?? tform.c1.FontSize
   ? "Fontbold of commandbutton = "
   ?? tform.c1.FontBold


Additional reference words: 3.00 3.00b VFoxWin
KBCategory: kbprg kbcode
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: January 8, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.