SESSION:SET-WAIT-STATE("compiler")!

dkellgren

Member
I just stumbled across this and wondered if anyone knew the difference between:

SESSION:SET-WAIT-STATE("compiler")

and

SESSION:SET-WAIT-STATE("general")

We always use the "general" one to get an hour glass and halt user activity while the system is busy. But I just noticed the "compiler" option. When you use it, you get a "SUN DIAL" for a pointer! But I'm wondering what the real effect of it is.
 
They all do the same thing. E.g. block user input until the wait-state is reset. The 4GL has a number of built-in icons that you can use:

AppStarting
Arrow
Cross
Help
IBeam
No
Size
Size-E
Size-N
Size-NE
Size-NW
Size-S
Size-SE
Size-SW
Size-W
UpArrow
Wait
Glove
Compiler-Wait

For example:
SESSION:SET-WAIT-STATE("Glove").

From Version 9.0 (I think) you could also supply your own icon by supplying the path/filename of an .ico or .ani (animated) file. For example:

SESSION:SET-WAIT-STATE("c:\windows\cursors\banana.ani").
 
Top