Re: [Gambas-user] Progress Bar

2014-12-17 Thread T Lee Davidson
Try: For X = 1 To 100 Step 1 ProgressBar1.Value = X / 100 ProgressBar1.Refresh Wait 0.1 Next Lee __ "Artificial Intelligence is no match for natural stupidity." On 12/17/2014 03:33 PM, Christian e Ana Luiza Britto wrote: > Hi I'm trying to build a form with a progress ba

[Gambas-user] Progress Bar

2014-12-17 Thread Christian e Ana Luiza Britto
Hi I'm trying to build a form with a progress bar. I make a simple For...Next loop to increment the progress bar value. The problems is that the Form only appears on the screen when the loop reach the final value. What I have to do to see the working bar progress? Christian Public Sub Form_Show()

Re: [Gambas-user] Progress bar error while closing (Form_Close)

2012-11-05 Thread Sebastian Kulesz
On Mon, Nov 5, 2012 at 11:55 AM, J Sundar wrote: > Please bear with me. I have not clearly understood as i have not tried this > method earlier. The process "pFileCopy" is actually from other module. So i > do not know how to implement your suggestion. > > > On Mon, Nov 5, 2012 at 7:37 PM, Fabien

Re: [Gambas-user] Progress bar error while closing (Form_Close)

2012-11-05 Thread J Sundar
Please bear with me. I have not clearly understood as i have not tried this method earlier. The process "pFileCopy" is actually from other module. So i do not know how to implement your suggestion. On Mon, Nov 5, 2012 at 7:37 PM, Fabien Bodard wrote: > you must to add a flag to test if th form

Re: [Gambas-user] Progress bar error while closing (Form_Close)

2012-11-05 Thread Fabien Bodard
you must to add a flag to test if th form can be closed if not bCanClose then Stop Event MakeCopy endif 2012/11/5 J Sundar > I made a program which uses progress bar for removing and copying > files/folder. For this I made a different form and calling it each time > user remove/copy files

[Gambas-user] Progress bar error while closing (Form_Close)

2012-11-05 Thread J Sundar
I made a program which uses progress bar for removing and copying files/folder. For this I made a different form and calling it each time user remove/copy files. What i am trying to do is that when user click on close button (x) of progress bar i have tell user that "Please wait till process reach