blob: cdbe85baf59fb9047a2491c5067ded6d5e867acd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
class Home extends TPage
{
public function drop1_ondrop($sender, $param)
{
$draggable=$param->getDroppedControl()->ID;
$this->label1->Text="Dropped ".$draggable." at: <br/>Top=".$param->getOffsetTop()." Left=".$param->getOffsetLeft();
}
public function drop2_ondrop($sender, $param)
{
$draggable=$param->getDroppedControl()->ID;
$this->label2->Text="Dropped ".$draggable." at: <br/>Top=".$param->getOffsetTop()." Left=".$param->getOffsetLeft();
}
}
|