Work-around for Busy Indication in Form In Dialogs

Intro

You can show Busy Indication in your Servoy solution, by using a FREE Plug-in (http://www.servoy.com/forum/viewtopic.php?f=12&t=7246). Another, good news is Patrick Talbot of Servoy stuff has made this Plug-in, Web Compatible (http://servoy-stuff.net/busy.php). However,one disadvantage of this Plug-in is that the busy indication is only applied to the parent form. That is, if you are showing a Form in Dialog,you cannot use this Plug-in to show the Busy Indication on the Dialog form. In one of my Project, I was in need of the Busy Indication in Dialog form. I would like to share the work-around that I have followed to achieve the same.

Work-around

For a work-around, you can add a Transparent image (separately stored in your media library) to your Form that can be shown in the Dialog or you can use solution model to dynamically add an image to the form before the form gets loaded. Make sure the transparent property of the Image has been set to true. Now, you can set the height and width of the image to the height and width of the Dialog to create the same illusion for showing a busy indication. But, this will not block the user intervention. User can still interact with the form’s contents. To Block the user Intervention, just attach a blank method to the image on its on-action event- just a blank method! So, when a user clicks on any of the form content, s/he ultimately clicks on the image and method attached with the on-action event will get fired, which will do nothing, but prevent user intervention.

150 150 Burnignorance | Where Minds Meet And Sparks Fly!