Microsoft KB Archive/87766

From BetaArchive Wiki
Knowledge Base


Article ID: 87766

Article Last Modified on 11/18/2003



APPLIES TO

  • Microsoft Visual Basic 2.0 Professional Edition
  • Microsoft Visual Basic 3.0 Professional Edition
  • Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows



This article was previously published under Q87766

SUMMARY

The 3-D Check Box, 3-D Command Button, 3-D Frame, 3-D Group Push Button, 3-D Option Button, and 3-D Panel custom controls retain custom properties from the control drawn before them. When the properties are customized for a particular 3-D control, they become the default properties for subsequent 3-D controls of the same type.

MORE INFORMATION

The example below demonstrates that the properties of THREED controls are retained from one control to the next.

Step-by-Step Example

  1. Load the THREED.VBX file into Form1 in Visual Basic.
  2. Add a 3-D Command Button.
  3. Select the BevelWidth property from the property bar. The default value is 2.
  4. Set the BevelWidth to a value of 4.
  5. Add a second 3-D Command Button.
  6. Select the BevelWidth property from the property bar. The default value will now be 4.



Additional query words: 1.00 2.00 3.00 three dimension 3d

Keywords: KB87766