Re: [Gambas-user] Form open - simple question

2013-04-20 Thread Jussi Lahtinen
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

Re: [Gambas-user] Form open - simple question

2013-04-20 Thread Jussi Lahtinen
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

Re: [Gambas-user] Form open - simple question

2013-04-20 Thread Jussi Lahtinen
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

Re: [Gambas-user] Form open - simple question

2013-04-20 Thread Bruce
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

[Gambas-user] Form open - simple question

2013-04-20 Thread bill-lancaster
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