
Quote from PaulJonestindall on April 6, 2021, 1:24 pmI've noticed some odd behavior with the Splash Screen also. Perhaps I don't understand what it's really for or it doesn't quite work as intended. Either way, when I use it it will show briefly, the progress bar will zoom across and the main window opens. I assumed it's intended to show while Startup action commands are executing but some of my programs have quite a lot of startup actions that have to be run before it starts. If I don't use Suspend or disable clickable objects this could reek havoc. I've gone so far as creating a status bar for a lot of my programs.
SetVar "[Status]" "Loading Database..."
SetVar "[Status]" "Checking WiFi connection..."
SetVar "[Status]" "Reading DAT file..."
etc...Now, here's something I discovered, thought was odd... One of my programs was used on a dual monitor system and I saw the splash open on one monitor while the main window opened on the other. The splash did stay until the startup actions finished. However without suspend or something else any buttons or menu items in the main window are clickable.
So, the splash does not stay on top and it doesn't prevent mouse clicks or keyboard input. And the progress bar doesn't really show the progress of actions performed. To be of any real use it should show as a percentage of lines executed in startup?
I use the splash as merely a program identifier, something to show the program logo, however briefly.
I've noticed some odd behavior with the Splash Screen also. Perhaps I don't understand what it's really for or it doesn't quite work as intended. Either way, when I use it it will show briefly, the progress bar will zoom across and the main window opens. I assumed it's intended to show while Startup action commands are executing but some of my programs have quite a lot of startup actions that have to be run before it starts. If I don't use Suspend or disable clickable objects this could reek havoc. I've gone so far as creating a status bar for a lot of my programs.
SetVar "[Status]" "Loading Database..."
SetVar "[Status]" "Checking WiFi connection..."
SetVar "[Status]" "Reading DAT file..."
etc...
Now, here's something I discovered, thought was odd... One of my programs was used on a dual monitor system and I saw the splash open on one monitor while the main window opened on the other. The splash did stay until the startup actions finished. However without suspend or something else any buttons or menu items in the main window are clickable.
So, the splash does not stay on top and it doesn't prevent mouse clicks or keyboard input. And the progress bar doesn't really show the progress of actions performed. To be of any real use it should show as a percentage of lines executed in startup?
I use the splash as merely a program identifier, something to show the program logo, however briefly.