BUG: 3-D Panel Control Doesn't Resize to Key Status ControlLast reviewed: June 21, 1995Article ID: Q81449 |
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
SYMPTOMSUnpredictable results occur if a 3-D Panel custom control's AutoSize property is set to 3 (AutoSize Child To Panel) and you place a Key Status control with its AutoResize set to True on the 3-D Panel as a child control. For example, the Key Status control keep may keep its default size and move to the upper left corner of the panel, and the Key Status control's top and left sizing handles may flash.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIf a single control is placed on a 3-D Panel custom control with AutoSize = 3 (AutoSize Child To Panel), the child control resizes to exactly fit within the panel's inner bevel. This setting for the AutoSize property has no effect if there are no child controls, more than one control, or if the panel has no bevels. If the child control has a fixed dimension (for example, the height of a combo box or a drive box), then that dimension of the panel will be adjusted to fit the child control instead while the other dimensions are resized to fit the panel. The Key Status custom control has its AutoSize property default set to True, so its dimensions cannot be changed. However, 3-D Panel does not resize to the size of the Key Status control. Instead, when you draw a Key Status control onto a 3-D Panel with AutoSize = 3 and release the mouse button, the Key Status control keeps its default size and moves to the upper left corner of the panel, and the Key Status control's top and left sizing handles will flash. Also, the sizing handles of the Key Status control that you initially draw remain on the panel. Notice that the size of the control in the right box on the Properties bar will alternate between the size of the 3-D Panel and the size of the Key Status control.
Steps to Reproduce Problem
|
Additional reference words: buglist1.00 buglist2.00 buglist3.00 1.00 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |