A little late, but you can do LockWindowUpdate.  Its a typical MS 
crock.  You can only have on lock ever, so there is no Unlock, just 
call it again with 0 for handle.

Incidentally, we you cant persuade something to update right away, 
use the above... ie 

  LockWindowUpdate (form.handle); 
  LockWindowUpdate (0);

On  7 Oct 99 at 12:37, [EMAIL PROTECTED] wrote:

> 
> is there a better way of doing lots of update to a form.
> 
> ie 
> 
> left := 0;
> top := 0;
> label1.caption := 'test';
> 
> jumps the form left then up then changes the text, refreshing the form
> inbetween. Is there a way you can put code in a block so it updates the
> form after the block has executed?
> 
> thanx
> James
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 
Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to