VB Key Status: Autosize Property Affects Height and Width

ID: Q81952


The information in this article applies to:
  • Microsoft Visual Basic Professional Edition for Windows, versions 2.0, 3.0
  • Microsoft Professional Toolkit for Microsoft Visual Basic programming system for Windows, version 1.0


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 :
Version : WINDOWS:2.0,3.0; :1.0
Platform : WINDOWS
Issue type :


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.