RPC HELP SplVista SplaschOpenClose

RPC Broker Help Home VistA Splash Screen Procedures Example

Two procedures in SplVista.PAS unit are provided to display a VistA Splash Screen when an application loads: procedure SplashOpen; procedure SplashClose(TimeOut: longint); It is recommended that the VistA Splash Screen be opened and closed in the section of Pascal code in an application's project file (i.e., .DPR).

To use the VistA Splash Screen in an application:
 * 1) Open your application's project (.DPR) file (in Delphi, choose View | Project Source).
 * 2) Include the SplVista in the uses clause of the project source.
 * 3) Call SplashOpen immediately after the first form of your application is created and call SplashClose just prior to invoking the Application.Run method.
 * 4) Use the TimeOut parameter to ensure a minimum display time. The TimeOut parameter is the minimum number of milliseconds the screen will be shown.

The VistA Splash Screen is illustrated below:

For a demonstration using the VistA Splash Screen, please run the BrokerExample.EXE located in the ..\BDK32\Samples\BrokerEx directory.