[Lazarus] sleep function don't passed before executing the next statement

Eric Kom erickom at metropolitancollege.co.za
Mon Nov 19 10:08:59 CET 2012


Good day,

after included the Crt library in my lazarus file, when I called the 
functions sleep() or delay(), the function do not execute the previous 
statement, pass  and execute the next as below:

StatusBar.SimpleText := 'My name is Tux';
sleep(100);
StatusBar.SimpleText := 'am ready';

-- 
Kind Regards

Eric Kom

System Administrator - Metropolitan College
  _________________________________________
/ You are scrupulously honest, frank, and \
| straightforward. Therefore you have few |
\ friends.                                /
  -----------------------------------------
    \
     \
         .--.
        |o_o |
        |:_/ |
       //   \ \
      (| Kom | )
     /'\_   _/`\
     \___)=(___/

2 Hennie Van Till, White River, 1240
Tel: 013 750 2255 | Fax: 013 750 0105 | Cell: 078 879 1334
erickom at kom.za.net | erickom at metropolitancollege.co.za
www.kom.za.net | www.kom.za.org | www.erickom.co.za

Key fingerprint: 513E E91A C243 3020 8735 09BB 2DBC 5AD7 A9DA 1EF5





More information about the Lazarus mailing list