Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: "Loading program" window 1998-08-14 -- Rick Martin Try adding these Templates to your system. Then add the StartWindow to your
main application. Next, add the CloseStartWindow Code template to your
MainFrame .Init method. I used priority 1. The only caveat is you'll need
to have your application setup with a seperate data DLL. As far as I know,
there isn't a way to insert code in front of DCTInit in the application.
But, if you have a separate data DLL the ProgramSetup Embed comes before
the initialization of external DLLs. Be careful of what data you display
on the StartWindow. Remember you don't have any data file access yet.
Images should work fine, though.
#EXTENSION(StartWindow,'Initial Startup Window'),APPLICATION
#AT(%GlobalData)
StartWindow WINDOW,AT(,,181,77),CENTER,TIMER(100),GRAY,DOUBLE
STRING('Loading Application . . .'),AT(56,33),USE(?StartString1)
END
#ENDAT
#AT(%ProgramSetup),FIRST
Open(StartWindow)
Accept
Case Event()
Of Event:Timer
Break
End
End
#ENDAT
#CODE(CloseStartWindow,'Put this code template where you want to close
start Window'),REQ(StartWindow)
Close(StartWindow)
#!
Today is November 21, 2024, 6:38 am This article has been viewed 35205 times.
|
|