XL5: Control Missing/Incorrect Location After Moving Dialog |
In Microsoft Excel, when you hide a control on a custom dialog box, and you then move the dialog frame on the dialog sheet, when you attempt to redisplay the control in the dialog box, the control is not displayed or it is displayed in the wrong location.
This behavior occurs because Microsoft Excel does not move hidden objects. Therefore, when you hide a control on a dialog box, and you then move the dialog box frame, the control does not move with the dialog box. Because the control does not move, it either appears in the wrong location on the dialog box or is not displayed on the dialog box at all.
Sub Display_All()
Dim DlgObj As Object
For Each DlgObj In DialogSheets("Dialog1").DrawingObjects
DlgObj.Visible = True
Next
End Sub
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0c for Windows.
"Visual Basic User's Guide," version 5.0, Chapter 11, "Controls and Dialog Boxes"
Additional query words:
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |