Toolkit 3-D Control (THREED.VBX) Default Property Values (87766)



The information in this article applies to:

  • Microsoft Visual Basic Professional Edition for Windows 2.0
  • Microsoft Visual Basic Professional Edition for Windows 3.0
  • 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.

Modification Type:MajorLast Reviewed:11/18/2003
Keywords:KB87766