just place this code in the form queryunload event
VB Code:
Me.Picture = LoadPicture("") DoEvents Me.BackColor = vbBlack On Error Resume Next Dim i As Long For i = 1 To Me.Height Me.Top = Me.Top + 1 Me.Height = Me.Height - 2 Me.Left = Me.Left + 1 Me.Width = Me.Width - 2 Next DoEvents
hope u like it


Reply With Quote
