I put this code in just to see how many times form_resize actualy gets called...
VB Code:
Dim intSize As Integer Private Sub Form_Resize() intSize = intSize + 1 Me.Caption = intSize End Sub
If you maximize the form it only gets called once but if you resize it using the mouse it can get called 100+ times... So I guess we do need the DeleteObject...




Reply With Quote