TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: SCOTT CLARK
date: 1997-10-21 20:58:00
subject: Show or ShowModal of a `Progress Form`

Hi All
I have a program which does a fair bit of processing and so I want to
display a "Please Wait..." dialog box with a progress bar and a TAnimate
component.
This is not a problem, but when I create a form and use the Show method
for displaying it it appears to be acting strangely.  Firstly, I cannot
get any labels on the form to display, and the abort button I put on
the form is just shown as a white square where the button was placed. Also
the form cannot be dragged around while it is shown.
If I use ShowModal to display the form then it acts as I would expect it
to act, but none of the code I put in the OnShow event gets executed.  
Am I doing something really daft here or is it Delphi 3 or what?  I am
new to all this and it is driving me mad, as the underlying code works
fine - its just the frilly bits I am trying to add that do not, and I
was led to believe that Delphi was good at all that stuff.  :(
Bye,
  __
 (__  _  _ ___ ___
 ___)(_ (_) |   |
Scott Clark
FidoNet: 2:250/266.2
E-Mail:  scott@falihax.demon.co.uk
Web:     www.falihax.demon.co.uk
--- Bonzo 1.3.0.12 #0006
---------------
* Origin: Halifax (2:250/366.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.