Recent

Author Topic: Problem with label  (Read 1332 times)

wdn

  • New Member
  • *
  • Posts: 12
Problem with label
« on: August 30, 2014, 03:50:15 pm »
 The source:
beep;
       lMessage.Caption:= 'Connected to blacklist';
       //showmessage('hold');

       sleep(3000);
       lMessage.Caption := 'cont';
     end;  {with}
     end;  {if}

   except

   
Problem:
the first caption is not displayed, when activating the showmessage it does

Wim

ChrisF

  • Hero Member
  • *****
  • Posts: 542
Re: Problem with label
« Reply #1 on: August 30, 2014, 03:54:34 pm »
Application.ProcessMessages before Sleep.

wdn

  • New Member
  • *
  • Posts: 12
Re: Problem with label
« Reply #2 on: August 30, 2014, 04:17:20 pm »
I found this also 5 min ago and it works!

 

TinyPortal © 2005-2018