blob: d375b4ff87a22890fad7bc05aa1c5c74468534d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
class Home extends TPage
{
public function startClicked($sender,$param)
{
$this->time1->startTimer();
}
public function stopClicked($sender,$param)
{
$this->time1->stopTimer();
}
public function timerCallback($sender,$param)
{
$this->label1->Text="Current time is ".date('H:i:s');
}
}
|