home *** CD-ROM | disk | FTP | other *** search
- Public Sub AfterClick()
- Dim AllFormControls As VBIDE.ControlTemplate
- For Each AllFormControls In ThisInstance.ActiveProject.ActiveForm.ControlTemplates
- If AllFormControls.ClassName = "VB.CommandButton" Then
- AllFormControls.Properties!Height = 700
- AllFormControls.Properties!Width = 700
- End If
- Next
- End Sub
-