Command button properties differ between versions (141916)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 3.0
  • Microsoft Visual FoxPro for Windows 3.0b

This article was previously published under Q141916

SUMMARY

Support for the following product versions has been discontinued. For more information about product retirement, visit the following Microsoft Web site: Refer the customer to online resources such as the Microsoft Knowledge Base, Frequently Asked Questions, and Newsgroups at the following Microsoft Web site: The default values of the FontSize, FontName, and FontBold properties of command buttons differs between East Asian 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.
PropertyWorld East Asia
FontNameArial Country specific
FontBold.T..F.
FontSize109
The following code displays the FontName, FontBold, and FontSize 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
				

Modification Type:MajorLast Reviewed:1/4/2006
Keywords:kbcode KB141916 kbAudDeveloper