Кнопка открыть
$dialog = c("openDlg1")->execute();
c("sqPlayer1")->open(c("openDlg1")->fileName);
c("sqPlayer1")->play();
Таймер
c('Form1->progressBar1')->position = c('Form1->sqPlayer1')->positionPr;
Нажатие мышки
global $bool_move_treck;
c('Form1->timer2')->enable = false;
$bool_move_treck = true;
c('Form1->sqPlayer1')->positionPr = round($x/(c('Form1->progressbar1')->w/100));
c('Form1->progressBar1')->position = c('Form1->sqPlayer1')->positionPr;
Отжатие мышки
global $bool_move_treck;
c('Form1->timer2')->enable = true;
$bool_move_treck = false;
Движение мышки
global $bool_move_treck;
If($bool_move_treck == true){
c('Form1->sqPlayer1')->positionPr = round($x/(c('Form1->progressbar1')->w/100));
c('Form1->progressBar1')->position = c('Form1->sqPlayer1')->positionPr;
}
Таймер
c('Form1->progressBar1')->position = c('Form1->sqPlayer1')->positionPr;