The information in this article applies to:
SYMPTOMSIf a Visual Basic version 2.0 for Windows form file contains THREED.VBX controls with the Font3D property set to a value greater than zero, Visual Basic version 3.0 may incorrectly force other THREED.VBX controls to have the same Font3D property value. CAUSEThe THREED.VBX custom control for Visual Basic 2.0 does not write a Font3D value to the form file if Font3D = 0. When Visual Basic version 3.0 loads he form, after the Visual Basic environment reads a Font3D value for one control, it gives the same Font3D property value to all the rest of the THREED.VBX controls. In other words, if the last THREED.VBX control loaded is the only one that has a Font3D entry in the form file, none of the other controls are affected. WORKAROUND
To work around the problem, edit the Visual Basic version 2.0 form files
that were saved in ASCII text format to add a Font3D = 0 line to any
THREED.VBX controls that do not already have a Font3D entry.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected in Visual Basic version 4.0. MORE INFORMATIONThe following is an example of a Visual Basic version 2.0 form file that was saved in ASCII format with two 3D command buttons. One button has a Font3D value, and one does not. Note that controls are saved in the form file in the opposite order in which they were created on the form.
Notice that there is not a Font3D setting for Command3D1. If this file
were loaded into Visual Basic version 3.0, Command3D1 would have a Font3D
value of 1 instead of 0.
To work around the problem, insert the following line between the Caption and Height lines for Command3D1 in the ASCII form file shown above:
Now, Visual Basic version 3.0 will read the file correctly.
The Visual Basic 3.0 THREED.VBX writes the Font3D property to the form file for every THREED.VBX control regardless of its value. Additional query words: buglist3.00 3.00 fixlist4.00
Keywords : PrgCtrlsCus |
Last Reviewed: January 20, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |