-
Hi everyone,
I got a wonderful idea from Karl Moore at
http://vb-world.net/tips/tip489.html
to resize the form and the controls.
My problem is, i want the command buttons to remain in the same size, where as the other controls such as data grid changes the size.
How can I do that?
Your help is greatly wanted.
Thank you.
Rathi.J
-
Look for this in the code (it appears twice):
Code:
For Each Ctl In Me
' Something
Next Ctl
Change it (in both places) to:
Code:
For Each Ctl In Me
If Not TypeOf Ctl Is CommandButton Then
' Something
End If
Next Ctl
Enjoy! :rolleyes: