Dozo_1st
March 30th, 2004, 06:49 AM
Well, got another problem for the developers here, which I cannot solve :blush: :
How does one keep a Cancel-button available at all times on a form?
While copying I use a label displaying what is copied at the moment and keep refreshing the form. If I do not refresh the form, all I see on screen is an outline of the form and everything in it is "transparent".
The problem this has, is that the Cancel-button is not available anymore. You can click all you want, but nothing happens :mad: :mad:
code is the following:
Private Sub lblStatus_TextChanged(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles lblStatus.TextChanged
lblStatus.Refresh()
End Sub
For Each sFile
sFileInfo.CopyTo(dFileInfo.FullName, overWrite)
lblStatus.Text = "Busy copying" & vbCrLf & sFileInfo.FullName & _
vbCrLf & " to " & vbCrLf & dFileInfo.FullName
Next
How does one keep a Cancel-button available at all times on a form?
While copying I use a label displaying what is copied at the moment and keep refreshing the form. If I do not refresh the form, all I see on screen is an outline of the form and everything in it is "transparent".
The problem this has, is that the Cancel-button is not available anymore. You can click all you want, but nothing happens :mad: :mad:
code is the following:
Private Sub lblStatus_TextChanged(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles lblStatus.TextChanged
lblStatus.Refresh()
End Sub
For Each sFile
sFileInfo.CopyTo(dFileInfo.FullName, overWrite)
lblStatus.Text = "Busy copying" & vbCrLf & sFileInfo.FullName & _
vbCrLf & " to " & vbCrLf & dFileInfo.FullName
Next