summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDraggable/Home.php
blob: 348eea557235a31a16a1c0e3711062fc4105b3b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

class Home extends TPage
{
	protected function drag1_start($sender, $param)
	{
		$offset=$param->getCallbackParameter()->offset;
		$this->label1->Text.="<br/>Start drag at (".$offset->left.",".$offset->top.")";
	}

	protected function drag1_stop($sender, $param)
	{
		$offset=$param->getCallbackParameter()->offset;
		$this->label1->Text.="<br/>Stop drop at (".$offset->left.",".$offset->top.")";
	}
}