Type | Description | |||
Long | A long expression that indicates the height in pixels of the control to fit all the buttons in the control's client area. |
The following sample resizes the control to fit all the buttons in the control's visible area:
Private Sub Form_Resize() With Calc1 .Width = .CalcWidth * Screen.TwipsPerPixelX .Height = .CalcHeight * Screen.TwipsPerPixelY End With End Sub