![]() |
|
#1
|
|||
|
|||
|
Hey guys!
How do I go about to let a certain form only display for a specific time after which it then closes? Thanks |
|
#2
|
|||
|
|||
|
put a TTimer on the form :
Timer1.Interval := 5000; // Five Seconds. procedure TForm1.Timer1Timer(Sender: TObject); begin Close; end; wish it helps ! Mahya |
|
#3
|
|||
|
|||
|
Put a Timer component on the form, adjust the timer interval , disable the timer and in the OnTimer event write the following:
Code:
Hide(); Timer1.Enabled:= false; Code:
Timer1.Enabled:= true; |
![]() |
| Thread Tools | |
| Display Modes | |
|
|