Re: [Gambas-user] Showing the Form's Gui

2010-04-16 Thread Fabien Bodard
you can use a loading form that you manage from the backend ... LaodingForm.Load LoaddingForm.TopOnly = true LoadingForm.SHow 'loop in the loading process Do loadingForm.Value = x wait 0.1 loop loadingform.Close if you want you can set this form persistant for the global loading idea i t

Re: [Gambas-user] Showing the Form's Gui

2010-04-15 Thread richard terry
On Thursday 15 April 2010 08:07:56 Fabien Bodard wrote: The method suggested using the timer works for my use really well, and really simply. Users are much more tolerant if the gui is showing and processing going on in the background even if the busy cursor is showing briefly. This particula

Re: [Gambas-user] Showing the Form's Gui

2010-04-15 Thread Jorge Carrión
Gracias Ricardo. Es lo que estaba buscando para un par de formularios rebeldes. Con algún retoque me vale. Un saludo. 2010/4/15 Fabien Bodard > i don't know if richard want the user to be able to do anything on the > showed form before the tatal loading ... > > > the better way will be to do

Re: [Gambas-user] Showing the Form's Gui

2010-04-14 Thread Fabien Bodard
i don't know if richard want the user to be able to do anything on the showed form before the tatal loading ... the better way will be to do the loading in the timer by use the timer.trigger function the form .enabled will be set to false and the timer just set the form.enabled to true when the

Re: [Gambas-user] Showing the Form's Gui

2010-04-14 Thread Ricardo Díaz Martín
This is a gb2 project example about we were talking. Excuse me but is in Spanish (I got no enough time to do something better than this). I was cutting/pasting for a while and deleting extra thinks to get this example. If not exactly the same I use but I hope It can help you. Caveat, I need an exp

Re: [Gambas-user] Showing the Form's Gui

2010-04-14 Thread Jorge Carrión
Caveat: Thank you very much for you module. I'll read it carefully. Regards 2010/4/14 Caveat > Hi Jorge, > > While we wait to see if Ricardo wants to share his open forms method > (I'm also interested to see it), here's some code I have used before > (see attachment) where the opening/closing of

Re: [Gambas-user] Showing the Form's Gui

2010-04-14 Thread Caveat
Hi Jorge, While we wait to see if Ricardo wants to share his open forms method (I'm also interested to see it), here's some code I have used before (see attachment) where the opening/closing of forms is handled by a module, which I've called RunController. The module is set as the Startup Class (

Re: [Gambas-user] Showing the Form's Gui

2010-04-14 Thread Jorge Carrión
Ricardo: Could you post a example of your open forms method? I'm very interested on it. It sound like something I have searching for a long time. Gracias Jorge 2010/4/13 Ricardo Díaz Martín > If It can help to someone, this is I always do: > > When I'm going to open a form, I always call my o

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread Ricardo Díaz Martín
If It can help to someone, this is I always do: When I'm going to open a form, I always call my own OpenForm(FormName as String, Parameters as String) sub. This sub is not inside the form I'm going to open. It's a public sub that's is inside a utilities module. OpenForm() sub create new object wi

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread Doriano Blengino
Fabien Bodard ha scritto: > 2010/4/13 Doriano Blengino : > >> Fabien Bodard ha scritto: >> >>> just remember to put a flag to say when the data are loaded ! >>> >>> >> What would be the reason for this flag? >> > if the form is showed and the data not accessible ? > Really, t

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread Fabien Bodard
2010/4/13 Doriano Blengino : > Fabien Bodard ha scritto: >> just remember to put a flag to say when the data are loaded ! >> > What would be the reason for this flag? if the form is showed and the data not accessible ? > >> 2010/4/13 richard terry : >> >>> On Tuesday 13 April 2010 20:50:26 Doriano

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread Doriano Blengino
Fabien Bodard ha scritto: > just remember to put a flag to say when the data are loaded ! > What would be the reason for this flag? > 2010/4/13 richard terry : > >> On Tuesday 13 April 2010 20:50:26 Doriano Blengino wrote: >> >> Thanks doriano, that worked a treat, looks much better, will tr

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread Fabien Bodard
just remember to put a flag to say when the data are loaded ! 2010/4/13 richard terry : > On Tuesday 13 April 2010 20:50:26 Doriano Blengino wrote: > > Thanks doriano, that worked a treat, looks much better, will try with some > other  forms which have the same problem. > > >> richard terry ha scr

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread richard terry
On Tuesday 13 April 2010 20:50:26 Doriano Blengino wrote: Thanks doriano, that worked a treat, looks much better, will try with some other forms which have the same problem. > richard terry ha scritto: > > Often with forms one wants to start some processing after the form has > > loaded - in m

Re: [Gambas-user] Showing the Form's Gui

2010-04-13 Thread Doriano Blengino
richard terry ha scritto: > Often with forms one wants to start some processing after the form has loaded > - in my case, as my app is quite database intensive, it could involve loading > sometimes quite large amounts of data. > > I'd ideally like to have the form load visually, and then the data

[Gambas-user] Showing the Form's Gui

2010-04-13 Thread richard terry
Often with forms one wants to start some processing after the form has loaded - in my case, as my app is quite database intensive, it could involve loading sometimes quite large amounts of data. I'd ideally like to have the form load visually, and then the data loading to take place once the fo