I am very new to Delphi and visual programming in general.
I work for a medical claims clearinghouse. We supply our clients with a Windows-style claims editor. The claim files they edit often need filtering for invalid characters or data scrubbing before loading the files into the editor. Right now I'm doing this with Pascal programs that I have created. The claims editor allows me to preload the name of the Pascal scrub program into a 'preprocess' field and then when the user selects a claim file to edit at his site, the scrubbing appears to be done from within the Windows editor program; that is, except for an unimpressive looking Dos window that opens up until the scrubbing is done.
I want to do these scrubs in Delphi and have a professional looking Delphi form appear that shows the name of the file with a message that it is being processed. Then, just have the form disappear when its done, all without any user intervention.
The problem I am having is that I don't know how to call a Delphi program, show the form and information, and then have it run straight through until its done without stopping at some point and requiring user intervention to finish.
I tried using the form event 'OnActivate' to trigger the scrub procedure, and the scrub worked fine, but the problem is the form doesn't show until the program is finished running. Is there another way to start the scrub procedure after the form appears without a user-triggered event?
Sorry for the length of this question.
At some point, I'd like the entire claims editor to be written in Delphi.