← servoy magazine

[Article] Making any progress?

  • Articles

by Marcel Trapman
www.it2be.com

A lot of people asked me if it was possible to bend the splash plugin a little so they could use it as a screen showing while tasks are performed by their solution.

Well, the job is done! I created a new function called hide() (how surprising) which hides the splash via a method. The rest is untouched and I did that deliberately. Untouched means you still have to give in a number of seconds after which the window closes. The reason is simple, you don't want to freeze the interface when something goes wrong. If you do want to do that simple fill in something like 3600 seconds and it will hang in there for an hour.

Also included are two functions that don't belong there but I didn't want to rename the thing.

1. setWindowFullScreen(): does what it says, it sets the solution window to full screen;
2. setFullScreen(true/false): this one set the solution window to full screen and hides the menu/taskbar (dock on mac). One would think this is something like kiosk mode but that isn't true. It looks like it but it isn't.

Hope this fullfills some more needs. Beware, this is not freeware anymore but beerware! When you like it send me a couple of local beers and I will be very happy!!!!

Oh, you can get it at my website...

Cheers,

Marcel

Comments (1)

Stef
Great job, Marcel! I have already implemented it, works great! Thanks a lot, Stef