VB Key Status: Autosize Property Affects Height and Width (81952)
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 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.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB81952 |
---|
|