BUG: Cell Size of Grid Does Not Change as Font Size ChangesLast reviewed: May 6, 1996Article ID: Q150237 |
The information in this article applies to:
STATUSIf the Size property of the Font object belonging to a Microsoft Grid control is adjusted, the cell size containing that font does not change.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDRather than changing the size of the Font member object this way:
Grid1.Font.Size = 10use the FontSize property, which is a property of the Grid object. For example:
Grid1.FontSize = 10When the latter method is used, the cell size changes as the font size is adjusted.
MORE INFORMATION
Steps to Reproduce Problem
Private Sub Form_Click() Grid1.FontSize = Grid1.FontSize + 4 End SubThe cells grow as the font grows each time the form is clicked.
|
Additional reference words: 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |