VB AniButton Control: Cannot Resize if PictDrawMode=Autosize (82159)
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 Q82159 SUMMARY
Resizing an Animated Button custom control by setting the Width or
Height property at run time will not work if the PictDrawMode property
is set to Autosize (1). This is by design. When the PictDrawMode
property is in autosize mode, the size is determined by the size of
the images loaded, not by the design time setting of Width or Height
nor the run time setting of those values.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB82159 |
---|
|