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

Last reviewed: June 21, 1995
Article ID: Q87766
The information in this article applies to:

- Professional Edition of Microsoft Visual Basic for Windows, versions

  2.0 and 3.0
- Microsoft Professional Toolkit for Microsoft Visual Basic programming
  system for Windows, version 1.0

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.

  1. Add a 3-D Command Button.

  2. Select the BevelWidth property from the property bar. The default value is 2.

  3. Set the BevelWidth to a value of 4.

  4. Add a second 3-D Command Button.

  5. Select the BevelWidth property from the property bar. The default value will now be 4.


Additional reference words: 1.00 2.00 3.00 three dimension 3d
KBCategory: kbprg
KBSubcategory: PrgCtrlsCus


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: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.