I have a somewhat-long-running stored procedure being called from a PB application. I want the UI to show an indicator that it is processing, but I don’t know the exact progress. That is, I can’t say whether it is 10% or 90% done. All I know is when it is done.
To give the user something to look at I’d like to put a “Inderterminate” (horizontal) progress bar on the window somewhere. I’ve looked at the documentation for the built-in HProgressBar control and don’t see how to force this behavior.
Short of writing my own control or importing another one, is there a way to accomplish this?
Powerbuilder doesn’t include a built-in way to do this, but you can use the Win32 controls. There is a good article on this (which includes an example of progress bars!) here:
It’s an older article but it still applies to the newer versions of Powerbuilder.