How to Create a delay without a timer?



How to Create a delay without a timer?..

Answer / Devesh Mittal

In Delphi, creating a delay without using a Timer requires emulating sleep by periodically checking the system time: For example, repeat until (System.CurrentTime - start_time) > delay_in_seconds.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Determine whether itis a canvas is a Metafile Canvas?

1 Answers  


What are the ways to close a modal form?

1 Answers  


Does Delphi 5 include Resource Workshop and InstallShield Express?

1 Answers  


How to Add accelerator characters to TTabsheets?

1 Answers  


Why IBM hire you only?

1 Answers   Goldman Sachs, IBM, Time,


How to Get the windows directory?

1 Answers  


How to Determine if an object supports a property?

1 Answers  


How to custom draw menu items?

1 Answers  


How to eject a CD-ROM in code?

1 Answers  


What is the target load order?

1 Answers  


How to Draw in scale without using Windows Mapping Modes?

1 Answers  


How to Use JPEGs from resource files ?

1 Answers  


Categories