<?php $x_pos = cursor_pos_x(); $y_pos = cursor_pos_y(); c("popupMenu5")->popup($x_pos, $y_pos);
if ($format == "xml") { c("panel4")->text = " eXtensible Markup Language file"; } if ($format == "kpp") { c("panel4")->text = " KeyPad plugin file"; } if ($format == "ini") { c("panel4")->text = " INI file"; } if ($format != "inf" and $format != "tml" and $format != "htm" and $format != "php" and $format != "ini" and $format != "css" and $format != "xml" and $format != "kpp" and $format != "cpp" and $format != ".~h" and $format[1] . $format[2] != ".h") { c("panel4")->text = " Normal text file"; } $x = c("pages1")->pageIndex + 1; c("richEdit1")->text = c("memo{$x}")->text; if (get_key_state(VK_RBUTTON) < 0) { $x1 = cursor_pos_x(); $y1 = cursor_pos_y(); if (c("num")->items->count == 1) { c("mov")->enabled = false; } else { c("mov")->enabled = true; } c("popupMenu4")->popup($x1, $y1); } if (count(c("Form1")->componentList) > 0) { foreach (c("Form1")->componentList as $obj) { if ($obj->class_name == "TSynEdit") { $obj->font->size = c("memo1")->font->size; } } }
<?php global $poscur1, $poscur2, $pc; if ($pc == 1) { $poscur11 = cursor_pos_x(); $poscur22 = cursor_pos_y(); $data1 = $poscur1 - $poscur11; $data2 = $poscur2 - $poscur22; if ($data1 < -20) { c("shape2")->x = 50; c("map")->show(); c("map->pages2")->pageIndex = c("pages2")->pageIndex; if (c("pages2")->pageIndex == 0) { c("map->richEdit1")->show(); c("map->html")->hide(); c("map->label8")->caption = " Map"; c("map->listBox3")->hide(); c("map->Project")->hide(); } if (c("pages2")->pageIndex == 1) { c("map->richEdit1")->hide(); c("map->html")->show(); c("map->listBox3")->hide(); c("map->Project")->hide(); c("map->label8")->caption = " HTML tags"; } if (c("pages2")->pageIndex == 2) { c("map->richEdit1")->hide(); c("map->html")->hide(); c("map->listBox3")->show(); c("map->Project")->hide();
<?php global $sx, $sy, $fx, $fy; c('map')->x = $fx - ($sx - cursor_pos_x()); c('map')->y = $fy - ($sy - cursor_pos_y());
<?php $x = c("pages3")->pageIndex + 1; c("richEdit1")->text = c("tmemo{$x}")->text; if (get_key_state(VK_RBUTTON) < 0) { if (strlen(c("tmemo1")->selText) == 0) { c("itcut")->enabled = false; c("p2")->enabled = false; c("p3")->enabled = false; } else { c("itcut")->enabled = true; c("p2")->enabled = true; c("p3")->enabled = true; } c("popupMenu3")->popup(cursor_pos_x(), cursor_pos_y()); } c("controltab")->caption = 2; $Len1 = strlen($name); $format = $name[$Len1 - 3] . $name[$Len1 - 2] . $name[$Len1 - 1]; if ($format == "tml") { c("panel4")->text = " HTML file"; } if ($format == "cpp" or $format == ".~h" or $format[1] . $format[2] == ".h") { c("panel4")->text = " C++ source file"; } if ($format == "htm") { c("panel4")->text = " HTM file"; } if ($format == "php") { c("panel4")->text = " php file"; }
<?php global $position; if ($position == 1) { c("shape3")->x = cursor_pos_x() - c("Form1")->x - 10; }
<?php global $sx, $sy, $fx, $fy; $sx = cursor_pos_x(); $sy = cursor_pos_y(); $fx = c('map')->x; $fy = c('map')->y; c('map->timer1')->enable = true;
<?php c("Form1->popupMenu6")->popup(cursor_pos_x(), cursor_pos_y());