ericl
May 17, 2006, 8:30am
1
I want to have a simple message window popup displaying a loading window prior to loading a form with data as it can take a few secs to load. after the form is loaded the message would disappear.
I just cannot get my head around the actual message form itself all the dialogue forms appear to insist they have buttons even formindialogue.
I can see the Showform Method but cant see any closeform method.
I am sure I am missing seeing something obvious.
I wonder whether you have seen this great tip from Bob Cusick on the Servoy Magazine site…it may help with what you are trying to achieve
http://www.servoymagazine.com/home/2005 … essba.html
HTH
ericl
May 17, 2006, 10:04am
3
Thanks for reply, Edward.
I dont really need a bean for what I want to achieve but the bean would presumab. I just need to display a message.
A splash form without a button would be an example.
But I dont think showFormInDialog is what I want either as no code is executed until the dialog is closed
I’m sure there must be something fundamental that I am missing.
IT2Be
May 17, 2006, 10:07am
4
You can use the Splash Plugin for that.
It loads on top of your other forms but runs in its own thread so the rest of the code is executed (like you want to so it seems).
You can hide the Splash after x seconds, on a mouseclick and/or via scripting.
The best: you can get if for free here: Servoy Components – Plugins, Beans, Web Components, Angular Services & Servoy Developer Consulting
Ciao
ericl
May 17, 2006, 2:27pm
5
Thanks,Marcel.
I have downloaded and installed the plugins.
I have tried calling the code from the form load event but nothing happens? It does not display anything and there are no error messages.
I have used the move sample code option and tried to trace it in debugger. It executes the line of code ok.
I am using servoy 2.2…4 and java 1.4.2.05
IT2Be
May 17, 2006, 3:59pm
6
I can’t think of ANY reason for that. I tested it and it works as for many co-developers…
Is there any code before the Splash code that prevents it from working correct?
When you don’t find a reason then please move the discussion to our forum http://forum.it2be.com so I can help you.
Ciao
ericl
May 17, 2006, 4:17pm
7
Marcel,
many thanks for your kind assistance. I am sure it is me and will continue this discussion in your forum.