Count Zero's Nifty PowerBuilder Page
Last updated: 3/22/2011
This PBL has several objects in it. The thing you might be interested in is the
Run & Wait stuff. This app has a NVO with a function that runs another program
(either Windows or DOS, or even a DOS command) and then waits for it to complete.
RUNWAIT.ZIP Zip-format (13K) (RUNWAIT.PBL)
NOTE:
On 11/3/97 I updated both of the following PBLs because of an article in the PBDJ
which described a better method for creating an automatic-update time display.
Now the date&time are displayed using a datawindow and no script, rather than a
static text field updated by several lines of script in a timer event.
This PBL has one window in it that you can open from your MDI_FRAME which will give
you a status-bar overlaying the right half of the microhelp bar. It puts the
date & time on the right, then it has an area that can be used as a progress
meter, and then a small area for displaying anything else. We used the left-most
section to display a test-mode indicator so the user would know that they are not
seeing live data, and not updating the database.
TIMEBAR.ZIP Zip-format (11K) (TIMEBAR.PBL)
This PBL takes the microhelp timebar one step further and turns it into a kind of
Windows 95(tm) like task bar. All open sheets (up to 6, but you could make it more
without too much work) get their own button, like buttons on the W95 taskbar.
When the user clicks on a button, it brings that window to the top. I also put
in script to enable right-click on the buttons to see the full text in "bubble help"
when the window title doesn't fit on the button face.
TASKBAR.ZIP Zip-format (12K) (TASKBAR.PBL)
countz@mchsi.com