What I would like to do is popup a form that has just a processbar on it but
I want the popup to be asynchonous so the the rest of the function can continue to
run.
Is there a way to do that? Here's what am am doing:
FF_ProgressBar_SetPosition (HWND_frmTprocess_PROGRESSBAR1, 0) :'ReSet StatusBar to zero
ShowWindow HWND_frmTprocess, %SW_SHOW ' <--- I want this to be asynchonous who do I do that ?
? "Here "
If tType = 1 Then ' process using FTP
If IsFalse(FtpInitialize($CSTOOLS7_LICENSE_KEY)) Then
MsgBox "Unable to Intialize SocketTools Library"
End If
fl = lPathFN
url = "ftp://" + rUNPW + "@" + rPath & Trim$(FF_Control_GetText (HWND_frmMain_txtFile2Get))
result = FtpUploadFile(fl,url,15, %FTP_OPTION_PASSIVE,ftpStatus, CodePtr(GetHTTPstatus), 0)
FtpGetErrorString(ftpGetLastError(), erSt, 128)
? Str$(result)
End If
Create a modeless dialog (form). If you look in the User Reference Guide for Firefly, there's a section on displaying forms and how to show modeless forms.
Michael, Thanks that was helpful.