Excel: Picture Object in Dialog box Affected by ZoomLast reviewed: November 22, 1994Article ID: Q86486 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel version 4.0, when you resize the picture object used in a custom dialog box, either by zooming the macro sheet or by direct manipulation of the object, the picture not fit in the dialog box.
CAUSEThis problem will occur if you fail to include the width and height dimensions of the picture in the dialog box definition table.
WORKAROUNDTo work around this problem, specify the width and height dimensions of the dialog box in the dialog box definition table.
MORE INFORMATIONMicrosoft Excel 4.0 allows you to use picture objects on buttons or icons in user-defined dialog boxes by specifying the object identifier in the text column of the dialog box definition table on the macro sheet. However, if you leave the width and height columns in the definition table blank the size of the picture in the dialog box is determined by the size of the object on the macro sheet. As a result, zooming the sheet or resizing the picture object will change the size of the picture displayed in the dialog box.
REFERENCES"User's Guide 2," version 4.0, pages 263-272, 279
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |