3-D Group Push Button: AutoSize Takes Effect Only on PictureUpLast reviewed: June 21, 1995Article ID: Q80938 |
The information in this article applies to:
SUMMARYThe 3-D Group Push Button (THREED.VBX) custom control will not automatically size itself to the bitmap assigned to the PictureDown property. When the AutoSize property is set to "2 - Adjust Button Size to Picture," the 3-D Group Push Button custom control will automatically size itself to the bitmap assigned to the PictureUp property. This behavior is by design. This information applies to Microsoft Professional Toolkit for Microsoft Visual Basic programming system version 1.0 for Windows.
MORE INFORMATIONThe Visual Basic 3-D Group Push Button custom control can have a bitmap assigned to the button when it is in the down position, and another bitmap when the button is in the up position (the PictureUp and PictureDown properties are set to different .BMP files at design time). However, the 3-D Group Push Button control will not automatically size itself to the size of the picture assigned to the PictureDown property even if the AutoSize property is set to "2 - Adjust Button Size to Picture." When the AutoSize property is set to "2 - Adjust Button Size to Picture," the 3-D Group Push Button custom control will automatically size itself to the bitmap assigned to the PictureUp property. This means that the button will size itself to the picture it is supposed to display only when it is in the up position. If there is a bitmap assigned to the PictureDown property and this picture is bigger than the 3-D Group Push Button control, this picture will appear clipped when the button is pressed. The following steps demonstrate how the 3-D Group Push Button custom control does not size itself to the bitmap assigned to the PictureDown property even when the AutoSize property for the control is set to "2 - Adjust Button Size to Picture."
Example
If you assign a picture to the PictureUp property of the 3-D Group Push Button control, the button will automatically size itself to this picture. Nonetheless, the 3-D Group Push Button control will not size itself to the picture assigned to the PictureDown property once the button is pressed.
|
Additional reference words: 1.00 2.00 3.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |