Public Sub Form_Open()
Timer1.Start()
Timer2.Start()
End
Public Sub Timer1_Timer()
Timer1.Stop
'' Here start your progress.
End
Public Sub Timer2_Timer()
'' Here refresh progressbar.
End
Jussi
On Sat, Apr 20, 2013 at 6:28 PM, Jussi Lahtinen wrote:
> Or even better put time
Or even better put timer to your form.
Start the timer in Form_Open(), and in every _Timer() event refresh the
progress bar (etc).
Jussi
On Sat, Apr 20, 2013 at 6:21 PM, Jussi Lahtinen wrote:
> Use code like this to show your form:
>
> Dim hForm As New MyForm
>
> hForm.Show()
>
> And your form
Use code like this to show your form:
Dim hForm As New MyForm
hForm.Show()
And your form should have method to show the progress, example:
Do
hForm.RefreshProgress()
Loop Until ProgressIsReady = True
Jussi
On Sat, Apr 20, 2013 at 12:14 PM, bill-lancaster wrote:
> I want to open a form an
On Sat, 2013-04-20 at 02:14 -0700, bill-lancaster wrote:
> I want to open a form and immediatly display the progress of a process.
>
> If I do it in the form_open event the form isn't displayed untill the
> process is complete.
>
> I can't find an event for the form that will do this simple thing
I want to open a form and immediatly display the progress of a process.
If I do it in the form_open event the form isn't displayed untill the
process is complete.
I can't find an event for the form that will do this simple thing!
Any ideas?
--
View this message in context:
http://gambas.8142