0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
$list = array(
1 => "panel1",
2 => "panel3",
3 => "opt",
4 => "listBox1",
);
//-----------------------------
$x = $list[1];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[1])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[1])->h = $dev_h;
$x = $list[2];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[2])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[2])->h = $dev_h;
$x = $list[3];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[3])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[3])->h = $dev_h;
$x = $list[4];
$dev_w = file_get_contents ("dev/".$x."_w.ini");
c($list[4])->w = $dev_w;
$dev_h = file_get_contents ("dev/".$x."_h.ini");
c($list[4])->h = $dev_h;
Запись в текстовые файлы информацию о позиции объектов (X и Y)
Запостил:
NodnolStudio ,
24.09.2016 (Updated 31.03.2018 )
Комментарии (3) RSS