Microsoft KB Archive/81952

= VB Key Status: Autosize Property Affects Height and Width =

Article ID: 81952

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Visual Basic 2.0 Professional Edition
 * Microsoft Visual Basic 3.0 Professional Edition
 * Microsoft Windows 2000 Readiness Analyzer

-



This article was previously published under Q81952



SUMMARY
In the products listed above, you can use the Key Status control (KEYSTAT.VBX) to show and set the current status of the CAPS LOCK, NUM LOCK, SCROLL LOCK, and INSERT keys. One of the features of the Key Status control is its ability to size itself (the Autosize property) to its original dimensions.

If the Autosize property is set to True (the default setting), the control's Height and Width properties will remain at, or be reset to its predetermined values. The size of the control cannot be changed if Autosize is set to True. If the Autosize property is set to False, the Height and Width properties can be changed to reflect the desired control size. Autosize can be set at both design time and run time.

Additional query words: 1.00 2.00 3.00

Keywords: KB81952

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.