PowerBuilder Code Beautifier Formatter
source code
nvo_pbformatter from nonvisualobject
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 |
forward global type nvo_pbformatter from nonvisualobject end type type s_indent_info from structure within nvo_pbformatter end type end forward type s_indent_info from structure string source string source_new string pre_this string line string line_new string char integer tab_next integer tab_this integer pos boolean isampersand boolean ischoosecase boolean issqlline boolean ismultilinenoendif string words[] boolean isampersandend end type global type nvo_pbformatter from nonvisualobject autoinstantiate event ue_note ( ) end type type prototypes end prototypes type variables constant string CONST_SPACE = " " constant string CONST_TAB = "~t" constant string CONST_CR = "~r" constant string CONST_LF = "~n" constant string CONST_CRLF = "~r~n" constant string CONST_SINGLEQUOTE = "'" constant string CONST_DOUBLEQUOTE = "~"" constant string CONST_TILDE = "~~" constant string CONST_SEMICOLON = ";" constant string CONST_AMPERSAND = "&" constant string CONST_SLASHLEFT = "/" constant string CONST_ASTERISK = "*" constant string CONST_COMMENTS1 = "//" constant string CONST_COMMENTS2 = "/*" constant string CONST_COMMENTS3 = "*/" // string PB_ScriptWord string PB_ReservedWord string PB_SqlWord private: s_Indent_Info Indent_Info end variables forward prototypes public function string of_remove_noprintable (string as_line) public function string of_replace_tab2space (string as_line) public function boolean of_isidentifiers (string as_char) public function boolean of_isidentifiers_first (string as_char) public subroutine z_pb_data () public function integer of_save_new_words (string as_word, ref string rsa_words[]) public function long of_search_new_word (string as_word, string asa_words[]) public function boolean of_isemptyline (string as_line) public function string of_get_word (string as_source, ref integer ai_pos, ref boolean ab_isfunction) public function integer of_indent_code (string as_alphatype, ref s_indent_info asu_indent) public function integer of_indent_expression (s_indent_info asu_indent, ref string rs_return) public function integer of_indent_quote (ref s_indent_info asu_indent) public function integer of_indent_semicolon (ref s_indent_info asu_indent) public function integer of_indent_reset (ref s_indent_info asu_indent) public function string of_get_next_line (ref string as_source) public function string of_convert_word (string as_word, ref string as_type) public function integer of_indent_slash (ref s_indent_info asu_indent) public function string of_trimleft (string as_text) public function string of_trimright (string as_text) public function string of_trim (string as_text) public function string of_remove_comments (string as_source) public subroutine of_get_line_prefix (ref s_indent_info asu_indent) public function string of_remove_quote (string as_text) public function integer of_match_sql (ref s_indent_info asu_indent, string as_line, ref integer ai_self, ref integer ai_next) public function string of_file_indent (string as_source, string as_parsemode) public function string of_indent (string as_source, string as_alphatype) public function integer of_checkstatement (string as_line) public function long of_lastpos (string as_source, string as_target, long al_start) public function long of_lastpos (string as_source, string as_target) end prototypes event ue_note;//==================================================================== // Please write "TO DO LIST" //==================================================================== end event public function string of_remove_noprintable (string as_line);//==================================================================== // Function: nvo_pbformater.of_remove_noprintable() //-------------------------------------------------------------------- // Description: Delete the spaces and TAB characters before and after each line of code Remove non-PB script characters //-------------------------------------------------------------------- // Arguments: // string as_line //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_remove_noprintable ( string as_line ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Boolean lb_IsPrintableChar String ls_line,lch,lch2,lch1 String ls_CommentText Integer li_Pos ls_line = as_line li_Pos = of_LastPos(ls_line, "//" ) If IsNull(li_Pos) Then li_Pos = 0 If li_Pos > 0 Then Integer li_pos1 = 1 Integer li_c1 = 0 String ls_line_2 ls_line_2 = Left(ls_line, li_Pos - 1) Do While li_pos1 <= li_Pos Integer li_pos11 li_pos11 = Pos(ls_line_2, "'", li_pos1) If IsNull(li_pos11) Or li_pos11 < 1 Then li_pos11 = Pos(ls_line_2, "~"", li_pos1) End If If li_pos11 > 0 Then li_c1 ++ li_pos1 = li_pos11 + 1 Else Exit End If Loop If ( Mod(li_c1, 2) <> 0 ) Then Goto Label_Next //==================================================================== // Save the back string after "//" flag string ls_CommentText = Mid(ls_line, li_Pos) ls_line = Left(ls_line, li_Pos - 1) End If Label_Next: lb_IsPrintableChar = True Do While Len (ls_line) > 0 And lb_IsPrintableChar lch = Left (ls_line, 1) lch2 = Mid (ls_line, 2, 1) If ( Asc(lch) < 32 Or Asc(lch) > 126 ) And & (Not ( ( Asc(lch) >= 129) And ( Asc(lch2) >= 64) ) ) Then ls_line = Mid (ls_line, 2) Else lb_IsPrintableChar = False End If Loop lb_IsPrintableChar = True Do While Len (ls_line) > 0 And lb_IsPrintableChar lch = Right (ls_line, 1) lch1 = Mid (ls_line, Len(ls_line) - 1, 1) If Asc(lch) < 32 Or Asc(lch) > 126 And & (Not ( ( Asc(lch1) >= 129) And ( Asc(lch) >= 64) ) ) Then ls_line = Left (ls_line, Len (ls_line) - 1) Else lb_IsPrintableChar = False End If Loop ls_line = Trim(ls_line) If Len(ls_CommentText) > 0 Then If Len(Trim(ls_line)) > 0 Then Return ls_line + " " + ls_CommentText Else Return ls_CommentText End If Else Return ls_line End If end function public function string of_replace_tab2space (string as_line);//==================================================================== // Function: nvo_pbformater.of_replace_tab2space() //-------------------------------------------------------------------- // Description: //-------------------------------------------------------------------- // Arguments: // string as_line //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_replace_tab2space ( string as_line ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_line Integer li_pos ls_line = as_line // replace TAB => SPACE li_pos = 1 Do While li_pos > 0 li_pos = Pos(ls_line,CONST_TAB,li_pos) If li_pos > 0 Then ls_line = Replace(ls_line,li_pos,1,CONST_SPACE) Loop Return ls_line end function public function boolean of_isidentifiers (string as_char);//==================================================================== // Function: nvo_pbformater.of_isidentifiers() //-------------------------------------------------------------------- // Description: Is the character of the identifier //-------------------------------------------------------------------- // Arguments: // string as_char //-------------------------------------------------------------------- // Returns: boolean //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_isidentifiers ( string as_char ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Integer li_ascii //Get ASC code of character. li_ascii = Asc (as_char) // '0'= 48, '9'=57, 'A'=65, 'Z'=90, 'a'=97, 'z'=122 If li_ascii < 48 Or (li_ascii > 57 And li_ascii < 65) Or & (li_ascii > 90 And li_ascii < 97) Or li_ascii > 122 Then If as_char = '_' Or as_char = "#" Or as_char = "$" Or as_char = "%" Or as_char = "-" Then Return True Else Return False End If Else Return True End If end function public function boolean of_isidentifiers_first (string as_char);//==================================================================== // Function: nvo_pbformater.of_isidentifiers_first() //-------------------------------------------------------------------- // Description: //-------------------------------------------------------------------- // Arguments: // string as_char //-------------------------------------------------------------------- // Returns: boolean //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_isidentifiers_first ( string as_char ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Integer li_ascii //Get ASC code of character. li_ascii = Asc (as_char) // 'A'=65, 'Z'=90, 'a'=97, 'z'=122 If (li_ascii > 64 And li_ascii < 91 ) Or & (li_ascii > 96 And li_ascii < 123) Or as_char = '_' Then Return True Else Return False End If end function public subroutine z_pb_data ();/*---------------------------------------------------------------- PowerBuilder Object Functions ------------------------------------------------------------------ CheckBox ClassName String CheckBox Drag Integer CheckBox GetContextService Integer CheckBox GetParent PowerObject CheckBox Hide Integer CheckBox Move Integer CheckBox PointerX Integer CheckBox PointerY Integer CheckBox PostEvent Boolean CheckBox Print Integer CheckBox Resize Integer CheckBox SetFocus Integer CheckBox SetPosition Integer CheckBox SetRedraw Integer CheckBox Show Integer CheckBox TriggerEvent Integer CheckBox TypeOf Object CommandButton ClassName String CommandButton Drag Integer CommandButton GetContextService Integer CommandButton GetParent PowerObject CommandButton Hide Integer CommandButton Move Integer CommandButton PointerX Integer CommandButton PointerY Integer CommandButton PostEvent Boolean CommandButton Print Integer CommandButton Resize Integer CommandButton SetFocus Integer CommandButton SetPosition Integer CommandButton SetRedraw Integer CommandButton Show Integer CommandButton TriggerEvent Integer CommandButton TypeOf Object DataWindow AcceptText Integer DataWindow CanUndo Boolean DataWindow CategoryCount Integer DataWindow CategoryName String DataWindow ClassName String DataWindow Clear Integer DataWindow ClearValues Integer DataWindow Clipboard Integer DataWindow Copy Integer DataWindow CopyRTF String DataWindow Create Integer DataWindow CrosstabDialog Integer DataWindow Cut Integer DataWindow DataCount Long DataWindow DBCancel Integer DataWindow DBErrorCode Long DataWindow DBErrorMessage String /*---------------------------------------------------------------- PowerBuilder Object Functions ------------------------------------------------------------------ CheckBox ClassName String CheckBox Drag Integer CheckBox GetContextService Integer CheckBox GetParent PowerObject CheckBox Hide Integer CheckBox Move Integer CheckBox PointerX Integer CheckBox PointerY Integer CheckBox PostEvent Boolean CheckBox Print Integer CheckBox Resize Integer CheckBox SetFocus Integer CheckBox SetPosition Integer CheckBox SetRedraw Integer CheckBox Show Integer CheckBox TriggerEvent Integer CheckBox TypeOf Object CommandButton ClassName String CommandButton Drag Integer CommandButton GetContextService Integer CommandButton GetParent PowerObject CommandButton Hide Integer CommandButton Move Integer CommandButton PointerX Integer CommandButton PointerY Integer CommandButton PostEvent Boolean CommandButton Print Integer CommandButton Resize Integer CommandButton SetFocus Integer CommandButton SetPosition Integer CommandButton SetRedraw Integer CommandButton Show Integer CommandButton TriggerEvent Integer CommandButton TypeOf Object DataWindow AcceptText Integer DataWindow CanUndo Boolean DataWindow CategoryCount Integer DataWindow CategoryName String DataWindow ClassName String DataWindow Clear Integer DataWindow ClearValues Integer DataWindow Clipboard Integer DataWindow Copy Integer DataWindow CopyRTF String DataWindow Create Integer DataWindow CrosstabDialog Integer DataWindow Cut Integer DataWindow DataCount Long DataWindow DBCancel Integer DataWindow DBErrorCode Long DataWindow DBErrorMessage String DataWindow DeletedCount Long DataWindow DeleteRow Integer DataWindow Describe String DataWindow Drag Integer DataWindow Filter Integer DataWindow FilteredCount Integer DataWindow Find Long DataWindow FindCategory Integer DataWindow FindGroupChange Long DataWindow FindNext Integer DataWindow FindRequired Integer DataWindow FindSeries Integer DataWindow GenerateHTMLForm Integer DataWindow GetBandAtPointer String DataWindow GetBorderStyle Border (enumerated) DataWindow GetChanges Long DataWindow GetChild Integer DataWindow GetClickedColumn Integer DataWindow GetClickedRow Long DataWindow GetColumn Integer DataWindow GetColumnName String DataWindow GetContextService Integer DataWindow GetData Double DataWindow GetDataPieExplode Integer DataWindow GetDataStyle Integer DataWindow GetDataValue Integer DataWindow GetFormat String DataWindow GetFullState Long DataWindow GetItemDate Date DataWindow GetItemDateTime DateTime DataWindow GetItemDecimal Decimal DataWindow GetItemNumber Double DataWindow GetItemStatus dwItemStatus (enumerated) DataWindow GetItemString String DataWindow GetItemTime Time DataWindow GetMessageText String DataWindow GetNextModified Long DataWindow GetObjectAtPointer String DataWindow GetParent PowerObject DataWindow GetRow Long DataWindow GetSelectedRow Integer DataWindow GetSeriesStyle Integer DataWindow GetSQLPreview String DataWindow GetSQLSelect String DataWindow GetStateStatus Long DataWindow GetText String DataWindow GetTrans Integer DataWindow GetUpdateStatus Integer DataWindow GetValidate String DataWindow GetValue String DataWindow GroupCalc Integer DataWindow Hide Integer DataWindow ImportClipboard Long DataWindow ImportFile Long DataWindow ImportString Long DataWindow InsertDocument Integer DataWindow InsertRow Long DataWindow IsSelected Boolean DataWindow LineCount Integer DataWindow ModifiedCount Long DataWindow Modify String DataWindow Move Integer DataWindow ObjectAtPointer grObjectType DataWindow OLEActivate Integer DataWindow Paste Integer DataWindow PasteRTF Long DataWindow PointerX Integer DataWindow PointerY Integer DataWindow Position Integer DataWindow PostEvent Boolean DataWindow Print Integer DataWindow PrintCancel Integer DataWindow ReplaceText Integer DataWindow ReselectRow Integer DataWindow Reset Integer DataWindow ResetDataColors Integer DataWindow ResetTransObject Integer DataWindow ResetUpdate Integer DataWindow Resize Integer DataWindow Retrieve Long DataWindow RowCount Long DataWindow RowsCopy Integer DataWindow RowsDiscard Integer DataWindow RowsMove Integer DataWindow SaveAs Integer DataWindow SaveAsAscii Long DataWindow Scroll Integer DataWindow ScrollNextPage Long DataWindow ScrollNextRow Long DataWindow ScrollPriorPage Long DataWindow ScrollPriorRow Long DataWindow ScrollToRow Integer DataWindow SelectedLength Integer DataWindow SelectedLine Integer DataWindow SelectedStart Integer DataWindow SelectedText String DataWindow SelectRow Integer DataWindow SelectText Integer DataWindow SelectTextAll Integer DataWindow SelectTextLine Integer DataWindow SelectTextWord Integer DataWindow SeriesCount Integer DataWindow SeriesName String DataWindow SetActionCode Integer DataWindow SetBorderStyle Integer DataWindow SetChanges Long DataWindow SetColumn Integer DataWindow SetDataPieExplode Integer DataWindow SetDataStyle Integer DataWindow SetDetailHeight Integer DataWindow SetFilter Integer DataWindow SetFocus Integer DataWindow SetFormat Integer DataWindow SetFullState Long DataWindow SetItem Integer DataWindow SetItemStatus Integer DataWindow SetPosition Integer DataWindow SetRedraw Integer DataWindow SetRow Integer DataWindow SetRowFocusIndicator Integer DataWindow SetSeriesStyle Integer DataWindow SetSort Integer DataWindow SetSQLPreview Integer DataWindow SetSQLSelect Integer DataWindow SetTabOrder Integer DataWindow SetText Integer DataWindow SetTrans Integer DataWindow SetTransObject Integer DataWindow SetValidate Integer DataWindow SetValue Integer DataWindow ShareData Integer DataWindow ShareDataOff Integer DataWindow Show Integer DataWindow ShowHeadFoot Integer DataWindow Sort Integer DataWindow TextLine String DataWindow TriggerEvent Integer DataWindow TypeOf Object DataWindow Undo Integer DataWindow Update Integer DropDownListBox AddItem Integer DropDownListBox ClassName String DropDownListBox Clear Integer DropDownListBox Copy Integer DropDownListBox Cut Integer DropDownListBox DeleteItem Integer DropDownListBox DirList Boolean DropDownListBox DirSelect Boolean DropDownListBox Drag Integer DropDownListBox FindItem Integer DropDownListBox GetContextService Integer DropDownListBox GetParent PowerObject DropDownListBox Hide Integer DropDownListBox InsertItem Integer DropDownListBox Move Integer DropDownListBox Paste Integer DropDownListBox PointerX Integer DropDownListBox PointerY Integer DropDownListBox Position Integer DropDownListBox PostEvent Boolean DropDownListBox Print Integer DropDownListBox ReplaceText Integer DropDownListBox Reset Integer DropDownListBox Resize Integer DropDownListBox SelectedLength Integer DropDownListBox SelectedStart Integer DropDownListBox SelectedText String DropDownListBox SelectItem Integer DropDownListBox SelectText Integer DropDownListBox SetFocus Integer DropDownListBox SetPosition Integer DropDownListBox SetRedraw Integer DropDownListBox Show Integer DropDownListBox Text String DropDownListBox TotalItems Integer DropDownListBox TriggerEvent Integer DropDownListBox TypeOf Control DropDownPicture AddItem Integer DropDownPicture AddPicture Integer DropDownPicture ClassName String DropDownPicture Clear Integer DropDownPicture Copy Integer DropDownPicture Cut Integer DropDownPicture DeleteItem Integer DropDownPicture DeletePicture Integer DropDownPicture DeletePictures Integer DropDownPicture DirList Boolean DropDownPicture DirSelect Boolean DropDownPicture Drag Integer DropDownPicture FindItem Integer DropDownPicture GetContextService Integer DropDownPicture GetParent PowerObject DropDownPicture Hide Integer DropDownPicture InsertItem Integer DropDownPicture Move Integer DropDownPicture Paste Integer DropDownPicture PointerX Integer DropDownPicture PointerY Integer DropDownPicture Position Integer DropDownPicture PostEvent Boolean DropDownPicture Print Integer DropDownPicture ReplaceText Integer DropDownPicture Reset Integer DropDownPicture Resize Integer DropDownPicture SelectedLength Integer DropDownPicture SelectedStart Integer DropDownPicture SelectedText String DropDownPicture SelectItem Integer DropDownPicture SelectText Integer DropDownPicture SetFocus Integer DropDownPicture SetPosition Integer DropDownPicture SetRedraw Integer DropDownPicture Show Integer DropDownPicture Text String DropDownPicture TotalItems Integer DropDownPicture TriggerEvent Integer DropDownPicture TypeOf Control EditMask ClassName String EditMask Clear Integer EditMask Copy Integer EditMask Cut Integer EditMask Drag Integer EditMask GetContextService Integer EditMask GetData Integer EditMask GetParent PowerObject EditMask Hide Integer EditMask LineCount Integer EditMask LineLength Integer EditMask Move Integer EditMask Paste Integer EditMask PointerX Integer EditMask PointerY Integer EditMask Position Integer EditMask PostEvent Boolean EditMask Print Integer EditMask ReplaceText Integer EditMask Resize Integer EditMask Scroll Integer EditMask SelectedLength Integer EditMask SelectedLine Integer EditMask SelectedStart Integer EditMask SelectedText String EditMask SelectText Integer EditMask SetFocus Integer EditMask SetMask Integer EditMask SetPosition Integer EditMask SetRedraw Integer EditMask Show Integer EditMask TextLine String EditMask TriggerEvent Integer EditMask TypeOf Object Graph AddCategory Integer Graph AddData Long Graph AddSeries Integer Graph CategoryCount Integer Graph CategoryName String Graph ClassName String Graph Clipboard Integer Graph DataCount Long Graph DeleteCategory Integer Graph DeleteData Integer Graph DeleteSeries Integer Graph Drag Integer Graph FindCategory Integer Graph FindSeries Integer Graph GetContextService Integer Graph GetData Double Graph GetDataPieExplode Integer Graph GetDataStyle Integer Graph GetDataValue Integer Graph GetSeriesStyle Integer Graph GetParent PowerObject Graph Hide Integer Graph ImportClipboard Long Graph ImportFile Long Graph ImportString Long Graph InsertCategory Integer Graph InsertData Long Graph InsertSeries Integer Graph ModifyData Integer Graph Move Integer Graph ObjectAtPointer GrObjectType Graph PointerX Integer Graph PointerY Integer Graph PostEvent Boolean Graph Print Integer Graph Reset Integer Graph ResetDataColors Integer Graph Resize Integer Graph SaveAs Integer Graph SeriesCount Integer Graph SeriesName String Graph SetDataPieExplode Integer Graph SetDataStyle Integer Graph SetFocus Integer Graph SetPosition Integer Graph SetRedraw Integer Graph SetSeriesStyle Integer Graph Show Integer Graph TriggerEvent Integer Graph TypeOf Object GroupBox ClassName String GroupBox Drag Integer GroupBox GetContextService Integer GroupBox GetParent PowerObject GroupBox Hide Integer GroupBox Move Integer GroupBox PointerX Integer GroupBox PointerY Integer GroupBox Print Integer GroupBox Resize Integer GroupBox SetFocus Integer GroupBox SetPosition Integer GroupBox SetRedraw Integer GroupBox Show Integer GroupBox TypeOf Object HScrollBar ClassName String HScrollBar Drag Integer HScrollBar GetContextService Integer HScrollBar GetParent PowerObject HScrollBar Hide Integer HScrollBar Move Integer HScrollBar PointerX Integer HScrollBar PointerY Integer HScrollBar PostEvent Boolean HScrollBar Print Integer HScrollBar Resize Integer HScrollBar SetFocus Integer HScrollBar SetPosition Integer HScrollBar SetRedraw Integer HScrollBar Show Integer HScrollBar TriggerEvent Integer HScrollBar TypeOf Object Line ClassName String Line GetContextService Integer Line GetParent PowerObject Line Hide Integer Line Move Integer Line Resize Integer Line Show Integer Line TypeOf Object ListBox AddItem Integer ListBox ClassName String ListBox DeleteItem Integer ListBox DirList Boolean ListBox DirSelect Boolean ListBox Drag Integer ListBox FindItem Integer ListBox GetContextService Integer ListBox GetParent PowerObject ListBox Hide Integer ListBox InsertItem Integer ListBox Move Integer ListBox PointerX Integer ListBox PointerY Integer ListBox PostEvent Boolean ListBox Print Integer ListBox Reset Integer ListBox Resize Integer ListBox SelectedIndex Integer ListBox SelectedItem String ListBox SelectItem Integer ListBox SetFocus Integer ListBox SetPosition Integer ListBox SetRedraw Integer ListBox SetState Integer ListBox SetTop Integer ListBox Show Integer ListBox State Integer ListBox Text String ListBox Top Integer ListBox TotalItems Integer ListBox TotalSelected Integer ListBox TriggerEvent Integer ListBox TypeOf Object ListView AddColumn Integer ListView AddItem Integer ListView AddLargePicture Integer ListView AddSmallPicture Integer ListView AddstatePicture Integer ListView Arrange Integer ListView ClassName String ListView DeleteColumn Integer ListView DeleteColumns Integer ListView DeleteItem Integer ListView DeleteItems Integer ListView DeleteLargePicture Integer ListView DeleteLargePictures Integer ListView DeleteSmallPicture Integer ListView DeleteSmallPictures Integer ListView DeleteStatePicture Integer ListView DeleteStatePictures Integer ListView Drag Integer ListView EditLabel Integer ListView FindItem Integer ListView GetColumn Integer ListView GetContextService Integer ListView GetItem Integer ListView GetOrigin Integer ListView GetParent PowerObject ListView Hide Integer ListView InsertColumn Integer ListView InsertItem Integer ListView Move Integer ListView PointerX Integer ListView PointerY Integer ListView PostEvent Boolean ListView Print Integer ListView Resize Integer ListView SelectedIndex Integer ListView SetColumn Integer ListView SetFocus Integer ListView SetItem Integer ListView SetOverlayPicture Integer ListView SetPosition Integer ListView SetRedraw Integer ListView Show Integer ListView Sort Integer ListView TotalColumns Integer ListView TotalItems Integer ListView TotalSelected Integer ListView TriggerEvent Integer ListView TypeOf Object MultiLineEdit CanUndo Boolean MultiLineEdit ClassName String MultiLineEdit Clear Integer MultiLineEdit Copy Integer MultiLineEdit Cut Integer MultiLineEdit Drag Integer MultiLineEdit GetContextService Integer MultiLineEdit GetParent PowerObject MultiLineEdit Hide Integer MultiLineEdit LineCount Integer MultiLineEdit LineLength Integer MultiLineEdit Move Integer MultiLineEdit Paste Integer MultiLineEdit PointerX Integer MultiLineEdit PointerY Integer MultiLineEdit Position Integer MultiLineEdit PostEvent Boolean MultiLineEdit Print Integer MultiLineEdit ReplaceText Integer MultiLineEdit Resize Integer MultiLineEdit Scroll Integer MultiLineEdit SelectedLength Integer MultiLineEdit SelectedLine Integer MultiLineEdit SelectedStart Integer MultiLineEdit SelectedText String MultiLineEdit SelectText Integer MultiLineEdit SetFocus Integer MultiLineEdit SetPosition Integer MultiLineEdit SetRedraw Integer MultiLineEdit Show Integer MultiLineEdit TextLine String MultiLineEdit TriggerEvent Integer MultiLineEdit TypeOf Object MultiLineEdit Undo Integer OLEControl Activate Integer OLEControl ClassName String OLEControl Clear Integer OLEControl Copy Integer OLEControl Cut Integer OLEControl DoVerb Integer OLEControl Drag Integer OLEControl GetContextService Integer OLEControl GetData Integer OLEControl GetNativePointer Integer OLEControl GetParent PowerObject OLEControl Hide Integer OLEControl InsertClass Integer OLEControl InsertFile Integer OLEControl InsertObject Integer OLEControl LinkTo Integer OLEControl Move Integer OLEControl Open Integer OLEControl Paste Integer OLEControl PasteLink Integer OLEControl PasteSpecial Integer OLEControl PointerX Integer OLEControl PointerY Integer OLEControl PostEvent Boolean OLEControl Print Integer OLEControl ReleaseNativePointer Integer OLEControl Resize Integer OLEControl Save Integer OLEControl SaveAs Integer OLEControl SelectObject Integer OLEControl SetData Integer OLEControl SetFocus Integer OLEControl SetPosition Integer OLEControl SetRedraw Integer OLEControl Show Integer OLEControl TriggerEvent Integer OLEControl TypeOf Object OLEControl UpdateLinksDialog Integer OLECustomControl ClassName String OLECustomControl Drag Integer OLECustomControl GetContextService Integer OLECustomControl GetData Integer OLECustomControl GetNativePointer Integer OLECustomControl GetParent PowerObject OLECustomControl Hide Integer OLECustomControl Move Integer OLECustomControl PointerX Integer OLECustomControl PointerY Integer OLECustomControl PostEvent Boolean OLECustomControl Print Integer OLECustomControl ReleaseNativePointer Integer OLECustomControl Resize Integer OLECustomControl SetAutomationLocale Integer OLECustomControl SetData Integer OLECustomControl SetFocus Integer OLECustomControl SetPosition Integer OLECustomControl SetRedraw Integer OLECustomControl Show Integer OLECustomControl TriggerEvent Integer OLECustomControl TypeOf Object Oval ClassName String Oval GetContextService Integer Oval GetParent PowerObject Oval Hide Integer Oval Move Integer Oval Resize Integer Oval Show Integer Oval TypeOf Object Picture ClassName String Picture Drag Integer Picture Draw Integer Picture GetContextService Integer Picture GetParent PowerObject Picture Hide Integer Picture Move Integer Picture PointerX Integer Picture PointerY Integer Picture PostEvent Boolean Picture Print Integer Picture Resize Integer Picture SetFocus Integer Picture SetPicture Integer Picture SetPosition Integer Picture SetRedraw Integer Picture Show Integer Picture TriggerEvent Integer Picture TypeOf Object PictureButton ClassName String PictureButton Drag Integer PictureButton GetContextService Integer PictureButton GetParent PowerObject PictureButton Hide Integer PictureButton Move Integer PictureButton PointerX Integer PictureButton PointerY Integer PictureButton PostEvent Boolean PictureButton Print Integer PictureButton Resize Integer PictureButton SetFocus Integer PictureButton SetPosition Integer PictureButton SetRedraw Integer PictureButton Show Integer PictureButton TriggerEvent Integer PictureButton TypeOf Object PictureListBox AddItem Integer PictureListBox AddPicture Integer PictureListBox ClassName String PictureListBox DeleteItem Integer PictureListBox DeletePicture Integer PictureListBox DeletePictures Integer PictureListBox DirList Boolean PictureListBox DirSelect Boolean PictureListBox Drag Integer PictureListBox FindItem Integer PictureListBox GetContextService Integer PictureListBox GetParent PowerObject PictureListBox Hide Integer PictureListBox InsertItem Integer PictureListBox Move Integer PictureListBox PointerX Integer PictureListBox PointerY Integer PictureListBox PostEvent Boolean PictureListBox Print Integer PictureListBox Reset Integer PictureListBox Resize Integer PictureListBox SelectedIndex Integer PictureListBox SelectedItem String PictureListBox SelectItem Integer PictureListBox SetFocus Integer PictureListBox SetPosition Integer PictureListBox SetRedraw Integer PictureListBox SetState Integer PictureListBox SetTop Integer PictureListBox Show Integer PictureListBox State Integer PictureListBox Text String PictureListBox Top Integer PictureListBox TotalItems Integer PictureListBox TotalSelected Integer PictureListBox TriggerEvent Integer PictureListBox TypeOf Object RadioButton ClassName String RadioButton Drag Integer RadioButton GetContextService Integer RadioButton GetParent PowerObject RadioButton Hide Integer RadioButton Move Integer RadioButton PointerX Integer RadioButton PointerY Integer RadioButton PostEvent Boolean RadioButton Print Integer RadioButton Resize Integer RadioButton SetFocus Integer RadioButton SetPosition Integer RadioButton SetRedraw Integer RadioButton Show Integer RadioButton TriggerEvent Integer RadioButton TypeOf Object Rectangle ClassName String Rectangle GetContextService Integer Rectangle GetParent PowerObject Rectangle Hide Integer Rectangle Move Integer Rectangle Resize Integer Rectangle Show Integer Rectangle TypeOf Object RichTextEdit CanUndo Boolean RichTextEdit ClassName String RichTextEdit Clear Long RichTextEdit Copy Long RichTextEdit CopyRTF String RichTextEdit Cut Long RichTextEdit DataSource Integer RichTextEdit Drag Integer RichTextEdit Find Integer RichTextEdit FindNext Integer RichTextEdit GetAlignment Alignment RichTextEdit GetContextService Integer RichTextEdit GetParagraphSetting Long RichTextEdit GetParent PowerObject RichTextEdit GetSpacing Spacing RichTextEdit GetTextColor Long RichTextEdit GetTextStyle Boolean RichTextEdit Hide Integer RichTextEdit InputFieldChangeData Integer RichTextEdit InputFieldCurrentName String RichTextEdit InputFieldDeleteCurrent Integer RichTextEdit InputFieldGetData String RichTextEdit InputFieldInsert Integer RichTextEdit InputFieldLocate String RichTextEdit InsertDocument Integer RichTextEdit InsertPicture Integer RichTextEdit IsPreview Boolean RichTextEdit LineCount Integer RichTextEdit LineLength Integer RichTextEdit Move Integer RichTextEdit PageCount Integer RichTextEdit Paste Integer RichTextEdit PasteRTF Long RichTextEdit PointerX Integer RichTextEdit PointerY Integer RichTextEdit Position Integer RichTextEdit PostEvent Integer RichTextEdit Preview Integer RichTextEdit Print Integer RichTextEdit ReplaceText Integer RichTextEdit Resize Integer RichTextEdit SaveDocument Integer RichTextEdit Scroll Integer RichTextEdit ScrollNextPage Integer RichTextEdit ScrollNextRow Long RichTextEdit ScrollPriorPage Long RichTextEdit ScrollPriorRow Long RichTextEdit ScrollToRow Long RichTextEdit SelectedColumn Integer RichTextEdit SelectedLength Long RichTextEdit SelectedLine Long RichTextEdit SelectedPage Long RichTextEdit SelectedStart Integer RichTextEdit SelectedText String RichTextEdit SelectText Long RichTextEdit SelectTextAll Integer RichTextEdit SelectTextLine Integer RichTextEdit SelectTextWord Integer RichTextEdit SetAlignment Integer` RichTextEdit SetFocus Integer RichTextEdit SetParagraphSetting Integer RichTextEdit SetPosition Integer RichTextEdit SetRedraw Integer RichTextEdit SetSpacing Integer RichTextEdit SetTextColor Integer RichTextEdit SetTextStyle Integer RichTextEdit Show Integer RichTextEdit ShowHeadFoot Integer RichTextEdit TextLine String RichTextEdit TriggerEvent Integer RichTextEdit TypeOf Object RichTextEdit Undo Integer RoundRectangle ClassName String RoundRectangle GetContextService Integer RoundRectangle GetParent PowerObject RoundRectangle Hide Integer RoundRectangle Move Integer RoundRectangle Resize Integer RoundRectangle Show Integer RoundRectangle TypeOf Object SingleLineEdit CanUndo Boolean SingleLineEdit ClassName String SingleLineEdit Clear Integer SingleLineEdit Copy Integer SingleLineEdit Cut Integer SingleLineEdit Drag Integer SingleLineEdit GetContextService Integer SingleLineEdit GetParent PowerObject SingleLineEdit Hide Integer SingleLineEdit Move Integer SingleLineEdit Paste Integer SingleLineEdit PointerX Integer SingleLineEdit PointerY Integer SingleLineEdit Position Integer SingleLineEdit PostEvent Boolean SingleLineEdit Print Integer SingleLineEdit ReplaceText Integer SingleLineEdit Resize Integer SingleLineEdit SelectedLength Integer SingleLineEdit SelectedStart Integer SingleLineEdit SelectedText String SingleLineEdit SelectText Integer SingleLineEdit SetFocus Integer SingleLineEdit SetPosition Integer SingleLineEdit SetRedraw Integer SingleLineEdit Show Integer SingleLineEdit TriggerEvent Integer SingleLineEdit TypeOf Object SingleLineEdit Undo Integer StaticText ClassName String StaticText Drag Integer StaticText GetContextService Integer StaticText GetParent PowerObject StaticText Hide Integer StaticText Move Integer StaticText PointerX Integer StaticText PointerY Integer StaticText PostEvent Boolean StaticText Print Integer StaticText Resize Integer StaticText SetFocus Integer StaticText SetPosition Integer StaticText SetRedraw Integer StaticText Show Integer StaticText TriggerEvent Integer StaticText TypeOf Object Tab ClassName String Tab CloseTab Integer Tab Drag Integer Tab GetContextService Integer Tab GetParent PowerObject Tab Hide Integer Tab Move Integer Tab MoveTab Integer Tab OpenTab Integer Tab OpenTabWithParm Integer Tab PointerX Integer Tab PointerY Integer Tab PostEvent Integer Tab Print Integer Tab Resize Integer Tab SelectTab Integer Tab SetFocus Integer Tab SetPosition Integer Tab SetRedraw Integer Tab Show Integer Tab TabPostEvent Integer Tab TabTriggerEvent Integer Tab TriggerEvent Integer Tab TypeOf Object TreeView AddPicture Integer TreeView AddStatePicture Integer TreeView ClassName String TreeView CollapseItem Integer TreeView DeleteItem Integer TreeView DeletePicture Integer TreeView DeletePictures Integer TreeView DeleteStatePicture Integer TreeView DeleteStatePictures Integer TreeView Drag Integer TreeView EditLabel Integer TreeView ExpandAll Integer TreeView ExpandItem Integer TreeView FindItem Long TreeView GetContextService Integer TreeView GetItem Integer TreeView GetParent PowerObject TreeView Hide Integer TreeView InsertItem Long TreeView InsertItemFirst Long TreeView InsertItemLast Long TreeView InsertItemSort Long TreeView Move Integer TreeView PointerX Integer TreeView PointerY Integer TreeView PostEvent Boolean TreeView Print Integer TreeView Resize Integer TreeView SelectItem Integer TreeView SetDropHighlight Integer TreeView SetFirstVisible Integer TreeView SetFocus Integer TreeView SetItem Integer TreeView SetLevelPictures Integer TreeView SetOverlayPicture Integer TreeView SetPosition Integer TreeView SetRedraw Integer TreeView Show Integer TreeView Sort Integer TreeView SortAll Integer TreeView TriggerEvent Integer TreeView TypeOf Object UserObject AddItem Integer UserObject ClassName String UserObject DeleteItem Integer UserObject Drag Integer UserObject EventParmDouble Integer UserObject EventParmString Integer UserObject GetContextService Integer UserObject GetParent PowerObject UserObject Hide Integer UserObject InsertItem Integer UserObject Move Integer UserObject PointerX Integer UserObject PointerY Integer UserObject PostEvent Boolean UserObject Print Integer UserObject Resize Integer UserObject SetFocus Integer UserObject SetPosition Integer UserObject SetRedraw Integer UserObject Show Integer UserObject TriggerEvent Integer UserObject TypeOf Object VScrollBar ClassName String VScrollBar Drag Integer VScrollBar GetContextService Integer VScrollBar GetParent PowerObject VScrollBar Hide Integer VScrollBar Move Integer VScrollBar PointerX Integer VScrollBar PointerY Integer VScrollBar PostEvent Boolean VScrollBar Print Integer VScrollBar Resize Integer VScrollBar SetFocus Integer VScrollBar SetPosition Integer VScrollBar SetRedraw Integer VScrollBar Show Integer VScrollBar TriggerEvent Integer VScrollBar TypeOf Object Application ClassName String Application GetContextService Integer Application GetParent PowerObject Application PostEvent Boolean Application SetLibraryList Integer Application SetTransPool Integer Application TriggerEvent Integer Application TypeOf Object ArrayBounds ClassName String ArrayBounds GetContextService Integer ArrayBounds GetParent PowerObject ArrayBounds TypeOf Object ClassDefinition ClassName String ClassDefinition FindMatchingFunction ScriptDefinition ClassDefinition GetContextService Integer ClassDefinition GetParent PowerObject ClassDefinition TypeOf Object Connection ClassName String Connection ConnectToServer Long Connection CreateInstance Long Connection DisconnectServer Long Connection GetContextService Integer Connection GetParent PowerObject Connection GetServerInfo Long Connection PostEvent Boolean Connection RemoteStopConnection Long Connection RemoteStopListening Long Connection TriggerEvent Integer Connection TypeOf Object ConnectionInfo ClassName String ConnectionInfo GetContextService Integer ConnectionInfo GetParent PowerObject ConnectionInfo TypeOf Object ContextInformation ClassName String ContextInformation GetCompanyName Integer ContextInformation GetContextService Integer ContextInformation GetFixesVersion Integer ContextInformation GetHostObject Integer ContextInformation GetMajorVersion Integer ContextInformation GetMinorVersion Integer ContextInformation GetName Integer ContextInformation GetParent PowerObject ContextInformation GetShortName Integer ContextInformation GetVersionName Integer ContextInformation PostEvent Boolean ContextInformation TriggerEvent Integer ContextInformation TypeOf Object ContextKeyword ClassName String ContextKeyword GetContextKeywords Integer ContextKeyword GetContextService Integer ContextKeyword GetName Integer ContextKeyword GetParent PowerObject ContextKeyword PostEvent Boolean ContextKeyword TriggerEvent Integer ContextKeyword TypeOf Object CPlusPlus ClassName String CPlusPlus GetContextService Integer CPlusPlus GetParent PowerObject CPlusPlus PostEvent Boolean CPlusPlus TriggerEvent Integer CPlusPlus TypeOf Object DataStore AcceptText Integer DataStore CategoryCount Integer DataStore CategoryName String DataStore ClassName String DataStore ClearValues Integer DataStore Clipboard Integer DataStore CopyRTF String DataStore Create Integer DataStore DataCount Long DataStore DBCancel Integer DataStore DeletedCount Long DataStore DeleteRow Integer DataStore Describe String DataStore Filter Integer DataStore FilteredCount Integer DataStore Find Long DataStore FindCategory Integer DataStore FindGroupChange Long DataStore FindRequired Integer DataStore FindSeries Integer DataStore GenerateHTMLForm Integer DataStore GetBorderStyle Border (enumerated) DataStore GetChanges Long DataStore GetChild Integer DataStore GetColumn Integer DataStore GetColumnName String DataStore GetContextService Integer DataStore GetData Double DataStore GetDataPieExplode Integer DataStore GetDataStyle Integer DataStore GetDataValue Integer DataStore GetFormat String DataStore GetFullState Long DataStore GetItemDate Date DataStore GetItemDateTime DateTime DataStore GetItemDecimal Decimal DataStore GetItemNumber Double DataStore GetItemStatus dwItemStatus (enumerated) DataStore GetItemString String DataStore GetItemTime Time DataStore GetNextModified Long DataStore GetParent PowerObject DataStore GetRow Long DataStore GetSelectedRow Integer DataStore GetSeriesStyle Integer DataStore GetSQLSelect String DataStore GetStateStatus Long DataStore GetText String DataStore GetTrans Integer DataStore GetValidate String DataStore GetValue String DataStore GroupCalc Integer DataStore ImportClipboard Long DataStore ImportFile Long DataStore ImportString Long DataStore InsertDocument Integer DataStore InsertRow Long DataStore IsSelected Boolean DataStore ModifiedCount Long DataStore Modify String DataStore PasteRTF Long DataStore PostEvent Boolean DataStore Print Integer DataStore PrintCancel Integer DataStore ReselectRow Integer DataStore Reset Integer DataStore ResetDataColors Integer DataStore ResetTransObject Integer DataStore ResetUpdate Integer DataStore Retrieve Long DataStore RowCount Long DataStore RowsCopy Integer DataStore RowsDiscard Integer DataStore RowsMove Integer DataStore SaveAs Integer DataStore SaveAs Integer DataStore SaveAsAscii Long DataStore SelectRow Integer DataStore SeriesCount Integer DataStore SeriesName String DataStore SetBorderStyle Integer DataStore SetChanges Long DataStore SetColumn Integer DataStore SetDataPieExplode Integer DataStore SetDataStyle Integer DataStore SetDetailHeight Integer DataStore SetFilter Integer DataStore SetFormat Integer DataStore SetFullState Long DataStore SetItem Integer DataStore SetItemStatus Integer DataStore SetPosition Integer DataStore SetRow Integer DataStore SetSeriesStyle Integer DataStore SetSort Integer DataStore SetSQLPreview Integer DataStore SetSQLSelect Integer DataStore SetText Integer DataStore SetTrans Integer DataStore SetTransObject Integer DataStore SetValidate Integer DataStore SetValue Integer DataStore ShareData Integer DataStore ShareDataOff Integer DataStore Sort Integer DataStore TriggerEvent Integer DataStore TypeOf Object DataStore Update Integer DataWindowChild AcceptText Integer DataWindowChild ClassName String DataWindowChild ClearValues Integer DataWindowChild CrosstabDialog Integer DataWindowChild DBCancel Integer DataWindowChild DBErrorCode Long DataWindowChild DBErrorMessage String DataWindowChild DeletedCount Long DataWindowChild DeleteRow Integer DataWindowChild Describe String DataWindowChild Filter Integer DataWindowChild FilteredCount Integer DataWindowChild Find Long DataWindowChild FindGroupChange Long DataWindowChild FindRequired Integer DataWindowChild GetBandAtPointer String DataWindowChild GetBorderStyle Border (enumerated) DataWindowChild GetClickedColumn Integer DataWindowChild GetClickedRow Long DataWindowChild GetColumn Integer DataWindowChild GetColumnName String DataWindowChild GetContextService Integer DataWindowChild GetFormat String DataWindowChild GetItemDate Date DataWindowChild GetItemDateTime DateTime DataWindowChild GetItemDecimal Decimal DataWindowChild GetItemNumber Double DataWindowChild GetItemStatus dwItemStatus (enumerated) DataWindowChild GetItemString String DataWindowChild GetItemTime Time DataWindowChild GetNextModified Long DataWindowChild GetObjectAtPointer String DataWindowChild GetParent PowerObject DataWindowChild GetRow Long DataWindowChild GetSelectedRow Integer DataWindowChild GetSQLPreview String DataWindowChild GetSQLSelect String DataWindowChild GetText String DataWindowChild GetTrans Integer DataWindowChild GetUpdateStatus Integer DataWindowChild GetValidate String DataWindowChild GetValue String DataWindowChild GroupCalc Integer DataWindowChild ImportClipboard Long DataWindowChild ImportFile Long DataWindowChild ImportString Long DataWindowChild InsertRow Long DataWindowChild IsSelected Boolean DataWindowChild ModifiedCount Long DataWindowChild Modify String DataWindowChild OLEActivate Integer DataWindowChild ReselectRow Integer DataWindowChild Reset Integer DataWindowChild ResetTransObject Integer DataWindowChild ResetUpdate Integer DataWindowChild Resize Integer DataWindowChild Retrieve Long DataWindowChild RowCount Long DataWindowChild RowsCopy Integer DataWindowChild RowsDiscard Integer DataWindowChild RowsMove Integer DataWindowChild SaveAs Integer DataWindowChild ScrollNextPage Long DataWindowChild ScrollNextRow Long DataWindowChild ScrollPriorPage Long DataWindowChild ScrollPriorRow Long DataWindowChild ScrollToRow Integer DataWindowChild SelectRow Integer DataWindowChild SetActionCode Integer DataWindowChild SetBorderStyle Integer DataWindowChild SetColumn Integer DataWindowChild SetDetailHeight Integer DataWindowChild SetFilter Integer DataWindowChild SetFormat Integer DataWindowChild SetItem Integer DataWindowChild SetItemStatus Integer DataWindowChild SetPosition Integer DataWindowChild SetRedraw Integer DataWindowChild SetRow Integer DataWindowChild SetRowFocusIndicator Integer DataWindowChild SetSort Integer DataWindowChild SetSQLPreview Integer DataWindowChild SetSQLSelect Integer DataWindowChild SetTabOrder Integer DataWindowChild SetText Integer DataWindowChild SetTrans Integer DataWindowChild SetTransObject Integer DataWindowChild SetValidate Integer DataWindowChild SetValue Integer DataWindowChild ShareData Integer DataWindowChild ShareDataOff Integer DataWindowChild Sort Integer DataWindowChild TypeOf Object DataWindowChild Update Integer DynamicDescriptionArea ClassName String DynamicDescriptionArea GetContextService Integer DynamicDescriptionArea GetDynamicDate Date DynamicDescriptionArea GetDynamicDateTime DateTime DynamicDescriptionArea GetDynamicNumber Double DynamicDescriptionArea GetDynamicString String DynamicDescriptionArea GetDynamicTime Time DynamicDescriptionArea GetParent PowerObject DynamicDescriptionArea PostEvent Boolean DynamicDescriptionArea SetDynamicParm Integer DynamicDescriptionArea TriggerEvent Integer DynamicDescriptionArea TypeOf Object EnumerationDefinition ClassName String EnumerationDefinition GetContextService Integer EnumerationDefinition GetParent PowerObject EnumerationDefinition TypeOf Object EnumerationItemDefinition ClassName String EnumerationItemDefinition GetContextService Integer EnumerationItemDefinition GetParent PowerObject EnumerationItemDefinition TypeOf Object Environment ClassName String Environment GetContextService Integer Environment GetParent PowerObject Environment TypeOf Object Error ClassName String Error GetContextService Integer Error GetParent PowerObject Error PostEvent Boolean Error TriggerEvent Integer Error TypeOf Object grAxis ClassName String grAxis GetContextService Integer grAxis GetParent PowerObject grAxis TypeOf Object grDispAttr ClassName String grDispAttr GetContextService Integer grDispAttr GetParent PowerObject grDispAttr TypeOf Object Inet ClassName String Inet GetContextService Integer Inet GetParent PowerObject Inet GetURL Integer Inet HyperLinkToURL Integer Inet PostEvent Boolean Inet PostURL Integer Inet TriggerEvent Integer Inet TypeOf Object InternetResult ClassName String InternetResult GetContextService Integer InternetResult GetParent PowerObject InternetResult InternetData Integer InternetResult PostEvent Boolean InternetResult TriggerEvent Integer InternetResult TypeOf Object ListViewItem ClassName String ListViewItem GetContextService Integer ListViewItem GetParent PowerObject ListViewItem TypeOf Object mailFileDescription Classname String mailFileDescription GetContextService Integer mailFileDescription GetParent PowerObject mailFileDescription TypeOf Object mailMessage Classname String mailMessage GetContextService Integer mailMessage GetParent PowerObject mailMessage TypeOf Object mailRecipient Classname String mailRecipient GetContextService Integer mailRecipient GetParent PowerObject mailRecipient TypeOf Object mailSession Classname String mailSession GetContextService Integer mailSession GetParent PowerObject mailSession mailAddress mailReturnCode mailSession mailDeleteMessage mailReturnCode mailSession mailGetMessages mailReturnCode mailSession mailHandle UnsignedLong mailSession mailLogoff mailReturnCode mailSession mailLogon mailReturnCode mailSession mailReadMessage mailReturnCode mailSession mailRecipientDetails mailReturnCode mailSession mailResolveRecipient mailReturnCode mailSession mailSaveMessage mailReturnCode mailSession mailSend mailReturnCode mailSession PostEvent Boolean mailSession TriggerEvent Integer mailSession TypeOf Object MDIClient ClassName String MDIClient GetContextService Integer MDIClient GetParent PowerObject MDIClient Hide Integer MDIClient Move Integer MDIClient Resize Integer MDIClient SetRedraw Integer MDIClient Show Integer MDIClient TypeOf Object Menu Check Integer Menu ClassName String Menu Disable Integer Menu Enable Integer Menu GetContextService Integer Menu GetParent PowerObject Menu Hide Integer Menu PopMenu Integer Menu PostEvent Integer Menu Show Integer Menu TriggerEvent Integer Menu TypeOf Object Menu Uncheck Integer MenuCascade Check Integer MenuCascade ClassName String MenuCascade Disable Integer MenuCascade Enable Integer MenuCascade GetContextService Integer MenuCascade GetParent PowerObject MenuCascade Hide Integer MenuCascade PopMenu Integer MenuCascade PostEvent Integer MenuCascade Show Integer MenuCascade TriggerEvent Integer MenuCascade TypeOf Object MenuCascade Uncheck Integer Message ClassName String Message GetContextService Integer Message GetParent PowerObject Message PostEvent Boolean Message TriggerEvent Integer Message TypeOf Object OLEObject ClassName String OLEObject ConnectToNewObject Integer OLEObject ConnectToNewRemoteObject Integer OLEObject ConnectToObject Integer OLEObject ConnectToRemoteObject Integer OLEObject DisconnectObject Integer OLEObject GetAutomationNative- OLEObject Pointer Integer OLEObject GetContextService Integer OLEObject GetParent PowerObject OLEObject PostEvent Boolean OLEObject ReleaseAutomation- OLEObject NativePointer Integer OLEObject SetAutomationLocale Integer OLEObject SetAutomationPointer Integer OLEObject SetAutomationTimeout Integer OLEObject TriggerEvent Integer OLEObject TypeOf Object OLEStorage ClassName String OLEStorage Clear Integer OLEStorage Close Integer OLEStorage GetContextService Integer OLEStorage GetParent PowerObject OLEStorage MemberDelete Integer OLEStorage MemberExists Integer OLEStorage MemberRename Integer OLEStorage Open Integer OLEStorage PostEvent Boolean OLEStorage Save Integer OLEStorage SaveAs Integer OLEStorage TriggerEvent Integer OLEStorage TypeOf Object OLEStream ClassName String OLEStream Close Integer OLEStream GetContextService Integer OLEStream GetParent PowerObject OLEStream Length Integer OLEStream Open Integer OLEStream PostEvent Boolean OLEStream Read Integer OLEStream Seek Integer OLEStream TriggerEvent Integer OLEStream TypeOf Object OLEStream Write Long Pipeline Cancel Integer Pipeline ClassName String Pipeline GetContextService Integer Pipeline GetParent PowerObject Pipeline PostEvent Boolean Pipeline Repair Integer Pipeline Start Integer Pipeline TriggerEvent Integer Pipeline TypeOf Object ProfileCall ClassName String ProfileCall GetContextService Integer ProfileCall GetParent PowerObject ProfileCall TypeOf Object ProfileClass ClassName String ProfileClass GetContextService Integer ProfileClass GetParent PowerObject ProfileClass RoutineList ErrorReturn (enumerated) ProfileClass TypeOf Object ProfileLine ClassName String ProfileLine GetContextService Integer ProfileLine GetParent PowerObject ProfileLine OutGoingCallList ErrorReturn (enumerated) ProfileLine RoutineList ErrorReturn (enumerated) ProfileLine TypeOf Object ProfileRoutine ClassName String ProfileRoutine GetContextService Integer ProfileRoutine GetParent PowerObject ProfileRoutine IncomingCallList ErrorReturn (enumerated) ProfileRoutine LineList ErrorReturn (enumerated) ProfileRoutine OutgoingCallList ErrorReturn (enumerated) ProfileRoutine TypeOf Object Profiling BuildModel ErrorReturn (enumerated) Profiling ClassList ErrorReturn (enumerated) Profiling ClassName String Profiling DestroyModel ErrorReturn (enumerated) Profiling GetContextService Integer Profiling GetParent PowerObject Profiling RoutineList ErrorReturn (enumerated) Profiling SetTraceFileName ErrorReturn Profiling SystemRoutine ProfileRoutine Profiling TypeOf Object ScriptDefinition ClassName String ScriptDefinition GetContextService Integer ScriptDefinition GetParent PowerObject ScriptDefinition TypeOf Object TraceActivityNode ClassName String TraceActivityNode GetContextService Integer TraceActivityNode GetParent PowerObject TraceActivityNode TypeOf Object TraceBeginEnd ClassName String TraceBeginEnd GetContextService Integer TraceBeginEnd GetParent PowerObject TraceBeginEnd TypeOf Object TraceError ClassName String TraceError GetContextService Integer TraceError GetParent PowerObject TraceError TypeOf Object TraceESQL ClassName String TraceESQL GetContextService Integer TraceESQL GetParent PowerObject TraceESQL TypeOf Object TraceFile ClassName String TraceFile Close ErrorReturn (enumerated) TraceFile GetContextService Integer TraceFile GetParent PowerObject TraceFile NextActivity TraceActivityNode TraceFile Open ErrorReturn (enumerated) TraceFile Reset ErrorReturn (enumerated) TraceFile TypeOf Object TraceGarbageCollect ClassName String TraceGarbageCollect GetContextService Integer TraceGarbageCollect GetParent PowerObject TraceGarbageCollect TypeOf Object TraceLine ClassName String TraceLine GetContextService Integer TraceLine GetParent PowerObject TraceLine TypeOf Object TraceObject ClassName String TraceObject GetContextService Integer TraceObject GetParent PowerObject TraceObject TypeOf Object TraceRoutine ClassName String TraceRoutine GetContextService Integer TraceRoutine GetParent PowerObject TraceRoutine TypeOf Object TraceTree BuildModel ErrorReturn(enumerated) TraceTree ClassName String TraceTree DestroyModel ErrorReturn(enumerated) TraceTree EntryList ErrorReturn(enumerated) TraceTree GetContextService Integer TraceTree GetParent PowerObject TraceTree SetTraceFileName ErorReturn TraceTree TypeOf Object TraceTreeError ClassName String TraceTreeError GetContextService Integer TraceTreeError GetParent PowerObject TraceTreeError TypeOf Object TraceTreeESQL ClassName String TraceTreeESQL GetContextService Integer TraceTreeESQL GetParent PowerObject TraceTreeESQL TypeOf Object TraceTreeGarbageCollect ClassName String TraceTreeGarbageCollect GetChildrenList ErrorReturn (enumerated) TraceTreeGarbageCollect GetContextService Integer TraceTreeGarbageCollect GetParent PowerObject TraceTreeGarbageCollect TypeOf Object TraceTreeLine ClassName String TraceTreeLine GetContextService Integer TraceTreeLine GetParent PowerObject TraceTreeLine TypeOf Object TraceTreeNode ClassName String TraceTreeNode GetContextService Integer TraceTreeNode GetParent PowerObject TraceTreeNode TypeOf Object TraceTreeObject ClassName String TraceTreeObject GetChildrenList TraceTreeObject GetContextService Integer TraceTreeObject GetParent PowerObject TraceTreeObject TypeOf Object TraceTreeRoutine ClassName String TraceTreeRoutine GetChildrenList ErrorReturn(enumerated) TraceTreeRoutine GetContextService Integer TraceTreeRoutine GetParent PowerObject TraceTreeRoutine TypeOf Object TraceTreeUser ClassName String TraceTreeUser GetContextService Integer TraceTreeUser GetParent PowerObject TraceTreeUser TypeOf Object TraceUser ClassName String TraceUser GetContextService Integer TraceUser GetParent PowerObject TraceUser TypeOf Object Timing ClassName String Timing GetContextService Integer Timing GetParent PowerObject Timing PostEvent Boolean Timing Start Integer Timing Stop Integer Timing TriggerEvent Integer Timing TypeOf Object Transaction ClassName String Transaction DBHandle Long Transaction GetContextService Integer Transaction GetParent PowerObject Transaction PostEvent Boolean Transaction SyntaxFromSQL String Transaction TriggerEvent Integer Transaction TypeOf Object Transport ClassName String Transport GetContextService Integer Transport GetParent PowerObject Transport Listen Long Transport StopListening Long Transport TypeOf Object TreeViewItem ClassName String TreeViewItem GetContextService Integer TreeViewItem GetParent PowerObject TreeViewItem TypeOf Object TypeDefinition ClassName String TypeDefinition GetContextService Integer TypeDefinition GetParent PowerObject TypeDefinition TypeOf Object UserObject AddItem Integer UserObject ClassName String UserObject DeleteItem Integer UserObject Drag Integer UserObject EventParmDouble Integer UserObject EventParmString Integer UserObject GetContextService Integer UserObject GetParent PowerObject UserObject Hide Integer UserObject InsertItem Integer UserObject Move Integer UserObject PointerX Integer UserObject PointerY Integer UserObject PostEvent Boolean UserObject Print Integer UserObject Resize Integer UserObject SetFocus Integer UserObject SetPosition Integer UserObject SetRedraw Integer UserObject Show Integer UserObject TriggerEvent Integer UserObject TypeOf Object VariableCardinality ClassName String VariableCardinality GetContextService Integer VariableCardinality GetParent PowerObject VariableCardinality TypeOf Object VariableDefinition ClassName String VariableDefinition GetContextService Integer VariableDefinition GetParent PowerObject VariableDefinition TypeOf Object Window ArrangeSheets Integer Window ChangeMenu Integer Window ClassName String Window CloseUserObject Integer Window GetActiveSheet Window Window GetContextService Integer Window GetFirstSheet Window Window GetNextSheet Window Window GetParent PowerObject Window GetToolbar Integer Window GetToolbarPos Integer Window Hide Integer Window Move Integer Window OpenUserObject Integer Window OpenUserObjectWithParm Integer Window ParentWindow Window Window PointerX Integer Window PointerY Integer Window PostEvent Boolean Window Print Integer Window Resize Integer Window SetFocus Integer Window SetMicroHelp Integer Window SetPosition Integer Window SetRedraw Integer Window SetToolbar Integer Window SetToolbarPosition Integer Window Show Integer Window TriggerEvent Integer Window TypeOf Object Window WorkSpaceHeight Integer Window WorkSpaceWidth Integer Window WorkSpaceX Integer Window WorkSpaceY Integer SystemFunction LowerBound SystemFunction UpperBound SystemFunction Blob SystemFunction BlobEdit SystemFunction BlobMid SystemFunction Len SystemFunction String SystemFunction Asc SystemFunction Char SystemFunction Dec SystemFunction Double SystemFunction Integer SystemFunction Long SystemFunction Real SystemFunction Date SystemFunction DateTime SystemFunction IsDate SystemFunction IsNull SystemFunction IsNumber SystemFunction IsTime SystemFunction String SystemFunction Time SystemFunction Day SystemFunction DayName SystemFunction DayNumber SystemFunction DaysAfter SystemFunction Hour SystemFunction Minute SystemFunction Month SystemFunction Now SystemFunction RelativeDate SystemFunction RelativeTime SystemFunction Second SystemFunction Today SystemFunction Year SystemFunction CloseChannel SystemFunction ExecRemote SystemFunction GetDataDDE SystemFunction GetDataDDEOrigin SystemFunction GetRemote SystemFunction OpenChannel SystemFunction RespondRemote SystemFunction SetRemote SystemFunction StartHotLink SystemFunction StopHotLink SystemFunction GetCommandDDE SystemFunction GetCommandDDEOrigin SystemFunction GetDataDDE SystemFunction GetDataDDEOrigin SystemFunction RespondRemote SystemFunction SetDataDDE SystemFunction StartServerDDE SystemFunction StopServerDDE SystemFunction FileClose SystemFunction FileDelete SystemFunction FileExists SystemFunction FileLength SystemFunction FileOpen SystemFunction FileRead SystemFunction FileSeek SystemFunction FileWrite SystemFunction GetFileOpenName SystemFunction GetFileSaveName SystemFunction IsAllArabic SystemFunction IsAllHebrew SystemFunction IsAnyArabic SystemFunction IsAnyHebrew SystemFunction IsArabic SystemFunction IsArabicAndNumbers SystemFunction IsHebrew SystemFunction IsHebrewAndNumbers SystemFunction Reverse SystemFunction ToAnsi SystemFunction ToUnicode SystemFunction LibraryCreate SystemFunction LibraryDelete SystemFunction LibraryDirectory SystemFunction LibraryExport SystemFunction LibraryImport SystemFunction mailAddress SystemFunction mailDeleteMessage SystemFunction mailGetMessages SystemFunction mailHandle SystemFunction mailLogoff SystemFunction mailLogon SystemFunction mailReadMessage SystemFunction mailRecipientDetails SystemFunction mailResolveRecipient SystemFunction mailSaveMessage SystemFunction mailSend SystemFunction Beep SystemFunction ClassName SystemFunction DebugBreak SystemFunction DraggedObject SystemFunction IntHigh SystemFunction IntLow SystemFunction IsValid SystemFunction KeyDown SystemFunction MessageBox SystemFunction PixelsToUnits SystemFunction PopulateError SystemFunction RGB SystemFunction SetNull SystemFunction SetPointer SystemFunction SignalError SystemFunction UnitsToPixels SystemFunction Abs SystemFunction Ceiling SystemFunction Cos SystemFunction Exp SystemFunction Fact SystemFunction Int SystemFunction Log SystemFunction LogTen SystemFunction Max SystemFunction Min SystemFunction Mod SystemFunction Pi SystemFunction Rand SystemFunction Randomize SystemFunction Round SystemFunction Sign SystemFunction Sin SystemFunction Sqrt SystemFunction Tan SystemFunction Truncate SystemFunction Print SystemFunction PrintBitmap SystemFunction PrintCancel SystemFunction PrintClose SystemFunction PrintDataWindow SystemFunction PrintDefineFont SystemFunction PrintLine SystemFunction PrintOpen SystemFunction PrintOval SystemFunction PrintPage SystemFunction PrintRect SystemFunction PrintRoundRect SystemFunction PrintScreen SystemFunction PrintSend SystemFunction PrintSetFont SystemFunction PrintSetSpacing SystemFunction PrintSetup SystemFunction PrintText SystemFunction PrintWidth SystemFunction PrintX SystemFunction PrintY SystemFunction RegistryDelete SystemFunction RegistryGet SystemFunction RegistryKeys SystemFunction RegistrySet SystemFunction RegistryValues SystemFunction Asc SystemFunction Char SystemFunction Fill SystemFunction Left SystemFunction LeftTrim SystemFunction Len SystemFunction Lower SystemFunction Match SystemFunction Mid SystemFunction Pos SystemFunction Replace SystemFunction Reverse SystemFunction Right SystemFunction RightTrim SystemFunction Space SystemFunction Trim SystemFunction Upper SystemFunction Clipboard SystemFunction CommandParm SystemFunction DoScript SystemFunction GetApplication SystemFunction GetEnvironment SystemFunction GetFocus SystemFunction Post SystemFunction ProfileInt SystemFunction ProfileString SystemFunction Restart SystemFunction Run SystemFunction Send SystemFunction SetProfileString SystemFunction ShowHelp SystemFunction SignalError SystemFunction Yield SystemFunction CPU SystemFunction Idle SystemFunction Timer SystemFunction Close SystemFunction CloseWithReturn SystemFunction Open SystemFunction OpenSheet SystemFunction OpenSheetWithParm SystemFunction OpenWithParm ----------------------------------------------------------------*/ /*---------------------------------------------------------------- PowerBuilder Object Properties ------------------------------------------------------------------ CheckBox Automatic Boolean CheckBox BackColor Long CheckBox BorderStyle BorderStyle (enumerated) CheckBox BringToTop Boolean CheckBox Checked Boolean CheckBox DragAuto Boolean CheckBox DragIcon String CheckBox Enabled Boolean CheckBox FaceName String CheckBox FontCharSet FontCharSet (enumerated) CheckBox FontFamily FontFamily (enumerated) CheckBox FontPitch FontPitch (enumerated) CheckBox Height Integer CheckBox Italic Boolean CheckBox LeftText Boolean CheckBox Pointer String CheckBox RightToLeft Boolean CheckBox TabOrder Integer CheckBox Tag String CheckBox Text String CheckBox TextColor Long CheckBox TextSize Integer CheckBox ThirdState Boolean CheckBox ThreeState Boolean CheckBox Underline Boolean CheckBox Visible Boolean CheckBox Weight Integer CheckBox Width Integer CheckBox X Integer CheckBox Y Integer CommandButton BringToTop Boolean CommandButton Cancel Boolean CommandButton Default Boolean CommandButton DragAuto Boolean CommandButton DragIcon String CommandButton Enabled Boolean CommandButton FaceName String CommandButton FontCharSet FontCharSet (enumerated) CommandButton FontFamily FontFamily (enumerated) CommandButton FontPitch FontPitch (enumerated) CommandButton Height Integer CommandButton Italic Boolean CommandButton Pointer String CommandButton TabOrder Integer CommandButton Tag String CommandButton Text String CommandButton TextSize Integer CommandButton Underline Boolean CommandButton Visible Boolean CommandButton Weight Integer CommandButton Width Integer CommandButton X Integer CommandButton Y Integer DataWindow Border Boolean DataWindow BorderStyle BorderStyle (enumerated) DataWindow BringToTop Boolean DataWindow ControlMenu Boolean DataWindow DataObject String DataWindow DragAuto Boolean DataWindow DragIcon String DataWindow Enabled Boolean DataWindow Height Integer DataWindow HScrollBar Boolean DataWindow HSplitScroll Boolean DataWindow Icon String DataWindow LiveScroll Boolean DataWindow MaxBox Boolean DataWindow MinBox Boolean DataWindow Object DWObject DataWindow Resizable Boolean DataWindow RightToLeft Boolean DataWindow TabOrder Integer DataWindow Tag String DataWindow Title String DataWindow TitleBar Boolean DataWindow Visible Boolean DataWindow VScrollBar Boolean DataWindow Width Integer DataWindow X Integer DataWindow Y Integer DropDownListBox Accelerator Integer DropDownListBox AllowEdit Boolean DropDownListBox AutoHScroll Boolean DropDownListBox BackColor Long DropDownListBox Border Boolean DropDownListBox BorderStyle BorderStyle (enumerated) DropDownListBox BringToTop Boolean DropDownListBox DragAuto Boolean DropDownListBox DragIcon String DropDownListBox Enabled Boolean DropDownListBox FaceName String DropDownListBox FontCharSet FontCharSet (enumerated) DropDownListBox FontFamily FontFamily (enumerated) DropDownListBox FontPitch FontPitch (enumerated) DropDownListBox Height Integer DropDownListBox HScrollBar Boolean DropDownListBox Italic Boolean DropDownListBox Item[ ] String array DropDownListBox Limit Integer DropDownListBox Pointer String DropDownListBox RightToLeft Boolean DropDownListBox ShowList Boolean DropDownListBox Sorted Boolean DropDownListBox TabOrder Integer DropDownListBox Tag String DropDownListBox Text String DropDownListBox TextColor Long DropDownListBox TextSize Integer DropDownListBox Underline Boolean DropDownListBox Visible Boolean DropDownListBox VScrollBar Boolean DropDownListBox Weight Integer DropDownListBox Width Integer DropDownListBox X Integer DropDownListBox Y Integer DropDownPicture Accelerator Integer DropDownPicture AllowEdit Boolean DropDownPicture AutoHScroll Boolean DropDownPicture BackColor Long DropDownPicture Border Boolean DropDownPicture BorderStyle BorderStyle (enumerated) DropDownPicture BringToTop Boolean DropDownPicture DragAuto Boolean DropDownPicture DragIcon String DropDownPicture Enabled Boolean DropDownPicture FaceName String DropDownPicture FontCharSet FontCharSet (enumerated) DropDownPicture FontFamily FontFamily (enumerated) DropDownPicture FontPitch FontPitch (enumerated) DropDownPicture Height Integer DropDownPicture HScrollBar Boolean DropDownPicture Italic Boolean DropDownPicture Item[ ] String array DropDownPicture ItemPictureIndex[ ] Integer DropDownPicture Limit Integer DropDownPicture PictureHeight Integer DropDownPicture PictureWidth Integer DropDownPicture PictureMaskColor Long DropDownPicture PictureName[ ] String DropDownPicture Pointer String DropDownPicture RightToLeft Boolean DropDownPicture ShowList Boolean DropDownPicture Sorted Boolean DropDownPicture TabOrder Integer DropDownPicture Tag String DropDownPicture Text String DropDownPicture TextColor Long DropDownPicture TextSize Integer DropDownPicture Underline Boolean DropDownPicture Visible Boolean DropDownPicture VScrollBar Boolean DropDownPicture Weight Integer DropDownPicture Width Integer DropDownPicture X Integer DropDownPicture Y Integer EditMask Accelerator Integer EditMask Alignment Alignment EditMask (enumerated) Specifies the alignment of text in the control. Values are:Center!Justify!Left!Right! EditMask AutoHScroll Boolean EditMask AutoSkip Boolean EditMask AutoVScroll Boolean EditMask BackColor Long EditMask Border Boolean EditMask BorderStyle BorderStyle (enumerated) EditMask BringToTop Boolean EditMask DisplayData String EditMask DisplayOnly Boolean EditMask DragAuto Boolean EditMask DragIcon String EditMask Enabled Boolean EditMask FaceName String EditMask FontCharSet FontCharSet (enumerated) EditMask FontFamily FontFamily (enumerated) EditMask FontPitch FontPitch (enumerated) EditMask Height Integer EditMask HScrollBar Boolean EditMask HideSelection Boolean EditMask IgnoreDefaultButton Boolean EditMask Increment Double EditMask Italic Boolean EditMask Limit Integer EditMask Mask String EditMask MaskDataType MaskDataType (enumerated) EditMask MinMax String EditMask Pointer String EditMask RightToLeft Boolean EditMask Spin Boolean EditMask TabOrder Integer EditMask TabStop[ ] Integer EditMask Tag String EditMask Text String EditMask TextColor Long EditMask TextCase TextCase (enumerated) EditMask TextSize Integer EditMask UnderLine Boolean EditMask UseCodeTable Boolean EditMask Visible Boolean EditMask VScrollBar Boolean EditMask Weight Integer EditMask Width Integer EditMask X Integer EditMask Y Integer Graph BackColor Long Graph Border Boolean Graph BorderStyle BorderStyle (enumerated) Graph BringToTop Boolean Graph Category grAxis Graph CategorySort grSortType Graph Depth Integer Graph DragAuto Boolean Graph DragIcon String Graph Elevation Integer Graph Enabled Boolean Graph FocusRectangle Boolean Graph GraphType grGraphType (enumerated) Graph Height Integer Graph Legend grLegendType (enumerated) Graph LegendDispAttr grDispAttr Graph OverlapPercent Integer Graph Perspective Integer Graph PieDispAttr grDispAttr Graph Pointer String Graph Rotation Integer Graph Series grAxis Graph SeriesSort grSortType Graph ShadeColor Long Graph Spacing Integer Graph TabOrder Integer Graph Tag String Graph TextColor Long Graph Title String Graph TitleDispAttr grDispAttr Graph Values grAxis Graph Visible Boolean Graph Width Integer Graph X Integer Graph Y Integer GroupBox BackColor Long GroupBox BorderStyle BorderStyle (enumerated) GroupBox BringToTop Boolean GroupBox DragAuto Boolean GroupBox DragIcon String GroupBox Enabled Boolean GroupBox FaceName String GroupBox FontCharSet FontCharSet (enumerated) GroupBox FontFamily FontFamily (enumerated) GroupBox FontPitch FontPitch (enumerated) GroupBox Height Integer GroupBox Italic Boolean GroupBox Pointer String GroupBox RightToLeft Boolean GroupBox TabOrder Integer GroupBox Tag String GroupBox Text String GroupBox TextColor Long GroupBox TextSize Integer GroupBox Underline Boolean GroupBox Visible Boolean GroupBox Weight Integer GroupBox Width Integer GroupBox X Integer GroupBox Y Integer HScrollBar BringToTop Boolean HScrollBar DragAuto Boolean HScrollBar DragIcon String HScrollBar Height Integer HScrollBar MaxPosition Integer HScrollBar MinPosition Integer HScrollBar Pointer String HScrollBar Position Integer HScrollBar StdHeight Boolean HScrollBar TabOrder Integer HScrollBar Tag String HScrollBar Visible Boolean Line BeginX Integer Line BeginY Integer Line EndX Integer Line EndY Integer Line LineColor Long Line LineStyle LineStyle (enumerated) Line LineThickness Integer Line Tag String Line Visible Boolean ListBox Accelerator Integer ListBox BackColor Long ListBox Border Boolean ListBox BorderStyle BorderStyle (enumerated) ListBox BringToTop Boolean ListBox DisableNoScroll Boolean ListBox DragAuto Boolean ListBox DragIcon String ListBox Enabled Boolean ListBox ExtendedSelect Boolean ListBox FaceName String ListBox FontCharSet FontCharSet (enumerated) ListBox FontFamily FontFamily (enumerated) ListBox FontPitch FontPitch (enumerated) ListBox Height Integer ListBox HScrollBar Boolean ListBox Italic Boolean ListBox Item[ ] String ListBox MultiSelect Boolean ListBox Pointer String ListBox RightToLeft Boolean ListBox Sorted Boolean ListBox TabOrder Integer ListBox TabStop[ ] Integer array ListBox Tag String ListBox TextColor Long ListBox TextSize Integer ListBox Underline Boolean ListBox Visible Boolean ListBox VScrollBar Boolean ListBox Weight Integer ListBox Width Integer ListBox X Integer ListBox Y Integer ListView Accelerator Integer ListView AutoArrange Boolean ListView BackColor Long ListView Border Boolean ListView BorderStyle BorderStyle (enumerated) ListView BringToTop Boolean ListView ButtonHeader Boolean ListView DeleteItems Boolean ListView DragAuto Boolean ListView DragIcon String ListView EditLabels Boolean ListView Enabled Boolean ListView ExtendedSelect Boolean ListView FaceName String ListView FixedLocations Boolean ListView FontCharSet FontCharSet (enumerated) ListView FontFamily FontFamily (enumerated) ListView FontPitch FontPitch (enumerated) ListView Height Integer ListView HideSelection Boolean ListView Italic Boolean ListView Item[ ] String ListView ItemPictureIndex[ ] Integer ListView LabelWrap Boolean ListView LargePictureHeight Integer ListView LargePictureMaskColor Long ListView LargePictureName[ ] String ListView LargePictureWidth Integer ListView Pointer String ListView Scrolling Boolean ListView ShowHeader Boolean ListView SmallPictureHeight Integer ListView SmallPictureMaskColor Long ListView SmallPictureName[ ] String ListView SmallPictureWidth Integer ListView SortType grSortType ListView StatePictureHeight Integer ListView StatePictureMaskColor Long ListView StatePictureName[ ] String ListView StatePictureWidth Integer ListView TabOrder Integer ListView Tag String ListView TextColor Long ListView TextSize Integer ListView Underline Boolean ListView View ListViewView ListView Visible Boolean ListView Weight Integer ListView Width Integer ListView X Integer ListView Y Integer MultiLineEdit Accelerator Integer MultiLineEdit Alignment Alignment (enumerated) MultiLineEdit AutoHScroll Boolean MultiLineEdit AutoVScroll Boolean MultiLineEdit BackColor Long MultiLineEdit Border Boolean MultiLineEdit BorderStyle BorderStyle (enumerated) MultiLineEdit BringToTop Boolean MultiLineEdit DisplayOnly Boolean MultiLineEdit DragAuto Boolean MultiLineEdit DragIcon String MultiLineEdit Enabled Boolean MultiLineEdit FaceName String MultiLineEdit FontCharSet FontCharSet (enumerated) MultiLineEdit FontFamily FontFamily (enumerated) MultiLineEdit FontPitch FontPitch (enumerated) MultiLineEdit Height Integer MultiLineEdit HideSelection Boolean MultiLineEdit HScrollBar Boolean MultiLineEdit IgnoreDefaultButton Boolean MultiLineEdit Italic Boolean MultiLineEdit Limit Integer MultiLineEdit Pointer String MultiLineEdit RightToLeft Boolean MultiLineEdit TabOrder Integer MultiLineEdit TabStop[ ] Integer MultiLineEdit Tag String MultiLineEdit Text String MultiLineEdit TextCase TextCase (enumerated) MultiLineEdit TextColor Long MultiLineEdit TextSize Integer MultiLineEdit Underline Boolean MultiLineEdit Visible Boolean MultiLineEdit VScrollBar Boolean MultiLineEdit Weight Integer MultiLineEdit Width Integer MultiLineEdit X Integer MultiLineEdit Y Integer OLEControl Activation omActivation OLEControl BackColor Long OLEControl Border Boolean OLEControl BorderStyle BorderStyle (enumerated) OLEControl BringToTop Boolean OLEControl ClassLongName String OLEControl ClassShortName String OLEControl ContentsAllowed omContents OLEControl Allowed Specifies whether the OLE object in the control must be embedded or linked or whether either method is allowed when Insert is called at runtime. OLEControl DisplayName String OLEControl DisplayType omDisplayType OLEControl DocFileName String OLEControl DragAuto Boolean OLEControl DragIcon String OLEControl Enabled Boolean OLEControl FocusRectangle Boolean OLEControl Height Integer OLEControl IsDragTarget Boolean OLEControl LinkItem String OLEControl LinkUpdateOptions omLinkUpdateOptions OLEControl Object omObject OLEControl ObjectData Blob OLEControl ParentStorage omStorage OLEControl Pointer String OLEControl Resizable Boolean OLEControl TabOrder Integer OLEControl Tag String OLEControl Visible Boolean OLEControl Width Integer OLEControl X Integer OLEControl Y Integer OLECustomControl Alignment Alignment (enumerated) OLECustomControl BackColor Long OLECustomControl Border Boolean OLECustomControl BorderStyle BorderStyle (enumerated) OLECustomControl BringToTop Boolean OLECustomControl Cancel Boolean OLECustomControl ClassLongName String OLECustomControl ClassShortName String OLECustomControl DisplayName String OLECustomControl Default Boolean OLECustomControl DragAuto Boolean OLECustomControl DragIcon String OLECustomControl Enabled Boolean OLECustomControl FaceName String OLECustomControl FocusRectangle Boolean OLECustomControl FontCharSet FontCharSet (enumerated) OLECustomControl FontFamily FontFamily (enumerated) OLECustomControl FontPitch FontPitch (enumerated) OLECustomControl Height Integer OLECustomControl IsDragTarget Boolean OLECustomControl Italic Boolean OLECustomControl Object omObject OLECustomControl Pointer String OLECustomControl TabOrder Integer OLECustomControl Tag String OLECustomControl TextColor Long OLECustomControl TextSize Integer OLECustomControl Underline Boolean OLECustomControl Visible Boolean OLECustomControl Weight Integer OLECustomControl Width Integer OLECustomControl X Integer OLECustomControl Y Integer Oval FillColor Long Oval FillPattern FillPattern (enumerated) Oval Height Integer Oval LineColor Long Oval LineStyle LineStyle (enumerated) Oval LineThickness Integer Oval Tag String Oval Visible Boolean Oval Width Integer Oval X Integer Oval Y Integer Picture Border Boolean Picture BorderStyle BorderStyle (enumerated) Picture BringToTop Boolean Picture DragAuto Boolean Picture DragIcon String Picture Enabled Boolean Picture FocusRectangle Boolean Picture Height Integer Picture Invert Boolean Picture OriginalSize Boolean Picture PictureName String Picture Pointer String Picture TabOrder Integer Picture Tag String Picture Visible Boolean Picture Width Integer Picture X Integer Picture Y Integer PictureButton HTextAlign Alignment (enumerated) PictureButton BringToTop Boolean PictureButton Cancel Boolean PictureButton Default Boolean PictureButton DisabledName String PictureButton DragAuto Boolean PictureButton DragIcon String PictureButton Enabled Boolean PictureButton FaceName String PictureButton FontCharSet FontCharSet (enumerated) PictureButton FontFamily FontFamily (enumerated) PictureButton FontPitch FontPitch (enumerated) PictureButton Height Integer PictureButton Italic Boolean PictureButton OriginalSize Boolean PictureButton PictureName String PictureButton Pointer String PictureButton TabOrder Integer PictureButton Tag String PictureButton Text String PictureButton TextSize Integer PictureButton Underline Boolean PictureButton Visible Boolean PictureButton VTextAlign VTextAlign (enumerated) PictureButton Weight Integer PictureButton Width Integer PictureButton X Integer PictureButton Y Integer PictureListBox Accelerator Integer PictureListBox BackColor Long PictureListBox Border Boolean PictureListBox BorderStyle BorderStyle (enumerated) PictureListBox BringToTop Boolean PictureListBox DisableNoScroll Boolean PictureListBox DragAuto Boolean PictureListBox DragIcon String PictureListBox Enabled Boolean PictureListBox ExtendedSelect Boolean PictureListBox FaceName String PictureListBox FontCharSet FontCharSet (enumerated) PictureListBox FontFamily FontFamily (enumerated) PictureListBox FontPitch FontPitch (enumerated) PictureListBox Height Integer PictureListBox HScrollBar Boolean PictureListBox Italic Boolean PictureListBox Item[ ] String PictureListBox ItemPictureIndex[ ] Integer PictureListBox MultiSelect Boolean PictureListBox PictureHeight Integer PictureListBox PictureWidth Integer PictureListBox PictureMaskColor Long PictureListBox PictureName[ ] String PictureListBox Pointer String PictureListBox RightToLeft Boolean PictureListBox Sorted Boolean PictureListBox TabOrder Integer PictureListBox TabStop[ ] Integer array PictureListBox Tag String PictureListBox TextColor Long RadioButton Automatic Boolean RadioButton BackColor Long RadioButton BorderStyle BorderStyle (enumerated) RadioButton BringToTop Boolean RadioButton Checked Boolean RadioButton DragAuto Boolean RadioButton DragIcon String RadioButton Enabled Boolean RadioButton FaceName String RadioButton FontCharSet FontCharSet (enumerated) RadioButton FontFamily FontFamily (enumerated) RadioButton FontPitch FontPitch (enumerated) RadioButton Height Integer RadioButton Italic Boolean RadioButton LeftText Boolean RadioButton Pointer String RadioButton RightToLeft Boolean RadioButton TabOrder Integer RadioButton Tag String RadioButton Text String RadioButton TextColor Long RadioButton TextSize Integer RadioButton Underline Boolean RadioButton Visible Boolean RadioButton Weight Integer RadioButton Width Integer RadioButton X Integer RadioButton Y Integer Rectangle FillColor Long Rectangle FillPattern FillPattern (enumerated) Rectangle Height Integer Rectangle LineColor Long Rectangle LineStyle LineStyle (enumerated) Rectangle LineThickness Integer Rectangle Tag String Rectangle Visible Boolean Rectangle Width Integer Rectangle X Integer Rectangle Y Integer RichTextEdit Accelerator Integer RichTextEdit BackColor Long RichTextEdit Border Boolean RichTextEdit BorderStyle BorderStyle (enumerated) RichTextEdit BottomMargin Long RichTextEdit BringToTop Boolean RichTextEdit DisplayOnly Boolean RichTextEdit DocumentName String RichTextEdit DragAuto Boolean RichTextEdit DragIcon String RichTextEdit Enabled Boolean RichTextEdit HeaderFooter Boolean RichTextEdit Height Integer RichTextEdit HScrollBar Boolean RichTextEdit InputFieldBackColor Long RichTextEdit InputFieldNamesVisible Boolean RichTextEdit InputFieldsVisible Boolean RichTextEdit LeftMargin Long RichTextEdit Modified Boolean RichTextEdit PicturesAsFrame Boolean RichTextEdit Pointer String RichTextEdit PopMenu Boolean RichTextEdit Resizable Boolean RichTextEdit ReturnsVisible Boolean RichTextEdit RightMargin Long RichTextEdit RulerBar Boolean RichTextEdit SpacesVisible Boolean RichTextEdit TabBar Boolean RichTextEdit TabOrder Integer RichTextEdit TabsVisible Boolean RichTextEdit Tag String RichTextEdit ToolBar Boolean RichTextEdit TopMargin Long RichTextEdit UndoDepth Integer RichTextEdit Visible Boolean RichTextEdit VScrollBar Boolean RichTextEdit Width Integer RichTextEdit WordWrap Boolean RichTextEdit X Integer RichTextEdit Y Integer RoundRectangle CornerHeight Integer RoundRectangle CornerWidth Integer RoundRectangle FillColor Long RoundRectangle FillPattern FillPattern (enumerated) RoundRectangle Height Integer RoundRectangle LineColor Long RoundRectangle LineStyle LineStyle (enumerated) RoundRectangle LineThickness Integer RoundRectangle Tag String RoundRectangle Visible Boolean RoundRectangle Width Integer RoundRectangle X Integer RoundRectangle Y Integer SingleLineEdit Accelerator Integer SingleLineEdit AutoHScroll Boolean SingleLineEdit BackColor Long SingleLineEdit Border Boolean SingleLineEdit BorderStyle BorderStyle (enumerated) SingleLineEdit BringToTop Boolean SingleLineEdit DisplayOnly Boolean SingleLineEdit DragAuto Boolean SingleLineEdit DragIcon String SingleLineEdit Enabled Boolean SingleLineEdit FaceName String SingleLineEdit FontCharSet FontCharSet (enumerated) SingleLineEdit FontFamily FontFamily (enumerated) SingleLineEdit FontPitch FontPitch (enumerated) SingleLineEdit Height Integer SingleLineEdit HideSelection Boolean SingleLineEdit Italic Boolean SingleLineEdit Limit Integer SingleLineEdit Password Boolean SingleLineEdit Pointer String SingleLineEdit RightToLeft Boolean SingleLineEdit TabOrder Integer SingleLineEdit Tag String SingleLineEdit Text String SingleLineEdit TextCase TextCase (enumerated) SingleLineEdit TextColor Long SingleLineEdit TextSize Integer SingleLineEdit Underline Boolean SingleLineEdit Visible Boolean SingleLineEdit Weight Integer SingleLineEdit Width Integer SingleLineEdit X Integer SingleLineEdit Y Integer StaticText Alignment Alignment (enumerated) StaticText BackColor Long StaticText Border Boolean StaticText BorderColor Long StaticText BorderStyle BorderStyle (enumerated) StaticText BringToTop Boolean StaticText DragAuto Boolean StaticText DragIcon String StaticText Enabled Boolean StaticText FaceName String StaticText FillPattern FillPattern (enumerated) StaticText FocusRectangle Boolean StaticText FontCharSet FontCharSet (enumerated) StaticText FontFamily FontFamily (enumerated) StaticText FontPitch FontPitch (enumerated) StaticText Height Integer StaticText Italic Boolean StaticText Pointer String StaticText RightToLeft Boolean StaticText TabOrder Integer StaticText Tag String StaticText Text String StaticText TextColor Long StaticText TextSize Integer StaticText Underline Boolean StaticText Visible Boolean StaticText Weight Integer StaticText Width Integer StaticText X Integer StaticText Y Integer Tab Alignment Alignment (enumerated) Tab BackColor Long Tab BoldSelectedText Boolean Tab BringToTop Boolean Tab CreateOnDemand Boolean Tab Control[ ] UserObject Tab DragAuto Boolean Tab DragIcon String Tab Enabled Boolean Tab FaceName String Tab FixedWidth Boolean Tab FocusOnButtonDown Boolean Tab FontCharSet FontCharSet (enumerated) Tab FontFamily FontFamily (enumerated) Tab FontPitch FontPitch (enumerated) Tab Height Integer Tab Italic Boolean Tab Multiline Boolean Tab PerpendicularText Boolean Tab PictureOnRight Boolean Tab Pointer String Tab PowerTips Boolean Tab RaggedRight Boolean Tab SelectedTab Integer Tab ShowPicture Boolean Tab ShowText Boolean Tab TabOrder Integer Tab TabPosition TabPosition (enumerated) Tab Tag String Tab TextSize Integer Tab Underline Boolean Tab Visible Boolean Tab Weight Integer Tab Width Integer Tab X Integer Tab Y Integer TreeView Accelerator Integer TreeView BackColor Long TreeView Border Boolean TreeView BorderStyle BorderStyle (enumerated) TreeView BringToTop Boolean TreeView DeleteItems Boolean TreeView DisableDragDrop Boolean TreeView DragAuto Boolean TreeView DragIcon String TreeView EditLabels Boolean TreeView Enabled Boolean TreeView FaceName String TreeView FontCharSet FontCharSet (enumerated) TreeView FontFamily FontFamily (enumerated) TreeView FontPitch FontPitch (enumerated) TreeView HasButtons Boolean TreeView HasLines Boolean TreeView Height Integer TreeView HideSelection Boolean TreeView Indent Integer TreeView Italic Boolean TreeView LinesAtRoot Boolean TreeView PictureHeight Integer TreeView PictureMaskColor Long TreeView PictureName String TreeView PictureWidth Integer TreeView Pointer String TreeView SortType grSortType TreeView StatePictureHeight Integer TreeView StatePictureMask- TreeView Color Long TreeView StatePictureName String TreeView StatePictureWidth Integer TreeView TabOrder Integer TreeView Tag String TreeView TextColor Long TreeView TextSize Integer TreeView Underline Boolean TreeView Visible Boolean TreeView Weight Integer TreeView Width Integer TreeView X Integer TreeView Y Integer UserObject BackColor Long UserObject Border Boolean UserObject BorderStyle BorderStyle (enumerated) UserObject BringToTop Boolean UserObject ClassName String UserObject ColumnsPerPage Integer UserObject Control[ ] WindowObject UserObject DragAuto Boolean UserObject DragIcon String UserObject Enabled Boolean UserObject Height Integer UserObject HScrollBar Boolean UserObject LibraryName String UserObject LinesPerPage Integer UserObject ObjectType UserObjects (enumerated) UserObject PictureMaskColor Long UserObject PictureName String UserObject Pointer String UserObject PowerTipText String UserObject Style Long UserObject TabBackColor Long UserObject TabTextColor Long UserObject TabOrder Integer UserObject Tag String UserObject Text String UserObject UnitsPerColumn Integer UserObject UnitsPerLine Integer UserObject Visible Boolean UserObject VScrollBar Boolean UserObject Width Integer UserObject X Integer UserObject Y Integer VScrollBar BringToTop Boolean VScrollBar DragAuto Boolean VScrollBar DragIcon String VScrollBar Height Integer VScrollBar MaxPosition Integer VScrollBar MinPosition Integer VScrollBar Pointer String VScrollBar Position Integer VScrollBar StdWidth Boolean VScrollBar TabOrder Integer VScrollBar Tag String VScrollBar Visible Boolean VScrollBar Width Integer VScrollBar X Integer VScrollBar Y Integer Application AppName String Application DDETimeOut Integer Application DisplayName String Application DWMessageTitle String Application MicroHelpDefault String Application RightToLeft Boolean Application ToolbarFrameTitle String Application ToolbarPopMenuText String Application ToolbarSheetTitle String Application ToolbarText Boolean Application ToolbarTips Boolean Application ToolbarUserControl Boolean ArrayBounds ClassDefinition PowerObject ArrayBounds LowerBound Long ArrayBounds UpperBound Long ClassDefinition Ancestor ClassDefinition ClassDefinition Category TypeCategory ClassDefinition ClassDefinition PowerObject ClassDefinition DataTypeOf String ClassDefinition IsAutoinstantiate Boolean ClassDefinition IsStructure Boolean ClassDefinition IsSystemType Boolean ClassDefinition IsVariableLength Boolean ClassDefinition IsVisualType Boolean ClassDefinition LibraryName String ClassDefinition Name String ClassDefinition NestedClassList[ ] ClassDefinition ClassDefinition ParentClass ClassDefinition ClassDefinition ScriptList[ ] ScriptDefinition ClassDefinition VariableList[ ] VariableDefinition Connection Application String Connection ConnectString String Connection Driver String Connection ErrCode Long Connection ErrText String Connection Location String Connection Options String Connection Password String Connection Trace String Connection UserID String ConnectionInfo Busy Boolean ConnectionInfo CallCount Long ConnectionInfo ClientID String ConnectionInfo ConnectTime DateTime ConnectionInfo ConnectUserID String ConnectionInfo LastCallTime DateTime ConnectionInfo Location String ConnectionInfo UserID String ContextInformation ClassDefinition PowerObject ContextKeyword ClassDefinition PowerObject CPlusPlus LibraryName String DataStore DataObject String DataStore Object DWObject DynamicDescriptionArea NumInputs Integer DynamicDescriptionArea NumOutputs Integer DynamicDescriptionArea InParmType[ ] ParmType (enumerated) DynamicDescriptionArea OutParmType[ ] ParmType (enumerated) EnumerationDefinition Category TypeCategory EnumerationDefinition ClassDefinition PowerObject EnumerationDefinition DataTypeOf String EnumerationDefinition Enumeration[ ] Enumeration- EnumerationDefinition ItemDefinition An array of the name-value pairs for all the items in the enumeration. EnumerationDefinition IsStructure Boolean EnumerationDefinition IsSystemType Boolean EnumerationDefinition IsVariableLength Boolean EnumerationDefinition IsVisualType Boolean EnumerationDefinition LibraryName String EnumerationDefinition Name String EnumerationItemDefinition ClassDefinition PowerObject EnumerationItemDefinition Name String EnumerationItemDefinition Value Long Environment CPUType CPUTypes (enumerated) Environment MachineCode Boolean Environment OSFixesRevision Integer Environment OSMajorRevision Integer Environment OSMinorRevision Integer Environment PBFixesRevision Integer Environment PBMajorRevision Integer Environment PBMinorRevision Integer Environment NumberOfColors Long Environment ScreenHeight Long Environment ScreenWidth Long Environment OSType OSTypes (enumerated) Environment PBType PBTypes (enumerated) Environment Win16 Boolean Error Line Integer Error Number Integer Error Object String Error ObjectEvent String Error Text String Error WindowMenu String grAxis AutoScale Boolean grAxis DataType grAxisDataType(enumerated) grAxis DisplayAttr grDispAttr (object) grAxis DisplayEveryNLabels Integer grAxis DropLines LineStyle (enumerated) grAxis Frame LineStyle (enumerated) grAxis Label String grAxis LabelDispAttr grDispAttr (object) grAxis MajorDivisions Integer grAxis MajorGridLine LineStyle (enumerated) grAxis MajorTic grTicType (enumerated) grAxis MaximumValue Double grAxis MaxValDateTime DateTime grAxis MinimumValue Double grAxis MinorDivisions Integer grAxis MinorGridLine LineStyle (enumerated) grAxis MinorTic grTicType (enumerated) grAxis MinValDateTime DateTime grAxis OriginLine LineStyle (enumerated) grAxis PrimaryLine LineStyle (enumerated) grAxis RoundTo Double grAxis RoundToUnitTo grRoundToType (enumerated) grAxis ScaleType grScaleType (enumerated) grAxis ScaleValue grScaleValue (enumerated) grAxis SecondaryLine LineStyle (enumerated) grAxis ShadeBackEdge Boolean grDispAttr Alignment Alignment (enumerated) grDispAttr AutoSize Boolean grDispAttr BackColor Long grDispAttr DisplayExpression String grDispAttr Escapement Integer grDispAttr FaceName String grDispAttr FillPattern FillPattern (enumerated) grDispAttr FontCharSet FontCharSet (enumerated) grDispAttr FontFamily FontFamily (enumerated) grDispAttr FontPitch FontPitch (enumerated) grDispAttr Format String grDispAttr Italic Boolean grDispAttr TextColor Long grDispAttr TextSize Integer grDispAttr Underline Boolean grDispAttr Weight Integer Inet ClassDefinition PowerObject InternetResult lassDefinition PowerObject ListViewItem CutHighlighted Boolean ListViewItem Data Any ListViewItem DropHighlighted Boolean ListViewItem HasFocus Boolean ListViewItem ItemX Integer ListViewItem ItemY Integer ListViewItem Label String ListViewItem OverlayPictureIndex Integer ListViewItem PictureIndex Integer ListViewItem Selected Boolean ListViewItem StatePictureIndex Integer mailFileDescription FileType mailFileType(enumerated) mailFileDescription Filename String mailFileDescription Pathname String mailFileDescription Position Unsignedlong mailMessage AttachmentFile[ ] mailFileDescription mailMessage ConversationID String mailMessage DateReceived String mailMessage MessageSent Boolean mailMessage MessageType String mailMessage NoteText String mailMessage ReceiptRequested Boolean mailMessage Recipient[ ] mailRecipient mailMessage Subject String mailMessage Unread Boolean mailRecipient Address String mailRecipient EntryID Blob mailRecipient Name String mailRecipient RecipientType mailRecipientType (enumerated) mailSession MessageID[ ] String mailSession SessionID Long MDIClient BackColor Long MDIClient BringToTop Boolean MDIClient Height Integer MDIClient MicroHelpHeight Integer MDIClient Tag String MDIClient Visible Boolean MDIClient Width Integer MDIClient X Integer MDIClient Y Integer Menu Checked Boolean Menu Enabled Boolean Menu Item[ ] Menu Menu MenuItemType MenuItemType (enumerated) Menu MergeOption MenuMerge Option (enumerated) Menu MicroHelp String Menu ParentWindow Window Menu ShiftToRight Boolean Menu Shortcut Integer Menu Tag String Menu Text String Menu ToolbarItemDown Boolean Menu ToolbarItemDownName String Menu ToolbarItemBarIndex Integer Menu ToolbarItemName String Menu ToolbarItemOrder Integer Menu ToolbarItemSpace Integer Menu ToolbarItemText String Menu ToolbarItemVisible Boolean Menu Visible Boolean MenuCascade Checked Boolean MenuCascade Columns Integer MenuCascade CurrentItem Menu MenuCascade DropDown Boolean MenuCascade Enabled Boolean MenuCascade Item[ ] Menu MenuCascade MenuItemType MenuItemType (enumerated) MenuCascade MergeOption MenuMergeOption (enumerated) MenuCascade "This and other OLE functions are only available on the Windows platform.? For more information about MergeOption, see the chapter on using OLE in Application Techniques." MenuCascade MicroHelp String MenuCascade ParentWindow Window MenuCascade ShiftToRight Boolean MenuCascade Shortcut Integer MenuCascade Tag String MenuCascade Text String MenuCascade ToolbarItemDown Boolean MenuCascade ToolbarItemDownName String MenuCascade ToolbarItemBarIndex Integer MenuCascade ToolbarItemName String MenuCascade ToolbarItemOrder Integer MenuCascade ToolbarItemSpace Integer MenuCascade ToolbarItemText String MenuCascade ToolbarItemVisible Boolean MenuCascade Visible Boolean Message Handle Long Message Number UnsignedInt Message WordParm Long Message LongParm Long Message DoubleParm Double Message StringParm String Message PowerObjectParm PowerObject Message Processed Boolean Message ReturnValue Long OLEStorage DocumentName String OLEStream Name String OLEStream Storage OMStorage Pipeline DataObject String Pipeline RowsInError Long Pipeline RowsRead Long Pipeline RowsWritten Long Pipeline Syntax String ProfileCall AbsoluteSelfTime Decimal ProfileCall AbsoluteTotalTime Decimal ProfileCall CalledRoutine ProfileRoutine ProfileCall CallingLine ProfileLine ProfileCall CallingRoutine ProfileRoutine ProfileCall HitCount Long ProfileCall PercentCalleeSelfTime Double ProfileCall PercentCalleeTotalTime Double ProfileCall PercentCallerTotalTime Double ProfileClass LibraryName String ProfileClass Name String ProfileLine AbsoluteSelfTime Decimal ProfileLine AbsoluteTotalTime Decimal ProfileLine HitCount Long ProfileLine LineNumber Long ProfileLine MaxSelfTime Decimal ProfileLine MaxTotalTime Decimal ProfileLine MinSelfTime Decimal ProfileLine MinTotalTime Decimal ProfileLine PercentSelfTime Double ProfileLine PercentTotalTime Double ProfileLine Routine ProfileRoutine ProfileRoutine AbsoluteSelfTime Decimal ProfileRoutine AbsoluteTotalTime Decimal ProfileRoutine Class ProfileClass ProfileRoutine HitCount Long ProfileRoutine Kind ProfileRoutineKind (enumerated) ProfileRoutine MaxSelfTime Decimal ProfileRoutine MaxTotalTime Decimal ProfileRoutine MinSelfTime Decimal ProfileRoutine MinTotalTime Decimal ProfileRoutine Name String ProfileRoutine PercentSelfTime Double ProfileRoutine PercentTotalTime Double Profiling ApplicationName String Profiling CollectionTime Decimal Profiling NumberOfActivities Long Profiling TraceFileName String ScriptDefinition Access VarAccess ScriptDefinition AliasName String ScriptDefinition ArgumentList VariableDefinition ScriptDefinition ClassDefinition PowerObject ScriptDefinition EventId Long ScriptDefinition EventIdName String ScriptDefinition ExternalUserFunction String ScriptDefinition IsExternalEvent Boolean ScriptDefinition IsLocallyDefined Boolean ScriptDefinition IsLocallyScripted Boolean ScriptDefinition IsRPCFunction Boolean ScriptDefinition IsScripted Boolean ScriptDefinition Kind ScriptKind ScriptDefinition LocalVariableList VariableDefinition ScriptDefinition Name String ScriptDefinition ReturnType TypeDefinition ScriptDefinition Source String ScriptDefinition SystemFunction String TraceActivityNode ActivityType TraceActivity (enumerated) TraceActivityNode Category TraceCategory (enumerated) TraceActivityNode TimerValue Decimal TraceBeginEnd ActivityType TraceActivity (enumerated) TraceBeginEnd Category TraceCategory (enumerated) TraceBeginEnd Message String TraceBeginEnd TimerValue Decimal TraceError ActivityType TraceActivity (enumerated) TraceError Category TraceCategory (enumerated) TraceError Message String TraceError Severity Long TraceError TimerValue Decimal TraceESQL ActivityNode TraceActivity TraceESQL Category TraceCategory TraceESQL Name String TraceESQL TimerValue Decimal TraceFile ApplicationName String TraceFile CollectionTime Decimal TraceFile LastError ErrorReturn (enumerated) TraceFile NumberOfActivities Long TraceFile FileName String TraceGarbageCollect ActivityType TraceActivity (enumerated) TraceGarbageCollect Category TraceCategory (enumerated) TraceGarbageCollect TimerValue Decimal TraceLine ActivityType TraceActivity (enumerated) TraceLine Category TraceCategory (enumerated) TraceLine LineNumber UnsignedLong TraceLine TimerValue Decimal TraceObject ActivityType TraceActivity (enumerated) TraceObject Category TraceCategory (enumerated) TraceObject ClassName String TraceObject IsCreate Boolean TraceObject LibraryName String TraceObject ObjectID UnsignedLong TraceObject TimerValue Decimal TraceRoutine ActivityType TraceActivity (enumerated) TraceRoutine Category TraceCategory (enumerated) TraceRoutine ClassName String TraceRoutine IsEvent Boolean TraceRoutine LibraryName String TraceRoutine Name String TraceRoutine ObjectID UnsignedLong TraceRoutine TimerValue Decimal TraceTree ApplicationName String TraceTree CollectionTime Decimal TraceTree NumberOfActivities Long TraceTree TraceFileName String TraceTreeError ActivityType TraceActivity (enumerated) TraceTreeError Message String TraceTreeError ParentNode TraceTreeNode TraceTreeError Severity Long TraceTreeError TimerValue Decimal TraceTreeESQL ActivityNode TraceActivity (enumerated) TraceTreeESQL EnterTimerValue Decimal TraceTreeESQL ExitTimerValue Decimal TraceTreeESQL Name String TraceTreeESQL ParentNode TraceTreeNode TraceTreeGarbageCollect ActivityType TraceActivity (enumerated) TraceTreeGarbageCollect EnterTimerValue Decimal TraceTreeGarbageCollect ExitTimerValue Decimal TraceTreeGarbageCollect ParentNode TraceTreeNode TraceTreeLine ActivityType TraceActivity (enumerated) TraceTreeLine LineNumber UnsignedLong TraceTreeLine ParentNode TraceTreeNode TraceTreeLine TimerValue Decimal TraceTreeNode ActivityType TraceActivity (enumerated) TraceTreeNode ParentNode TraceTreeNode TraceTreeObject ActivityType TraceActivity (enumerated) TraceTreeObject ClassName String TraceTreeObject Create Boolean TraceTreeObject EnterTimerValue Decimal TraceTreeObject ExitTimerValue Decimal TraceTreeObject LibraryName String TraceTreeObject ObjectID UnsignedLong TraceTreeObject ParentNode TraceTreeNode TraceTreeRoutine ActivityType TraceActivity (enumerated) TraceTreeRoutine ClassName String TraceTreeRoutine EnterTimerValue Decimal TraceTreeRoutine ExitTimerValue Decimal TraceTreeRoutine IsEvent Boolean TraceTreeRoutine LibraryName String TraceTreeRoutine Name String TraceTreeRoutine ObjectID UnsignedLong TraceTreeRoutine ParentNode TraceTreeNode TraceTreeUser ActivityType TraceActivity (enumerated) TraceTreeUser Argument Long TraceTreeUser Message String TraceTreeUser ParentNode TraceTreeNode TraceTreeUser TimerValue Decimal TraceUser ActivityType TraceActivity (enumerated) TraceUser Argument Long TraceUser Category TraceCategory (enumerated) TraceUser Message String TraceUser TimerValue Decimal Timing ClassDefinition PowerObject Timing Interval Double Timing Running Boolean Transaction AutoCommit Boolean Transaction Database String Transaction DBMS String Transaction DBParm String Transaction DBPass String Transaction Lock String Transaction LogID String Transaction LogPass String Transaction ServerName String Transaction SQLCode Long Transaction SQLDBCode Long Transaction SQLErrText String Transaction SQLNRows Long Transaction SQLReturnData String Transaction UserID String Transport Application String Transport Driver String Transport ErrCode Long Transport ErrText String Transport Location String Transport Options String Transport TimeOut Long Transport Trace String TreeViewItem Bold Boolean TreeViewItem Children Boolean TreeViewItem CutHighLighted Boolean TreeViewItem Data Any TreeViewItem DropHighLighted Boolean TreeViewItem Expanded Boolean TreeViewItem ExpandedOnce Boolean TreeViewItem HasFocus Boolean TreeViewItem ItemHandle Long TreeViewItem Label Label TreeViewItem Level Integer TreeViewItem OverlayPictureIndex Integer TreeViewItem PictureIndex Integer TreeViewItem SelectedPictureIndex Integer TreeViewItem Selected Boolean TreeViewItem StatePictureIndex Integer TypeDefinition Category TypeCategory TypeDefinition ClassDefinition PowerObject TypeDefinition DataTypeOf String TypeDefinition IsStructure Boolean TypeDefinition IsSystemType Boolean TypeDefinition IsVariableLength Boolean TypeDefinition IsVisualType Boolean TypeDefinition LibraryName String TypeDefinition Name String UserObject BackColor Long UserObject Border Boolean UserObject BorderStyle BorderStyle (enumerated) UserObject BringToTop Boolean UserObject ClassName String UserObject ColumnsPerPage Integer UserObject Control[ ] WindowObject UserObject DragAuto Boolean UserObject DragIcon String UserObject Enabled Boolean UserObject Height Integer UserObject HScrollBar Boolean UserObject LibraryName String UserObject LinesPerPage Integer UserObject ObjectType UserObjects (enumerated) UserObject PictureMaskColor Long UserObject PictureName String UserObject Pointer String UserObject PowerTipText String UserObject Style Long UserObject TabBackColor Long UserObject TabTextColor Long UserObject TabOrder Integer UserObject Tag String UserObject Text String UserObject UnitsPerColumn Integer UserObject UnitsPerLine Integer UserObject Visible Boolean UserObject VScrollBar Boolean UserObject Width Integer UserObject X Integer UserObject Y Integer VariableCardinality ArrayDefinition[ ] ArrayBounds VariableCardinality Cardinality VariableCardinalityType VariableCardinality ClassDefinition PowerObject VariableDefinition CallingConvention ArgCallingConvention VariableDefinition Cardinality VariableCardinalityDefinition VariableDefinition ClassDefinition PowerObject VariableDefinition InitialValue Any VariableDefinition IsConstant Boolean VariableDefinition IsControl Boolean VariableDefinition IsUserDefined Boolean VariableDefinition Kind VariableKind VariableDefinition Name String VariableDefinition OverridesAncestorValue Boolean VariableDefinition ReadAccess VarAccess VariableDefinition TypeInfo TypeDefinition VariableDefinition WriteAccess VarAccess Window BackColor Long Window Border Boolean Window BringToTop Boolean Window ColumnsPerPage Integer Window Control[ ] WindowObject Window ControlMenu Boolean Window Enabled Boolean Window Height Integer Window HScrollBar Boolean Window Icon String Window KeyboardIcon Boolean Window LinesPerPage Integer Window MaxBox Boolean Window MenuID Menu Window MenuName String Window MinBox Boolean Window Pointer String Window Resizable Boolean Window RightToLeft Boolean Window Tag String Window Title String Window TitleBar Boolean Window ToolbarAlignment ToolbarAlignment (enumerated) Window ToolbarHeight Integer Window ToolbarVisible Boolean Window ToolbarWidth Integer Window ToolbarX Integer Window ToolbarY Integer Window UnitsPerColumn Integer Window UnitsPerLine Integer Window Visible Boolean Window VScrollBar Boolean Window Width Integer Window WindowState WindowState (enumerated) Window WindowType WindowType (enumerated) Window X Integer Window Y Integer ----------------------------------------------------------------*/ /*---------------------------------------------------------------- PowerBuilder Object Events ------------------------------------------------------------------ CheckBox Clicked CheckBox Constructor CheckBox Destructor CheckBox DragDrop CheckBox DragEnter CheckBox DragLeave CheckBox DragWithin CheckBox GetFocus CheckBox LoseFocus CheckBox Other CheckBox RButtonDown CommandButton Clicked CommandButton Constructor CommandButton Destructor CommandButton DragDrop CommandButton DragEnter CommandButton DragLeave CommandButton DragWithin CommandButton GetFocus CommandButton LoseFocus CommandButton Other CommandButton RButtonDown DataWindow Clicked DataWindow Constructor DataWindow DBError DataWindow Destructor DataWindow DoubleClicked DataWindow DragDrop DataWindow DragEnter DataWindow DragLeave DataWindow DragWithin DataWindow EditChanged DataWindow Error DataWindow GetFocus DataWindow ItemChanged DataWindow ItemError DataWindow ItemFocusChanged DataWindow LoseFocus DataWindow Other DataWindow PrintEnd DataWindow PrintPage DataWindow PrintStart DataWindow RButtonDown DataWindow Resize DataWindow RetrieveEnd DataWindow RetrieveRow DataWindow RetrieveStart DataWindow RowFocusChanged DataWindow ScrollHorizontal DataWindow ScrollVertical DataWindow SQLPreview DataWindow UpdateEnd DataWindow UpdateStart DropDownListBox Constructor DropDownListBox Destructor DropDownListBox DoubleClicked DropDownListBox DragDrop DropDownListBox DragEnter DropDownListBox DragLeave DropDownListBox DragWithin DropDownListBox GetFocus DropDownListBox LoseFocus DropDownListBox Modified DropDownListBox Other DropDownListBox RButtonDown DropDownListBox SelectionChanged DropDownPicture Constructor DropDownPicture Destructor DropDownPicture DoubleClicked DropDownPicture DragDrop DropDownPicture DragEnter DropDownPicture DragLeave DropDownPicture DragWithin DropDownPicture GetFocus DropDownPicture LoseFocus DropDownPicture Modified DropDownPicture Other DropDownPicture RButtonDown DropDownPicture SelectionChanged EditMask Constructor EditMask Destructor EditMask DragDrop EditMask DragEnter EditMask DragLeave EditMask DragWithin EditMask GetFocus EditMask LoseFocus EditMask Modified EditMask Other EditMask RButtonDown Graph Clicked Graph Constructor Graph Destructor Graph DoubleClicked Graph DragDrop Graph DragEnter Graph DragLeave Graph DragWithin Graph GetFocus Graph LoseFocus Graph Other Graph RButtonDown HScrollBar Constructor HScrollBar Destructor HScrollBar DragDrop HScrollBar DragEnter HScrollBar DragLeave HScrollBar DragWithin HScrollBar GetFocus HScrollBar LineLeft HScrollBar LineRight HScrollBar LoseFocus HScrollBar Moved HScrollBar Other HScrollBar PageLeft HScrollBar PageRight HScrollBar RButtonDown ListBox Constructor ListBox Destructor ListBox DoubleClicked ListBox DragDrop ListBox DragEnter ListBox DragLeave ListBox DragWithin ListBox GetFocus ListBox LoseFocus ListBox Other ListBox RButtonDown ListBox SelectionChanged ListView BeginDrag ListView BeginLabelEdit ListView BeginRightDrag ListView Clicked ListView ColumnClick ListView Constructor ListView DeleteAllItems ListView DeleteItem ListView Destructor ListView DoubleClicked ListView DragDrop ListView DragEnter ListView DragLeave ListView DragWithin ListView EndLabelEdit ListView GetFocus ListView InsertItem ListView ItemChanged ListView ItemChanging ListView Key ListView LoseFocus ListView Other ListView RightClicked ListView RightDoubleClicked ListView Sort MultiLineEdit Constructor MultiLineEdit Destructor MultiLineEdit DragDrop MultiLineEdit DragEnter MultiLineEdit DragLeave MultiLineEdit DragWithin MultiLineEdit GetFocus MultiLineEdit LoseFocus MultiLineEdit Modified MultiLineEdit Other MultiLineEdit RButtonDown OLEControl Clicked OLEControl Close OLEControl Constructor OLEControl DataChange OLEControl Destructor OLEControl DoubleClicked OLEControl DragDrop OLEControl DragEnter OLEControl DragLeave OLEControl DragWithin OLEControl Error OLEControl ExternalException OLEControl GetFocus OLEControl LoseFocus OLEControl Other OLEControl PropertyChanged OLEControl PropertyRequestEdit OLEControl RButtonDown OLEControl Rename OLEControl Save OLEControl ViewChange OLECustomControl Clicked OLECustomControl Constructor OLECustomControl DataChange OLECustomControl Destructor OLECustomControl DoubleClicked OLECustomControl DragDrop OLECustomControl DragEnter OLECustomControl DragLeave OLECustomControl DragWithin OLECustomControl Error OLECustomControl ExternalException OLECustomControl GetFocus OLECustomControl LoseFocus OLECustomControl Other OLECustomControl PropertyChanged OLECustomControl PropertyRequestEdit OLECustomControl RButtonDown Picture Clicked Picture Constructor Picture Destructor Picture DoubleClicked Picture DragDrop Picture DragEnter Picture DragLeave Picture DragWithin Picture GetFocus Picture LoseFocus Picture Other Picture RButtonDown PictureButton Clicked PictureButton Constructor PictureButton Destructor PictureButton DragDrop PictureButton DragEnter PictureButton DragLeave PictureButton DragWithin PictureButton GetFocus PictureButton LoseFocus PictureButton Other PictureButton RButtonDown PictureListBox Constructor PictureListBox Destructor PictureListBox DoubleClicked PictureListBox DragDrop PictureListBox DragEnter PictureListBox DragLeave PictureListBox DragWithin PictureListBox GetFocus PictureListBox LoseFocus PictureListBox Other PictureListBox RButtonDown PictureListBox SelectionChanged RadioButton Clicked RadioButton Constructor RadioButton Destructor RadioButton DragDrop RadioButton DragEnter RadioButton DragLeave RadioButton DragWithin RadioButton GetFocus RadioButton LoseFocus RadioButton Other RadioButton RButtonDown RichTextEdit Constructor RichTextEdit Destructor RichTextEdit DoubleClicked RichTextEdit DragDrop RichTextEdit DragEnter RichTextEdit DragLeave RichTextEdit DragWithin RichTextEdit FileExists RichTextEdit GetFocus RichTextEdit InputFieldSelected RichTextEdit Key RichTextEdit LoseFocus RichTextEdit Modified RichTextEdit MouseDown RichTextEdit MouseMove RichTextEdit MouseUp RichTextEdit Other RichTextEdit PictureSelected RichTextEdit PrintFooter RichTextEdit PrintHeader RichTextEdit RButtonDown RichTextEdit RButtonUp SingleLineEdit Constructor SingleLineEdit Destructor SingleLineEdit DragDrop SingleLineEdit DragEnter SingleLineEdit DragLeave SingleLineEdit DragWithin SingleLineEdit GetFocus SingleLineEdit LoseFocus SingleLineEdit Modified SingleLineEdit Other SingleLineEdit RButtonDown StaticText Clicked StaticText Constructor StaticText Destructor StaticText DoubleClicked StaticText DragDrop StaticText DragEnter StaticText DragLeave StaticText DragWithin StaticText GetFocus StaticText LoseFocus StaticText Other StaticText RButtonDown Tab Clicked Tab Constructor Tab Destructor Tab DoubleClicked Tab DragDrop Tab DragEnter Tab DragLeave Tab DragWithin Tab GetFocus Tab Key Tab LoseFocus Tab Other Tab RightClicked Tab RightDoubleClicked Tab SelectionChanged Tab SelectionChanging TreeView BeginDrag TreeView BeginLabelEdit TreeView BeginRightDrag TreeView Clicked TreeView Constructor TreeView DeleteItem TreeView Destructor TreeView DoubleClicked TreeView DragDrop TreeView DragEnter TreeView DragLeave TreeView DragWithin TreeView EndLabelEdit TreeView GetFocus TreeView ItemCollapsed TreeView ItemCollapsing TreeView ItemExpanded TreeView ItemExpanding TreeView ItemPopulate TreeView Key TreeView LoseFocus TreeView Other TreeView RightClicked TreeView RightDoubleClicked TreeView SelectionChanged TreeView SelectionChanging TreeView Sort UserObject Constructor UserObject Destructor UserObject DragDrop UserObject DragEnter UserObject DragLeave UserObject DragWithin UserObject Other UserObject RButtonDown VScrollBar Constructor VScrollBar Destructor VScrollBar DragDrop VScrollBar DragEnter VScrollBar DragLeave VScrollBar DragWithin VScrollBar GetFocus VScrollBar LineDown VScrollBar LineUp VScrollBar LoseFocus VScrollBar Moved VScrollBar Other VScrollBar PageDown VScrollBar PageUp VScrollBar RButtonDown Application Close Application ConnectionBegin Application ConnectionEnd Application Idle Application Open Application SystemError Connection Constructor Connection Destructor Connection Error ContextInformation Constructor ContextInformation Destructor ContextKeyword Constructor ContextKeyword Destructor CPlusPlus Constructor CPlusPlus Destructor DataStore Constructor DataStore DBError DataStore Destructor DataStore Error DataStore ItemChanged DataStore ItemError DataStore PrintEnd DataStore PrintPage DataStore PrintStart DataStore RetrieveEnd DataStore RetrieveRow DataStore RetrieveStart DataStore SQLPreview DataStore UpdateEnd DataStore UpdateStart DynamicDescriptionArea Constructor DynamicDescriptionArea Destructor Error Constructor Error Destructor Inet Constructor Inet Destructor InternetResult Constructor InternetResult Destructor mailSession Constructor mailSession Destructor Menu Clicked Menu Selected MenuCascade Clicked MenuCascade Selected Message Constructor Message Destructor OLEObject Constructor OLEObject Destructor OLEObject Error OLEObject ExternalException OLEStorage Constructor OLEStorage Destructor OLEStream Constructor OLEStream Destructor Pipeline Constructor Pipeline Destructor Pipeline PipeEnd Pipeline PipeMeter Pipeline PipeStart Timing Constructor Timing Destructor Timing Timer Transaction Constructor Transaction Destructor UserObject Constructor UserObject Destructor UserObject DragDrop UserObject DragEnter UserObject DragLeave UserObject DragWithin UserObject Other UserObject RButtonDown Window Activate Window Clicked Window Close Window CloseQuery Window Deactivate Window DoubleClicked Window DragDrop Window DragEnter Window DragLeave Window DragWithin Window Hide Window HotLinkAlarm Window Key Window MouseDown Window MouseMove Window MouseUp Window Open Window Other Window RButtonDown Window RemoteExec Window RemoteHotLinkStart Window RemoteHotLinkStop Window RemoteRequest Window RemoteSend Window Resize Window Show Window SystemKey Window Timer Window ToolbarMoved SystemEvent HotLinkAlarm SystemEvent RemoteExec SystemEvent RemoteHotLinkStart SystemEvent RemoteHotLinkStop SystemEvent RemoteRequest SystemEvent RemoteSend ----------------------------------------------------------------*/ DataWindow DeletedCount Long DataWindow DeleteRow Integer DataWindow Describe String DataWindow Drag Integer DataWindow Filter Integer DataWindow FilteredCount Integer DataWindow Find Long DataWindow FindCategory Integer DataWindow FindGroupChange Long DataWindow FindNext Integer DataWindow FindRequired Integer DataWindow FindSeries Integer DataWindow GenerateHTMLForm Integer DataWindow GetBandAtPointer String DataWindow GetBorderStyle Border (enumerated) DataWindow GetChanges Long DataWindow GetChild Integer DataWindow GetClickedColumn Integer DataWindow GetClickedRow Long DataWindow GetColumn Integer DataWindow GetColumnName String DataWindow GetContextService Integer DataWindow GetData Double DataWindow GetDataPieExplode Integer DataWindow GetDataStyle Integer DataWindow GetDataValue Integer DataWindow GetFormat String DataWindow GetFullState Long DataWindow GetItemDate Date DataWindow GetItemDateTime DateTime DataWindow GetItemDecimal Decimal DataWindow GetItemNumber Double DataWindow GetItemStatus dwItemStatus (enumerated) DataWindow GetItemString String DataWindow GetItemTime Time DataWindow GetMessageText String DataWindow GetNextModified Long DataWindow GetObjectAtPointer String DataWindow GetParent PowerObject DataWindow GetRow Long DataWindow GetSelectedRow Integer DataWindow GetSeriesStyle Integer DataWindow GetSQLPreview String DataWindow GetSQLSelect String DataWindow GetStateStatus Long DataWindow GetText String DataWindow GetTrans Integer DataWindow GetUpdateStatus Integer DataWindow GetValidate String DataWindow GetValue String DataWindow GroupCalc Integer DataWindow Hide Integer DataWindow ImportClipboard Long DataWindow ImportFile Long DataWindow ImportString Long DataWindow InsertDocument Integer DataWindow InsertRow Long DataWindow IsSelected Boolean DataWindow LineCount Integer DataWindow ModifiedCount Long DataWindow Modify String DataWindow Move Integer DataWindow ObjectAtPointer grObjectType DataWindow OLEActivate Integer DataWindow Paste Integer DataWindow PasteRTF Long DataWindow PointerX Integer DataWindow PointerY Integer DataWindow Position Integer DataWindow PostEvent Boolean DataWindow Print Integer DataWindow PrintCancel Integer DataWindow ReplaceText Integer DataWindow ReselectRow Integer DataWindow Reset Integer DataWindow ResetDataColors Integer DataWindow ResetTransObject Integer DataWindow ResetUpdate Integer DataWindow Resize Integer DataWindow Retrieve Long DataWindow RowCount Long DataWindow RowsCopy Integer DataWindow RowsDiscard Integer DataWindow RowsMove Integer DataWindow SaveAs Integer DataWindow SaveAsAscii Long DataWindow Scroll Integer DataWindow ScrollNextPage Long DataWindow ScrollNextRow Long DataWindow ScrollPriorPage Long DataWindow ScrollPriorRow Long DataWindow ScrollToRow Integer DataWindow SelectedLength Integer DataWindow SelectedLine Integer DataWindow SelectedStart Integer DataWindow SelectedText String DataWindow SelectRow Integer DataWindow SelectText Integer DataWindow SelectTextAll Integer DataWindow SelectTextLine Integer DataWindow SelectTextWord Integer DataWindow SeriesCount Integer DataWindow SeriesName String DataWindow SetActionCode Integer DataWindow SetBorderStyle Integer DataWindow SetChanges Long DataWindow SetColumn Integer DataWindow SetDataPieExplode Integer DataWindow SetDataStyle Integer DataWindow SetDetailHeight Integer DataWindow SetFilter Integer DataWindow SetFocus Integer DataWindow SetFormat Integer DataWindow SetFullState Long DataWindow SetItem Integer DataWindow SetItemStatus Integer DataWindow SetPosition Integer DataWindow SetRedraw Integer DataWindow SetRow Integer DataWindow SetRowFocusIndicator Integer DataWindow SetSeriesStyle Integer DataWindow SetSort Integer DataWindow SetSQLPreview Integer DataWindow SetSQLSelect Integer DataWindow SetTabOrder Integer DataWindow SetText Integer DataWindow SetTrans Integer DataWindow SetTransObject Integer DataWindow SetValidate Integer DataWindow SetValue Integer DataWindow ShareData Integer DataWindow ShareDataOff Integer DataWindow Show Integer DataWindow ShowHeadFoot Integer DataWindow Sort Integer DataWindow TextLine String DataWindow TriggerEvent Integer DataWindow TypeOf Object DataWindow Undo Integer DataWindow Update Integer DropDownListBox AddItem Integer DropDownListBox ClassName String DropDownListBox Clear Integer DropDownListBox Copy Integer DropDownListBox Cut Integer DropDownListBox DeleteItem Integer DropDownListBox DirList Boolean DropDownListBox DirSelect Boolean DropDownListBox Drag Integer DropDownListBox FindItem Integer DropDownListBox GetContextService Integer DropDownListBox GetParent PowerObject DropDownListBox Hide Integer DropDownListBox InsertItem Integer DropDownListBox Move Integer DropDownListBox Paste Integer DropDownListBox PointerX Integer DropDownListBox PointerY Integer DropDownListBox Position Integer DropDownListBox PostEvent Boolean DropDownListBox Print Integer DropDownListBox ReplaceText Integer DropDownListBox Reset Integer DropDownListBox Resize Integer DropDownListBox SelectedLength Integer DropDownListBox SelectedStart Integer DropDownListBox SelectedText String DropDownListBox SelectItem Integer DropDownListBox SelectText Integer DropDownListBox SetFocus Integer DropDownListBox SetPosition Integer DropDownListBox SetRedraw Integer DropDownListBox Show Integer DropDownListBox Text String DropDownListBox TotalItems Integer DropDownListBox TriggerEvent Integer DropDownListBox TypeOf Control DropDownPicture AddItem Integer DropDownPicture AddPicture Integer DropDownPicture ClassName String DropDownPicture Clear Integer DropDownPicture Copy Integer DropDownPicture Cut Integer DropDownPicture DeleteItem Integer DropDownPicture DeletePicture Integer DropDownPicture DeletePictures Integer DropDownPicture DirList Boolean DropDownPicture DirSelect Boolean DropDownPicture Drag Integer DropDownPicture FindItem Integer DropDownPicture GetContextService Integer DropDownPicture GetParent PowerObject DropDownPicture Hide Integer DropDownPicture InsertItem Integer DropDownPicture Move Integer DropDownPicture Paste Integer DropDownPicture PointerX Integer DropDownPicture PointerY Integer DropDownPicture Position Integer DropDownPicture PostEvent Boolean DropDownPicture Print Integer DropDownPicture ReplaceText Integer DropDownPicture Reset Integer DropDownPicture Resize Integer DropDownPicture SelectedLength Integer DropDownPicture SelectedStart Integer DropDownPicture SelectedText String DropDownPicture SelectItem Integer DropDownPicture SelectText Integer DropDownPicture SetFocus Integer DropDownPicture SetPosition Integer DropDownPicture SetRedraw Integer DropDownPicture Show Integer DropDownPicture Text String DropDownPicture TotalItems Integer DropDownPicture TriggerEvent Integer DropDownPicture TypeOf Control EditMask ClassName String EditMask Clear Integer EditMask Copy Integer EditMask Cut Integer EditMask Drag Integer EditMask GetContextService Integer EditMask GetData Integer EditMask GetParent PowerObject EditMask Hide Integer EditMask LineCount Integer EditMask LineLength Integer EditMask Move Integer EditMask Paste Integer EditMask PointerX Integer EditMask PointerY Integer EditMask Position Integer EditMask PostEvent Boolean EditMask Print Integer EditMask ReplaceText Integer EditMask Resize Integer EditMask Scroll Integer EditMask SelectedLength Integer EditMask SelectedLine Integer EditMask SelectedStart Integer EditMask SelectedText String EditMask SelectText Integer EditMask SetFocus Integer EditMask SetMask Integer EditMask SetPosition Integer EditMask SetRedraw Integer EditMask Show Integer EditMask TextLine String EditMask TriggerEvent Integer EditMask TypeOf Object Graph AddCategory Integer Graph AddData Long Graph AddSeries Integer Graph CategoryCount Integer Graph CategoryName String Graph ClassName String Graph Clipboard Integer Graph DataCount Long Graph DeleteCategory Integer Graph DeleteData Integer Graph DeleteSeries Integer Graph Drag Integer Graph FindCategory Integer Graph FindSeries Integer Graph GetContextService Integer Graph GetData Double Graph GetDataPieExplode Integer Graph GetDataStyle Integer Graph GetDataValue Integer Graph GetSeriesStyle Integer Graph GetParent PowerObject Graph Hide Integer Graph ImportClipboard Long Graph ImportFile Long Graph ImportString Long Graph InsertCategory Integer Graph InsertData Long Graph InsertSeries Integer Graph ModifyData Integer Graph Move Integer Graph ObjectAtPointer GrObjectType Graph PointerX Integer Graph PointerY Integer Graph PostEvent Boolean Graph Print Integer Graph Reset Integer Graph ResetDataColors Integer Graph Resize Integer Graph SaveAs Integer Graph SeriesCount Integer Graph SeriesName String Graph SetDataPieExplode Integer Graph SetDataStyle Integer Graph SetFocus Integer Graph SetPosition Integer Graph SetRedraw Integer Graph SetSeriesStyle Integer Graph Show Integer Graph TriggerEvent Integer Graph TypeOf Object GroupBox ClassName String GroupBox Drag Integer GroupBox GetContextService Integer GroupBox GetParent PowerObject GroupBox Hide Integer GroupBox Move Integer GroupBox PointerX Integer GroupBox PointerY Integer GroupBox Print Integer GroupBox Resize Integer GroupBox SetFocus Integer GroupBox SetPosition Integer GroupBox SetRedraw Integer GroupBox Show Integer GroupBox TypeOf Object HScrollBar ClassName String HScrollBar Drag Integer HScrollBar GetContextService Integer HScrollBar GetParent PowerObject HScrollBar Hide Integer HScrollBar Move Integer HScrollBar PointerX Integer HScrollBar PointerY Integer HScrollBar PostEvent Boolean HScrollBar Print Integer HScrollBar Resize Integer HScrollBar SetFocus Integer HScrollBar SetPosition Integer HScrollBar SetRedraw Integer HScrollBar Show Integer HScrollBar TriggerEvent Integer HScrollBar TypeOf Object Line ClassName String Line GetContextService Integer Line GetParent PowerObject Line Hide Integer Line Move Integer Line Resize Integer Line Show Integer Line TypeOf Object ListBox AddItem Integer ListBox ClassName String ListBox DeleteItem Integer ListBox DirList Boolean ListBox DirSelect Boolean ListBox Drag Integer ListBox FindItem Integer ListBox GetContextService Integer ListBox GetParent PowerObject ListBox Hide Integer ListBox InsertItem Integer ListBox Move Integer ListBox PointerX Integer ListBox PointerY Integer ListBox PostEvent Boolean ListBox Print Integer ListBox Reset Integer ListBox Resize Integer ListBox SelectedIndex Integer ListBox SelectedItem String ListBox SelectItem Integer ListBox SetFocus Integer ListBox SetPosition Integer ListBox SetRedraw Integer ListBox SetState Integer ListBox SetTop Integer ListBox Show Integer ListBox State Integer ListBox Text String ListBox Top Integer ListBox TotalItems Integer ListBox TotalSelected Integer ListBox TriggerEvent Integer ListBox TypeOf Object ListView AddColumn Integer ListView AddItem Integer ListView AddLargePicture Integer ListView AddSmallPicture Integer ListView AddstatePicture Integer ListView Arrange Integer ListView ClassName String ListView DeleteColumn Integer ListView DeleteColumns Integer ListView DeleteItem Integer ListView DeleteItems Integer ListView DeleteLargePicture Integer ListView DeleteLargePictures Integer ListView DeleteSmallPicture Integer ListView DeleteSmallPictures Integer ListView DeleteStatePicture Integer ListView DeleteStatePictures Integer ListView Drag Integer ListView EditLabel Integer ListView FindItem Integer ListView GetColumn Integer ListView GetContextService Integer ListView GetItem Integer ListView GetOrigin Integer ListView GetParent PowerObject ListView Hide Integer ListView InsertColumn Integer ListView InsertItem Integer ListView Move Integer ListView PointerX Integer ListView PointerY Integer ListView PostEvent Boolean ListView Print Integer ListView Resize Integer ListView SelectedIndex Integer ListView SetColumn Integer ListView SetFocus Integer ListView SetItem Integer ListView SetOverlayPicture Integer ListView SetPosition Integer ListView SetRedraw Integer ListView Show Integer ListView Sort Integer ListView TotalColumns Integer ListView TotalItems Integer ListView TotalSelected Integer ListView TriggerEvent Integer ListView TypeOf Object MultiLineEdit CanUndo Boolean MultiLineEdit ClassName String MultiLineEdit Clear Integer MultiLineEdit Copy Integer MultiLineEdit Cut Integer MultiLineEdit Drag Integer MultiLineEdit GetContextService Integer MultiLineEdit GetParent PowerObject MultiLineEdit Hide Integer MultiLineEdit LineCount Integer MultiLineEdit LineLength Integer MultiLineEdit Move Integer MultiLineEdit Paste Integer MultiLineEdit PointerX Integer MultiLineEdit PointerY Integer MultiLineEdit Position Integer MultiLineEdit PostEvent Boolean MultiLineEdit Print Integer MultiLineEdit ReplaceText Integer MultiLineEdit Resize Integer MultiLineEdit Scroll Integer MultiLineEdit SelectedLength Integer MultiLineEdit SelectedLine Integer MultiLineEdit SelectedStart Integer MultiLineEdit SelectedText String MultiLineEdit SelectText Integer MultiLineEdit SetFocus Integer MultiLineEdit SetPosition Integer MultiLineEdit SetRedraw Integer MultiLineEdit Show Integer MultiLineEdit TextLine String MultiLineEdit TriggerEvent Integer MultiLineEdit TypeOf Object MultiLineEdit Undo Integer OLEControl Activate Integer OLEControl ClassName String OLEControl Clear Integer OLEControl Copy Integer OLEControl Cut Integer OLEControl DoVerb Integer OLEControl Drag Integer OLEControl GetContextService Integer OLEControl GetData Integer OLEControl GetNativePointer Integer OLEControl GetParent PowerObject OLEControl Hide Integer OLEControl InsertClass Integer OLEControl InsertFile Integer OLEControl InsertObject Integer OLEControl LinkTo Integer OLEControl Move Integer OLEControl Open Integer OLEControl Paste Integer OLEControl PasteLink Integer OLEControl PasteSpecial Integer OLEControl PointerX Integer OLEControl PointerY Integer OLEControl PostEvent Boolean OLEControl Print Integer OLEControl ReleaseNativePointer Integer OLEControl Resize Integer OLEControl Save Integer OLEControl SaveAs Integer OLEControl SelectObject Integer OLEControl SetData Integer OLEControl SetFocus Integer OLEControl SetPosition Integer OLEControl SetRedraw Integer OLEControl Show Integer OLEControl TriggerEvent Integer OLEControl TypeOf Object OLEControl UpdateLinksDialog Integer OLECustomControl ClassName String OLECustomControl Drag Integer OLECustomControl GetContextService Integer OLECustomControl GetData Integer OLECustomControl GetNativePointer Integer OLECustomControl GetParent PowerObject OLECustomControl Hide Integer OLECustomControl Move Integer OLECustomControl PointerX Integer OLECustomControl PointerY Integer OLECustomControl PostEvent Boolean OLECustomControl Print Integer OLECustomControl ReleaseNativePointer Integer OLECustomControl Resize Integer OLECustomControl SetAutomationLocale Integer OLECustomControl SetData Integer OLECustomControl SetFocus Integer OLECustomControl SetPosition Integer OLECustomControl SetRedraw Integer OLECustomControl Show Integer OLECustomControl TriggerEvent Integer OLECustomControl TypeOf Object Oval ClassName String Oval GetContextService Integer Oval GetParent PowerObject Oval Hide Integer Oval Move Integer Oval Resize Integer Oval Show Integer Oval TypeOf Object Picture ClassName String Picture Drag Integer Picture Draw Integer Picture GetContextService Integer Picture GetParent PowerObject Picture Hide Integer Picture Move Integer Picture PointerX Integer Picture PointerY Integer Picture PostEvent Boolean Picture Print Integer Picture Resize Integer Picture SetFocus Integer Picture SetPicture Integer Picture SetPosition Integer Picture SetRedraw Integer Picture Show Integer Picture TriggerEvent Integer Picture TypeOf Object PictureButton ClassName String PictureButton Drag Integer PictureButton GetContextService Integer PictureButton GetParent PowerObject PictureButton Hide Integer PictureButton Move Integer PictureButton PointerX Integer PictureButton PointerY Integer PictureButton PostEvent Boolean PictureButton Print Integer PictureButton Resize Integer PictureButton SetFocus Integer PictureButton SetPosition Integer PictureButton SetRedraw Integer PictureButton Show Integer PictureButton TriggerEvent Integer PictureButton TypeOf Object PictureListBox AddItem Integer PictureListBox AddPicture Integer PictureListBox ClassName String PictureListBox DeleteItem Integer PictureListBox DeletePicture Integer PictureListBox DeletePictures Integer PictureListBox DirList Boolean PictureListBox DirSelect Boolean PictureListBox Drag Integer PictureListBox FindItem Integer PictureListBox GetContextService Integer PictureListBox GetParent PowerObject PictureListBox Hide Integer PictureListBox InsertItem Integer PictureListBox Move Integer PictureListBox PointerX Integer PictureListBox PointerY Integer PictureListBox PostEvent Boolean PictureListBox Print Integer PictureListBox Reset Integer PictureListBox Resize Integer PictureListBox SelectedIndex Integer PictureListBox SelectedItem String PictureListBox SelectItem Integer PictureListBox SetFocus Integer PictureListBox SetPosition Integer PictureListBox SetRedraw Integer PictureListBox SetState Integer PictureListBox SetTop Integer PictureListBox Show Integer PictureListBox State Integer PictureListBox Text String PictureListBox Top Integer PictureListBox TotalItems Integer PictureListBox TotalSelected Integer PictureListBox TriggerEvent Integer PictureListBox TypeOf Object RadioButton ClassName String RadioButton Drag Integer RadioButton GetContextService Integer RadioButton GetParent PowerObject RadioButton Hide Integer RadioButton Move Integer RadioButton PointerX Integer RadioButton PointerY Integer RadioButton PostEvent Boolean RadioButton Print Integer RadioButton Resize Integer RadioButton SetFocus Integer RadioButton SetPosition Integer RadioButton SetRedraw Integer RadioButton Show Integer RadioButton TriggerEvent Integer RadioButton TypeOf Object Rectangle ClassName String Rectangle GetContextService Integer Rectangle GetParent PowerObject Rectangle Hide Integer Rectangle Move Integer Rectangle Resize Integer Rectangle Show Integer Rectangle TypeOf Object RichTextEdit CanUndo Boolean RichTextEdit ClassName String RichTextEdit Clear Long RichTextEdit Copy Long RichTextEdit CopyRTF String RichTextEdit Cut Long RichTextEdit DataSource Integer RichTextEdit Drag Integer RichTextEdit Find Integer RichTextEdit FindNext Integer RichTextEdit GetAlignment Alignment RichTextEdit GetContextService Integer RichTextEdit GetParagraphSetting Long RichTextEdit GetParent PowerObject RichTextEdit GetSpacing Spacing RichTextEdit GetTextColor Long RichTextEdit GetTextStyle Boolean RichTextEdit Hide Integer RichTextEdit InputFieldChangeData Integer RichTextEdit InputFieldCurrentName String RichTextEdit InputFieldDeleteCurrent Integer RichTextEdit InputFieldGetData String RichTextEdit InputFieldInsert Integer RichTextEdit InputFieldLocate String RichTextEdit InsertDocument Integer RichTextEdit InsertPicture Integer RichTextEdit IsPreview Boolean RichTextEdit LineCount Integer RichTextEdit LineLength Integer RichTextEdit Move Integer RichTextEdit PageCount Integer RichTextEdit Paste Integer RichTextEdit PasteRTF Long RichTextEdit PointerX Integer RichTextEdit PointerY Integer RichTextEdit Position Integer RichTextEdit PostEvent Integer RichTextEdit Preview Integer RichTextEdit Print Integer RichTextEdit ReplaceText Integer RichTextEdit Resize Integer RichTextEdit SaveDocument Integer RichTextEdit Scroll Integer RichTextEdit ScrollNextPage Integer RichTextEdit ScrollNextRow Long RichTextEdit ScrollPriorPage Long RichTextEdit ScrollPriorRow Long RichTextEdit ScrollToRow Long RichTextEdit SelectedColumn Integer RichTextEdit SelectedLength Long RichTextEdit SelectedLine Long RichTextEdit SelectedPage Long RichTextEdit SelectedStart Integer RichTextEdit SelectedText String RichTextEdit SelectText Long RichTextEdit SelectTextAll Integer RichTextEdit SelectTextLine Integer RichTextEdit SelectTextWord Integer RichTextEdit SetAlignment Integer` RichTextEdit SetFocus Integer RichTextEdit SetParagraphSetting Integer RichTextEdit SetPosition Integer RichTextEdit SetRedraw Integer RichTextEdit SetSpacing Integer RichTextEdit SetTextColor Integer RichTextEdit SetTextStyle Integer RichTextEdit Show Integer RichTextEdit ShowHeadFoot Integer RichTextEdit TextLine String RichTextEdit TriggerEvent Integer RichTextEdit TypeOf Object RichTextEdit Undo Integer RoundRectangle ClassName String RoundRectangle GetContextService Integer RoundRectangle GetParent PowerObject RoundRectangle Hide Integer RoundRectangle Move Integer RoundRectangle Resize Integer RoundRectangle Show Integer RoundRectangle TypeOf Object SingleLineEdit CanUndo Boolean SingleLineEdit ClassName String SingleLineEdit Clear Integer SingleLineEdit Copy Integer SingleLineEdit Cut Integer SingleLineEdit Drag Integer SingleLineEdit GetContextService Integer SingleLineEdit GetParent PowerObject SingleLineEdit Hide Integer SingleLineEdit Move Integer SingleLineEdit Paste Integer SingleLineEdit PointerX Integer SingleLineEdit PointerY Integer SingleLineEdit Position Integer SingleLineEdit PostEvent Boolean SingleLineEdit Print Integer SingleLineEdit ReplaceText Integer SingleLineEdit Resize Integer SingleLineEdit SelectedLength Integer SingleLineEdit SelectedStart Integer SingleLineEdit SelectedText String SingleLineEdit SelectText Integer SingleLineEdit SetFocus Integer SingleLineEdit SetPosition Integer SingleLineEdit SetRedraw Integer SingleLineEdit Show Integer SingleLineEdit TriggerEvent Integer SingleLineEdit TypeOf Object SingleLineEdit Undo Integer StaticText ClassName String StaticText Drag Integer StaticText GetContextService Integer StaticText GetParent PowerObject StaticText Hide Integer StaticText Move Integer StaticText PointerX Integer StaticText PointerY Integer StaticText PostEvent Boolean StaticText Print Integer StaticText Resize Integer StaticText SetFocus Integer StaticText SetPosition Integer StaticText SetRedraw Integer StaticText Show Integer StaticText TriggerEvent Integer StaticText TypeOf Object Tab ClassName String Tab CloseTab Integer Tab Drag Integer Tab GetContextService Integer Tab GetParent PowerObject Tab Hide Integer Tab Move Integer Tab MoveTab Integer Tab OpenTab Integer Tab OpenTabWithParm Integer Tab PointerX Integer Tab PointerY Integer Tab PostEvent Integer Tab Print Integer Tab Resize Integer Tab SelectTab Integer Tab SetFocus Integer Tab SetPosition Integer Tab SetRedraw Integer Tab Show Integer Tab TabPostEvent Integer Tab TabTriggerEvent Integer Tab TriggerEvent Integer Tab TypeOf Object TreeView AddPicture Integer TreeView AddStatePicture Integer TreeView ClassName String TreeView CollapseItem Integer TreeView DeleteItem Integer TreeView DeletePicture Integer TreeView DeletePictures Integer TreeView DeleteStatePicture Integer TreeView DeleteStatePictures Integer TreeView Drag Integer TreeView EditLabel Integer TreeView ExpandAll Integer TreeView ExpandItem Integer TreeView FindItem Long TreeView GetContextService Integer TreeView GetItem Integer TreeView GetParent PowerObject TreeView Hide Integer TreeView InsertItem Long TreeView InsertItemFirst Long TreeView InsertItemLast Long TreeView InsertItemSort Long TreeView Move Integer TreeView PointerX Integer TreeView PointerY Integer TreeView PostEvent Boolean TreeView Print Integer TreeView Resize Integer TreeView SelectItem Integer TreeView SetDropHighlight Integer TreeView SetFirstVisible Integer TreeView SetFocus Integer TreeView SetItem Integer TreeView SetLevelPictures Integer TreeView SetOverlayPicture Integer TreeView SetPosition Integer TreeView SetRedraw Integer TreeView Show Integer TreeView Sort Integer TreeView SortAll Integer TreeView TriggerEvent Integer TreeView TypeOf Object UserObject AddItem Integer UserObject ClassName String UserObject DeleteItem Integer UserObject Drag Integer UserObject EventParmDouble Integer UserObject EventParmString Integer UserObject GetContextService Integer UserObject GetParent PowerObject UserObject Hide Integer UserObject InsertItem Integer UserObject Move Integer UserObject PointerX Integer UserObject PointerY Integer UserObject PostEvent Boolean UserObject Print Integer UserObject Resize Integer UserObject SetFocus Integer UserObject SetPosition Integer UserObject SetRedraw Integer UserObject Show Integer UserObject TriggerEvent Integer UserObject TypeOf Object VScrollBar ClassName String VScrollBar Drag Integer VScrollBar GetContextService Integer VScrollBar GetParent PowerObject VScrollBar Hide Integer VScrollBar Move Integer VScrollBar PointerX Integer VScrollBar PointerY Integer VScrollBar PostEvent Boolean VScrollBar Print Integer VScrollBar Resize Integer VScrollBar SetFocus Integer VScrollBar SetPosition Integer VScrollBar SetRedraw Integer VScrollBar Show Integer VScrollBar TriggerEvent Integer VScrollBar TypeOf Object Application ClassName String Application GetContextService Integer Application GetParent PowerObject Application PostEvent Boolean Application SetLibraryList Integer Application SetTransPool Integer Application TriggerEvent Integer Application TypeOf Object ArrayBounds ClassName String ArrayBounds GetContextService Integer ArrayBounds GetParent PowerObject ArrayBounds TypeOf Object ClassDefinition ClassName String ClassDefinition FindMatchingFunction ScriptDefinition ClassDefinition GetContextService Integer ClassDefinition GetParent PowerObject ClassDefinition TypeOf Object Connection ClassName String Connection ConnectToServer Long Connection CreateInstance Long Connection DisconnectServer Long Connection GetContextService Integer Connection GetParent PowerObject Connection GetServerInfo Long Connection PostEvent Boolean Connection RemoteStopConnection Long Connection RemoteStopListening Long Connection TriggerEvent Integer Connection TypeOf Object ConnectionInfo ClassName String ConnectionInfo GetContextService Integer ConnectionInfo GetParent PowerObject ConnectionInfo TypeOf Object ContextInformation ClassName String ContextInformation GetCompanyName Integer ContextInformation GetContextService Integer ContextInformation GetFixesVersion Integer ContextInformation GetHostObject Integer ContextInformation GetMajorVersion Integer ContextInformation GetMinorVersion Integer ContextInformation GetName Integer ContextInformation GetParent PowerObject ContextInformation GetShortName Integer ContextInformation GetVersionName Integer ContextInformation PostEvent Boolean ContextInformation TriggerEvent Integer ContextInformation TypeOf Object ContextKeyword ClassName String ContextKeyword GetContextKeywords Integer ContextKeyword GetContextService Integer ContextKeyword GetName Integer ContextKeyword GetParent PowerObject ContextKeyword PostEvent Boolean ContextKeyword TriggerEvent Integer ContextKeyword TypeOf Object CPlusPlus ClassName String CPlusPlus GetContextService Integer CPlusPlus GetParent PowerObject CPlusPlus PostEvent Boolean CPlusPlus TriggerEvent Integer CPlusPlus TypeOf Object DataStore AcceptText Integer DataStore CategoryCount Integer DataStore CategoryName String DataStore ClassName String DataStore ClearValues Integer DataStore Clipboard Integer DataStore CopyRTF String DataStore Create Integer DataStore DataCount Long DataStore DBCancel Integer DataStore DeletedCount Long DataStore DeleteRow Integer DataStore Describe String DataStore Filter Integer DataStore FilteredCount Integer DataStore Find Long DataStore FindCategory Integer DataStore FindGroupChange Long DataStore FindRequired Integer DataStore FindSeries Integer DataStore GenerateHTMLForm Integer DataStore GetBorderStyle Border (enumerated) DataStore GetChanges Long DataStore GetChild Integer DataStore GetColumn Integer DataStore GetColumnName String DataStore GetContextService Integer DataStore GetData Double DataStore GetDataPieExplode Integer DataStore GetDataStyle Integer DataStore GetDataValue Integer DataStore GetFormat String DataStore GetFullState Long DataStore GetItemDate Date DataStore GetItemDateTime DateTime DataStore GetItemDecimal Decimal DataStore GetItemNumber Double DataStore GetItemStatus dwItemStatus (enumerated) DataStore GetItemString String DataStore GetItemTime Time DataStore GetNextModified Long DataStore GetParent PowerObject DataStore GetRow Long DataStore GetSelectedRow Integer DataStore GetSeriesStyle Integer DataStore GetSQLSelect String DataStore GetStateStatus Long DataStore GetText String DataStore GetTrans Integer DataStore GetValidate String DataStore GetValue String DataStore GroupCalc Integer DataStore ImportClipboard Long DataStore ImportFile Long DataStore ImportString Long DataStore InsertDocument Integer DataStore InsertRow Long DataStore IsSelected Boolean DataStore ModifiedCount Long DataStore Modify String DataStore PasteRTF Long DataStore PostEvent Boolean DataStore Print Integer DataStore PrintCancel Integer DataStore ReselectRow Integer DataStore Reset Integer DataStore ResetDataColors Integer DataStore ResetTransObject Integer DataStore ResetUpdate Integer DataStore Retrieve Long DataStore RowCount Long DataStore RowsCopy Integer DataStore RowsDiscard Integer DataStore RowsMove Integer DataStore SaveAs Integer DataStore SaveAs Integer DataStore SaveAsAscii Long DataStore SelectRow Integer DataStore SeriesCount Integer DataStore SeriesName String DataStore SetBorderStyle Integer DataStore SetChanges Long DataStore SetColumn Integer DataStore SetDataPieExplode Integer DataStore SetDataStyle Integer DataStore SetDetailHeight Integer DataStore SetFilter Integer DataStore SetFormat Integer DataStore SetFullState Long DataStore SetItem Integer DataStore SetItemStatus Integer DataStore SetPosition Integer DataStore SetRow Integer DataStore SetSeriesStyle Integer DataStore SetSort Integer DataStore SetSQLPreview Integer DataStore SetSQLSelect Integer DataStore SetText Integer DataStore SetTrans Integer DataStore SetTransObject Integer DataStore SetValidate Integer DataStore SetValue Integer DataStore ShareData Integer DataStore ShareDataOff Integer DataStore Sort Integer DataStore TriggerEvent Integer DataStore TypeOf Object DataStore Update Integer DataWindowChild AcceptText Integer DataWindowChild ClassName String DataWindowChild ClearValues Integer DataWindowChild CrosstabDialog Integer DataWindowChild DBCancel Integer DataWindowChild DBErrorCode Long DataWindowChild DBErrorMessage String DataWindowChild DeletedCount Long DataWindowChild DeleteRow Integer DataWindowChild Describe String DataWindowChild Filter Integer DataWindowChild FilteredCount Integer DataWindowChild Find Long DataWindowChild FindGroupChange Long DataWindowChild FindRequired Integer DataWindowChild GetBandAtPointer String DataWindowChild GetBorderStyle Border (enumerated) DataWindowChild GetClickedColumn Integer DataWindowChild GetClickedRow Long DataWindowChild GetColumn Integer DataWindowChild GetColumnName String DataWindowChild GetContextService Integer DataWindowChild GetFormat String DataWindowChild GetItemDate Date DataWindowChild GetItemDateTime DateTime DataWindowChild GetItemDecimal Decimal DataWindowChild GetItemNumber Double DataWindowChild GetItemStatus dwItemStatus (enumerated) DataWindowChild GetItemString String DataWindowChild GetItemTime Time DataWindowChild GetNextModified Long DataWindowChild GetObjectAtPointer String DataWindowChild GetParent PowerObject DataWindowChild GetRow Long DataWindowChild GetSelectedRow Integer DataWindowChild GetSQLPreview String DataWindowChild GetSQLSelect String DataWindowChild GetText String DataWindowChild GetTrans Integer DataWindowChild GetUpdateStatus Integer DataWindowChild GetValidate String DataWindowChild GetValue String DataWindowChild GroupCalc Integer DataWindowChild ImportClipboard Long DataWindowChild ImportFile Long DataWindowChild ImportString Long DataWindowChild InsertRow Long DataWindowChild IsSelected Boolean DataWindowChild ModifiedCount Long DataWindowChild Modify String DataWindowChild OLEActivate Integer DataWindowChild ReselectRow Integer DataWindowChild Reset Integer DataWindowChild ResetTransObject Integer DataWindowChild ResetUpdate Integer DataWindowChild Resize Integer DataWindowChild Retrieve Long DataWindowChild RowCount Long DataWindowChild RowsCopy Integer DataWindowChild RowsDiscard Integer DataWindowChild RowsMove Integer DataWindowChild SaveAs Integer DataWindowChild ScrollNextPage Long DataWindowChild ScrollNextRow Long DataWindowChild ScrollPriorPage Long DataWindowChild ScrollPriorRow Long DataWindowChild ScrollToRow Integer DataWindowChild SelectRow Integer DataWindowChild SetActionCode Integer DataWindowChild SetBorderStyle Integer DataWindowChild SetColumn Integer DataWindowChild SetDetailHeight Integer DataWindowChild SetFilter Integer DataWindowChild SetFormat Integer DataWindowChild SetItem Integer DataWindowChild SetItemStatus Integer DataWindowChild SetPosition Integer DataWindowChild SetRedraw Integer DataWindowChild SetRow Integer DataWindowChild SetRowFocusIndicator Integer DataWindowChild SetSort Integer DataWindowChild SetSQLPreview Integer DataWindowChild SetSQLSelect Integer DataWindowChild SetTabOrder Integer DataWindowChild SetText Integer DataWindowChild SetTrans Integer DataWindowChild SetTransObject Integer DataWindowChild SetValidate Integer DataWindowChild SetValue Integer DataWindowChild ShareData Integer DataWindowChild ShareDataOff Integer DataWindowChild Sort Integer DataWindowChild TypeOf Object DataWindowChild Update Integer DynamicDescriptionArea ClassName String DynamicDescriptionArea GetContextService Integer DynamicDescriptionArea GetDynamicDate Date DynamicDescriptionArea GetDynamicDateTime DateTime DynamicDescriptionArea GetDynamicNumber Double DynamicDescriptionArea GetDynamicString String DynamicDescriptionArea GetDynamicTime Time DynamicDescriptionArea GetParent PowerObject DynamicDescriptionArea PostEvent Boolean DynamicDescriptionArea SetDynamicParm Integer DynamicDescriptionArea TriggerEvent Integer DynamicDescriptionArea TypeOf Object EnumerationDefinition ClassName String EnumerationDefinition GetContextService Integer EnumerationDefinition GetParent PowerObject EnumerationDefinition TypeOf Object EnumerationItemDefinition ClassName String EnumerationItemDefinition GetContextService Integer EnumerationItemDefinition GetParent PowerObject EnumerationItemDefinition TypeOf Object Environment ClassName String Environment GetContextService Integer Environment GetParent PowerObject Environment TypeOf Object Error ClassName String Error GetContextService Integer Error GetParent PowerObject Error PostEvent Boolean Error TriggerEvent Integer Error TypeOf Object grAxis ClassName String grAxis GetContextService Integer grAxis GetParent PowerObject grAxis TypeOf Object grDispAttr ClassName String grDispAttr GetContextService Integer grDispAttr GetParent PowerObject grDispAttr TypeOf Object Inet ClassName String Inet GetContextService Integer Inet GetParent PowerObject Inet GetURL Integer Inet HyperLinkToURL Integer Inet PostEvent Boolean Inet PostURL Integer Inet TriggerEvent Integer Inet TypeOf Object InternetResult ClassName String InternetResult GetContextService Integer InternetResult GetParent PowerObject InternetResult InternetData Integer InternetResult PostEvent Boolean InternetResult TriggerEvent Integer InternetResult TypeOf Object ListViewItem ClassName String ListViewItem GetContextService Integer ListViewItem GetParent PowerObject ListViewItem TypeOf Object mailFileDescription Classname String mailFileDescription GetContextService Integer mailFileDescription GetParent PowerObject mailFileDescription TypeOf Object mailMessage Classname String mailMessage GetContextService Integer mailMessage GetParent PowerObject mailMessage TypeOf Object mailRecipient Classname String mailRecipient GetContextService Integer mailRecipient GetParent PowerObject mailRecipient TypeOf Object mailSession Classname String mailSession GetContextService Integer mailSession GetParent PowerObject mailSession mailAddress mailReturnCode mailSession mailDeleteMessage mailReturnCode mailSession mailGetMessages mailReturnCode mailSession mailHandle UnsignedLong mailSession mailLogoff mailReturnCode mailSession mailLogon mailReturnCode mailSession mailReadMessage mailReturnCode mailSession mailRecipientDetails mailReturnCode mailSession mailResolveRecipient mailReturnCode mailSession mailSaveMessage mailReturnCode mailSession mailSend mailReturnCode mailSession PostEvent Boolean mailSession TriggerEvent Integer mailSession TypeOf Object MDIClient ClassName String MDIClient GetContextService Integer MDIClient GetParent PowerObject MDIClient Hide Integer MDIClient Move Integer MDIClient Resize Integer MDIClient SetRedraw Integer MDIClient Show Integer MDIClient TypeOf Object Menu Check Integer Menu ClassName String Menu Disable Integer Menu Enable Integer Menu GetContextService Integer Menu GetParent PowerObject Menu Hide Integer Menu PopMenu Integer Menu PostEvent Integer Menu Show Integer Menu TriggerEvent Integer Menu TypeOf Object Menu Uncheck Integer MenuCascade Check Integer MenuCascade ClassName String MenuCascade Disable Integer MenuCascade Enable Integer MenuCascade GetContextService Integer MenuCascade GetParent PowerObject MenuCascade Hide Integer MenuCascade PopMenu Integer MenuCascade PostEvent Integer MenuCascade Show Integer MenuCascade TriggerEvent Integer MenuCascade TypeOf Object MenuCascade Uncheck Integer Message ClassName String Message GetContextService Integer Message GetParent PowerObject Message PostEvent Boolean Message TriggerEvent Integer Message TypeOf Object OLEObject ClassName String OLEObject ConnectToNewObject Integer OLEObject ConnectToNewRemoteObject Integer OLEObject ConnectToObject Integer OLEObject ConnectToRemoteObject Integer OLEObject DisconnectObject Integer OLEObject GetAutomationNative- OLEObject Pointer Integer OLEObject GetContextService Integer OLEObject GetParent PowerObject OLEObject PostEvent Boolean OLEObject ReleaseAutomation- OLEObject NativePointer Integer OLEObject SetAutomationLocale Integer OLEObject SetAutomationPointer Integer OLEObject SetAutomationTimeout Integer OLEObject TriggerEvent Integer OLEObject TypeOf Object OLEStorage ClassName String OLEStorage Clear Integer OLEStorage Close Integer OLEStorage GetContextService Integer OLEStorage GetParent PowerObject OLEStorage MemberDelete Integer OLEStorage MemberExists Integer OLEStorage MemberRename Integer OLEStorage Open Integer OLEStorage PostEvent Boolean OLEStorage Save Integer OLEStorage SaveAs Integer OLEStorage TriggerEvent Integer OLEStorage TypeOf Object OLEStream ClassName String OLEStream Close Integer OLEStream GetContextService Integer OLEStream GetParent PowerObject OLEStream Length Integer OLEStream Open Integer OLEStream PostEvent Boolean OLEStream Read Integer OLEStream Seek Integer OLEStream TriggerEvent Integer OLEStream TypeOf Object OLEStream Write Long Pipeline Cancel Integer Pipeline ClassName String Pipeline GetContextService Integer Pipeline GetParent PowerObject Pipeline PostEvent Boolean Pipeline Repair Integer Pipeline Start Integer Pipeline TriggerEvent Integer Pipeline TypeOf Object ProfileCall ClassName String ProfileCall GetContextService Integer ProfileCall GetParent PowerObject ProfileCall TypeOf Object ProfileClass ClassName String ProfileClass GetContextService Integer ProfileClass GetParent PowerObject ProfileClass RoutineList ErrorReturn (enumerated) ProfileClass TypeOf Object ProfileLine ClassName String ProfileLine GetContextService Integer ProfileLine GetParent PowerObject ProfileLine OutGoingCallList ErrorReturn (enumerated) ProfileLine RoutineList ErrorReturn (enumerated) ProfileLine TypeOf Object ProfileRoutine ClassName String ProfileRoutine GetContextService Integer ProfileRoutine GetParent PowerObject ProfileRoutine IncomingCallList ErrorReturn (enumerated) ProfileRoutine LineList ErrorReturn (enumerated) ProfileRoutine OutgoingCallList ErrorReturn (enumerated) ProfileRoutine TypeOf Object Profiling BuildModel ErrorReturn (enumerated) Profiling ClassList ErrorReturn (enumerated) Profiling ClassName String Profiling DestroyModel ErrorReturn (enumerated) Profiling GetContextService Integer Profiling GetParent PowerObject Profiling RoutineList ErrorReturn (enumerated) Profiling SetTraceFileName ErrorReturn Profiling SystemRoutine ProfileRoutine Profiling TypeOf Object ScriptDefinition ClassName String ScriptDefinition GetContextService Integer ScriptDefinition GetParent PowerObject ScriptDefinition TypeOf Object TraceActivityNode ClassName String TraceActivityNode GetContextService Integer TraceActivityNode GetParent PowerObject TraceActivityNode TypeOf Object TraceBeginEnd ClassName String TraceBeginEnd GetContextService Integer TraceBeginEnd GetParent PowerObject TraceBeginEnd TypeOf Object TraceError ClassName String TraceError GetContextService Integer TraceError GetParent PowerObject TraceError TypeOf Object TraceESQL ClassName String TraceESQL GetContextService Integer TraceESQL GetParent PowerObject TraceESQL TypeOf Object TraceFile ClassName String TraceFile Close ErrorReturn (enumerated) TraceFile GetContextService Integer TraceFile GetParent PowerObject TraceFile NextActivity TraceActivityNode TraceFile Open ErrorReturn (enumerated) TraceFile Reset ErrorReturn (enumerated) TraceFile TypeOf Object TraceGarbageCollect ClassName String TraceGarbageCollect GetContextService Integer TraceGarbageCollect GetParent PowerObject TraceGarbageCollect TypeOf Object TraceLine ClassName String TraceLine GetContextService Integer TraceLine GetParent PowerObject TraceLine TypeOf Object TraceObject ClassName String TraceObject GetContextService Integer TraceObject GetParent PowerObject TraceObject TypeOf Object TraceRoutine ClassName String TraceRoutine GetContextService Integer TraceRoutine GetParent PowerObject TraceRoutine TypeOf Object TraceTree BuildModel ErrorReturn(enumerated) TraceTree ClassName String TraceTree DestroyModel ErrorReturn(enumerated) TraceTree EntryList ErrorReturn(enumerated) TraceTree GetContextService Integer TraceTree GetParent PowerObject TraceTree SetTraceFileName ErorReturn TraceTree TypeOf Object TraceTreeError ClassName String TraceTreeError GetContextService Integer TraceTreeError GetParent PowerObject TraceTreeError TypeOf Object TraceTreeESQL ClassName String TraceTreeESQL GetContextService Integer TraceTreeESQL GetParent PowerObject TraceTreeESQL TypeOf Object TraceTreeGarbageCollect ClassName String TraceTreeGarbageCollect GetChildrenList ErrorReturn (enumerated) TraceTreeGarbageCollect GetContextService Integer TraceTreeGarbageCollect GetParent PowerObject TraceTreeGarbageCollect TypeOf Object TraceTreeLine ClassName String TraceTreeLine GetContextService Integer TraceTreeLine GetParent PowerObject TraceTreeLine TypeOf Object TraceTreeNode ClassName String TraceTreeNode GetContextService Integer TraceTreeNode GetParent PowerObject TraceTreeNode TypeOf Object TraceTreeObject ClassName String TraceTreeObject GetChildrenList TraceTreeObject GetContextService Integer TraceTreeObject GetParent PowerObject TraceTreeObject TypeOf Object TraceTreeRoutine ClassName String TraceTreeRoutine GetChildrenList ErrorReturn(enumerated) TraceTreeRoutine GetContextService Integer TraceTreeRoutine GetParent PowerObject TraceTreeRoutine TypeOf Object TraceTreeUser ClassName String TraceTreeUser GetContextService Integer TraceTreeUser GetParent PowerObject TraceTreeUser TypeOf Object TraceUser ClassName String TraceUser GetContextService Integer TraceUser GetParent PowerObject TraceUser TypeOf Object Timing ClassName String Timing GetContextService Integer Timing GetParent PowerObject Timing PostEvent Boolean Timing Start Integer Timing Stop Integer Timing TriggerEvent Integer Timing TypeOf Object Transaction ClassName String Transaction DBHandle Long Transaction GetContextService Integer Transaction GetParent PowerObject Transaction PostEvent Boolean Transaction SyntaxFromSQL String Transaction TriggerEvent Integer Transaction TypeOf Object Transport ClassName String Transport GetContextService Integer Transport GetParent PowerObject Transport Listen Long Transport StopListening Long Transport TypeOf Object TreeViewItem ClassName String TreeViewItem GetContextService Integer TreeViewItem GetParent PowerObject TreeViewItem TypeOf Object TypeDefinition ClassName String TypeDefinition GetContextService Integer TypeDefinition GetParent PowerObject TypeDefinition TypeOf Object UserObject AddItem Integer UserObject ClassName String UserObject DeleteItem Integer UserObject Drag Integer UserObject EventParmDouble Integer UserObject EventParmString Integer UserObject GetContextService Integer UserObject GetParent PowerObject UserObject Hide Integer UserObject InsertItem Integer UserObject Move Integer UserObject PointerX Integer UserObject PointerY Integer UserObject PostEvent Boolean UserObject Print Integer UserObject Resize Integer UserObject SetFocus Integer UserObject SetPosition Integer UserObject SetRedraw Integer UserObject Show Integer UserObject TriggerEvent Integer UserObject TypeOf Object VariableCardinality ClassName String VariableCardinality GetContextService Integer VariableCardinality GetParent PowerObject VariableCardinality TypeOf Object VariableDefinition ClassName String VariableDefinition GetContextService Integer VariableDefinition GetParent PowerObject VariableDefinition TypeOf Object Window ArrangeSheets Integer Window ChangeMenu Integer Window ClassName String Window CloseUserObject Integer Window GetActiveSheet Window Window GetContextService Integer Window GetFirstSheet Window Window GetNextSheet Window Window GetParent PowerObject Window GetToolbar Integer Window GetToolbarPos Integer Window Hide Integer Window Move Integer Window OpenUserObject Integer Window OpenUserObjectWithParm Integer Window ParentWindow Window Window PointerX Integer Window PointerY Integer Window PostEvent Boolean Window Print Integer Window Resize Integer Window SetFocus Integer Window SetMicroHelp Integer Window SetPosition Integer Window SetRedraw Integer Window SetToolbar Integer Window SetToolbarPosition Integer Window Show Integer Window TriggerEvent Integer Window TypeOf Object Window WorkSpaceHeight Integer Window WorkSpaceWidth Integer Window WorkSpaceX Integer Window WorkSpaceY Integer SystemFunction LowerBound SystemFunction UpperBound SystemFunction Blob SystemFunction BlobEdit SystemFunction BlobMid SystemFunction Len SystemFunction String SystemFunction Asc SystemFunction Char SystemFunction Dec SystemFunction Double SystemFunction Integer SystemFunction Long SystemFunction Real SystemFunction Date SystemFunction DateTime SystemFunction IsDate SystemFunction IsNull SystemFunction IsNumber SystemFunction IsTime SystemFunction String SystemFunction Time SystemFunction Day SystemFunction DayName SystemFunction DayNumber SystemFunction DaysAfter SystemFunction Hour SystemFunction Minute SystemFunction Month SystemFunction Now SystemFunction RelativeDate SystemFunction RelativeTime SystemFunction Second SystemFunction Today SystemFunction Year SystemFunction CloseChannel SystemFunction ExecRemote SystemFunction GetDataDDE SystemFunction GetDataDDEOrigin SystemFunction GetRemote SystemFunction OpenChannel SystemFunction RespondRemote SystemFunction SetRemote SystemFunction StartHotLink SystemFunction StopHotLink SystemFunction GetCommandDDE SystemFunction GetCommandDDEOrigin SystemFunction GetDataDDE SystemFunction GetDataDDEOrigin SystemFunction RespondRemote SystemFunction SetDataDDE SystemFunction StartServerDDE SystemFunction StopServerDDE SystemFunction FileClose SystemFunction FileDelete SystemFunction FileExists SystemFunction FileLength SystemFunction FileOpen SystemFunction FileRead SystemFunction FileSeek SystemFunction FileWrite SystemFunction GetFileOpenName SystemFunction GetFileSaveName SystemFunction IsAllArabic SystemFunction IsAllHebrew SystemFunction IsAnyArabic SystemFunction IsAnyHebrew SystemFunction IsArabic SystemFunction IsArabicAndNumbers SystemFunction IsHebrew SystemFunction IsHebrewAndNumbers SystemFunction Reverse SystemFunction ToAnsi SystemFunction ToUnicode SystemFunction LibraryCreate SystemFunction LibraryDelete SystemFunction LibraryDirectory SystemFunction LibraryExport SystemFunction LibraryImport SystemFunction mailAddress SystemFunction mailDeleteMessage SystemFunction mailGetMessages SystemFunction mailHandle SystemFunction mailLogoff SystemFunction mailLogon SystemFunction mailReadMessage SystemFunction mailRecipientDetails SystemFunction mailResolveRecipient SystemFunction mailSaveMessage SystemFunction mailSend SystemFunction Beep SystemFunction ClassName SystemFunction DebugBreak SystemFunction DraggedObject SystemFunction IntHigh SystemFunction IntLow SystemFunction IsValid SystemFunction KeyDown SystemFunction MessageBox SystemFunction PixelsToUnits SystemFunction PopulateError SystemFunction RGB SystemFunction SetNull SystemFunction SetPointer SystemFunction SignalError SystemFunction UnitsToPixels SystemFunction Abs SystemFunction Ceiling SystemFunction Cos SystemFunction Exp SystemFunction Fact SystemFunction Int SystemFunction Log SystemFunction LogTen SystemFunction Max SystemFunction Min SystemFunction Mod SystemFunction Pi SystemFunction Rand SystemFunction Randomize SystemFunction Round SystemFunction Sign SystemFunction Sin SystemFunction Sqrt SystemFunction Tan SystemFunction Truncate SystemFunction Print SystemFunction PrintBitmap SystemFunction PrintCancel SystemFunction PrintClose SystemFunction PrintDataWindow SystemFunction PrintDefineFont SystemFunction PrintLine SystemFunction PrintOpen SystemFunction PrintOval SystemFunction PrintPage SystemFunction PrintRect SystemFunction PrintRoundRect SystemFunction PrintScreen SystemFunction PrintSend SystemFunction PrintSetFont SystemFunction PrintSetSpacing SystemFunction PrintSetup SystemFunction PrintText SystemFunction PrintWidth SystemFunction PrintX SystemFunction PrintY SystemFunction RegistryDelete SystemFunction RegistryGet SystemFunction RegistryKeys SystemFunction RegistrySet SystemFunction RegistryValues SystemFunction Asc SystemFunction Char SystemFunction Fill SystemFunction Left SystemFunction LeftTrim SystemFunction Len SystemFunction Lower SystemFunction Match SystemFunction Mid SystemFunction Pos SystemFunction Replace SystemFunction Reverse SystemFunction Right SystemFunction RightTrim SystemFunction Space SystemFunction Trim SystemFunction Upper SystemFunction Clipboard SystemFunction CommandParm SystemFunction DoScript SystemFunction GetApplication SystemFunction GetEnvironment SystemFunction GetFocus SystemFunction Post SystemFunction ProfileInt SystemFunction ProfileString SystemFunction Restart SystemFunction Run SystemFunction Send SystemFunction SetProfileString SystemFunction ShowHelp SystemFunction SignalError SystemFunction Yield SystemFunction CPU SystemFunction Idle SystemFunction Timer SystemFunction Close SystemFunction CloseWithReturn SystemFunction Open SystemFunction OpenSheet SystemFunction OpenSheetWithParm SystemFunction OpenWithParm ----------------------------------------------------------------*/ /*---------------------------------------------------------------- PowerBuilder Object Properties ------------------------------------------------------------------ CheckBox Automatic Boolean CheckBox BackColor Long CheckBox BorderStyle BorderStyle (enumerated) CheckBox BringToTop Boolean CheckBox Checked Boolean CheckBox DragAuto Boolean CheckBox DragIcon String CheckBox Enabled Boolean CheckBox FaceName String CheckBox FontCharSet FontCharSet (enumerated) CheckBox FontFamily FontFamily (enumerated) CheckBox FontPitch FontPitch (enumerated) CheckBox Height Integer CheckBox Italic Boolean CheckBox LeftText Boolean CheckBox Pointer String CheckBox RightToLeft Boolean CheckBox TabOrder Integer CheckBox Tag String CheckBox Text String CheckBox TextColor Long CheckBox TextSize Integer CheckBox ThirdState Boolean CheckBox ThreeState Boolean CheckBox Underline Boolean CheckBox Visible Boolean CheckBox Weight Integer CheckBox Width Integer CheckBox X Integer CheckBox Y Integer CommandButton BringToTop Boolean CommandButton Cancel Boolean CommandButton Default Boolean CommandButton DragAuto Boolean CommandButton DragIcon String CommandButton Enabled Boolean CommandButton FaceName String CommandButton FontCharSet FontCharSet (enumerated) CommandButton FontFamily FontFamily (enumerated) CommandButton FontPitch FontPitch (enumerated) CommandButton Height Integer CommandButton Italic Boolean CommandButton Pointer String CommandButton TabOrder Integer CommandButton Tag String CommandButton Text String CommandButton TextSize Integer CommandButton Underline Boolean CommandButton Visible Boolean CommandButton Weight Integer CommandButton Width Integer CommandButton X Integer CommandButton Y Integer DataWindow Border Boolean DataWindow BorderStyle BorderStyle (enumerated) DataWindow BringToTop Boolean DataWindow ControlMenu Boolean DataWindow DataObject String DataWindow DragAuto Boolean DataWindow DragIcon String DataWindow Enabled Boolean DataWindow Height Integer DataWindow HScrollBar Boolean DataWindow HSplitScroll Boolean DataWindow Icon String DataWindow LiveScroll Boolean DataWindow MaxBox Boolean DataWindow MinBox Boolean DataWindow Object DWObject DataWindow Resizable Boolean DataWindow RightToLeft Boolean DataWindow TabOrder Integer DataWindow Tag String DataWindow Title String DataWindow TitleBar Boolean DataWindow Visible Boolean DataWindow VScrollBar Boolean DataWindow Width Integer DataWindow X Integer DataWindow Y Integer DropDownListBox Accelerator Integer DropDownListBox AllowEdit Boolean DropDownListBox AutoHScroll Boolean DropDownListBox BackColor Long DropDownListBox Border Boolean DropDownListBox BorderStyle BorderStyle (enumerated) DropDownListBox BringToTop Boolean DropDownListBox DragAuto Boolean DropDownListBox DragIcon String DropDownListBox Enabled Boolean DropDownListBox FaceName String DropDownListBox FontCharSet FontCharSet (enumerated) DropDownListBox FontFamily FontFamily (enumerated) DropDownListBox FontPitch FontPitch (enumerated) DropDownListBox Height Integer DropDownListBox HScrollBar Boolean DropDownListBox Italic Boolean DropDownListBox Item[ ] String array DropDownListBox Limit Integer DropDownListBox Pointer String DropDownListBox RightToLeft Boolean DropDownListBox ShowList Boolean DropDownListBox Sorted Boolean DropDownListBox TabOrder Integer DropDownListBox Tag String DropDownListBox Text String DropDownListBox TextColor Long DropDownListBox TextSize Integer DropDownListBox Underline Boolean DropDownListBox Visible Boolean DropDownListBox VScrollBar Boolean DropDownListBox Weight Integer DropDownListBox Width Integer DropDownListBox X Integer DropDownListBox Y Integer DropDownPicture Accelerator Integer DropDownPicture AllowEdit Boolean DropDownPicture AutoHScroll Boolean DropDownPicture BackColor Long DropDownPicture Border Boolean DropDownPicture BorderStyle BorderStyle (enumerated) DropDownPicture BringToTop Boolean DropDownPicture DragAuto Boolean DropDownPicture DragIcon String DropDownPicture Enabled Boolean DropDownPicture FaceName String DropDownPicture FontCharSet FontCharSet (enumerated) DropDownPicture FontFamily FontFamily (enumerated) DropDownPicture FontPitch FontPitch (enumerated) DropDownPicture Height Integer DropDownPicture HScrollBar Boolean DropDownPicture Italic Boolean DropDownPicture Item[ ] String array DropDownPicture ItemPictureIndex[ ] Integer DropDownPicture Limit Integer DropDownPicture PictureHeight Integer DropDownPicture PictureWidth Integer DropDownPicture PictureMaskColor Long DropDownPicture PictureName[ ] String DropDownPicture Pointer String DropDownPicture RightToLeft Boolean DropDownPicture ShowList Boolean DropDownPicture Sorted Boolean DropDownPicture TabOrder Integer DropDownPicture Tag String DropDownPicture Text String DropDownPicture TextColor Long DropDownPicture TextSize Integer DropDownPicture Underline Boolean DropDownPicture Visible Boolean DropDownPicture VScrollBar Boolean DropDownPicture Weight Integer DropDownPicture Width Integer DropDownPicture X Integer DropDownPicture Y Integer EditMask Accelerator Integer EditMask Alignment Alignment EditMask (enumerated) Specifies the alignment of text in the control. Values are:Center!Justify!Left!Right! EditMask AutoHScroll Boolean EditMask AutoSkip Boolean EditMask AutoVScroll Boolean EditMask BackColor Long EditMask Border Boolean EditMask BorderStyle BorderStyle (enumerated) EditMask BringToTop Boolean EditMask DisplayData String EditMask DisplayOnly Boolean EditMask DragAuto Boolean EditMask DragIcon String EditMask Enabled Boolean EditMask FaceName String EditMask FontCharSet FontCharSet (enumerated) EditMask FontFamily FontFamily (enumerated) EditMask FontPitch FontPitch (enumerated) EditMask Height Integer EditMask HScrollBar Boolean EditMask HideSelection Boolean EditMask IgnoreDefaultButton Boolean EditMask Increment Double EditMask Italic Boolean EditMask Limit Integer EditMask Mask String EditMask MaskDataType MaskDataType (enumerated) EditMask MinMax String EditMask Pointer String EditMask RightToLeft Boolean EditMask Spin Boolean EditMask TabOrder Integer EditMask TabStop[ ] Integer EditMask Tag String EditMask Text String EditMask TextColor Long EditMask TextCase TextCase (enumerated) EditMask TextSize Integer EditMask UnderLine Boolean EditMask UseCodeTable Boolean EditMask Visible Boolean EditMask VScrollBar Boolean EditMask Weight Integer EditMask Width Integer EditMask X Integer EditMask Y Integer Graph BackColor Long Graph Border Boolean Graph BorderStyle BorderStyle (enumerated) Graph BringToTop Boolean Graph Category grAxis Graph CategorySort grSortType Graph Depth Integer Graph DragAuto Boolean Graph DragIcon String Graph Elevation Integer Graph Enabled Boolean Graph FocusRectangle Boolean Graph GraphType grGraphType (enumerated) Graph Height Integer Graph Legend grLegendType (enumerated) Graph LegendDispAttr grDispAttr Graph OverlapPercent Integer Graph Perspective Integer Graph PieDispAttr grDispAttr Graph Pointer String Graph Rotation Integer Graph Series grAxis Graph SeriesSort grSortType Graph ShadeColor Long Graph Spacing Integer Graph TabOrder Integer Graph Tag String Graph TextColor Long Graph Title String Graph TitleDispAttr grDispAttr Graph Values grAxis Graph Visible Boolean Graph Width Integer Graph X Integer Graph Y Integer GroupBox BackColor Long GroupBox BorderStyle BorderStyle (enumerated) GroupBox BringToTop Boolean GroupBox DragAuto Boolean GroupBox DragIcon String GroupBox Enabled Boolean GroupBox FaceName String GroupBox FontCharSet FontCharSet (enumerated) GroupBox FontFamily FontFamily (enumerated) GroupBox FontPitch FontPitch (enumerated) GroupBox Height Integer GroupBox Italic Boolean GroupBox Pointer String GroupBox RightToLeft Boolean GroupBox TabOrder Integer GroupBox Tag String GroupBox Text String GroupBox TextColor Long GroupBox TextSize Integer GroupBox Underline Boolean GroupBox Visible Boolean GroupBox Weight Integer GroupBox Width Integer GroupBox X Integer GroupBox Y Integer HScrollBar BringToTop Boolean HScrollBar DragAuto Boolean HScrollBar DragIcon String HScrollBar Height Integer HScrollBar MaxPosition Integer HScrollBar MinPosition Integer HScrollBar Pointer String HScrollBar Position Integer HScrollBar StdHeight Boolean HScrollBar TabOrder Integer HScrollBar Tag String HScrollBar Visible Boolean Line BeginX Integer Line BeginY Integer Line EndX Integer Line EndY Integer Line LineColor Long Line LineStyle LineStyle (enumerated) Line LineThickness Integer Line Tag String Line Visible Boolean ListBox Accelerator Integer ListBox BackColor Long ListBox Border Boolean ListBox BorderStyle BorderStyle (enumerated) ListBox BringToTop Boolean ListBox DisableNoScroll Boolean ListBox DragAuto Boolean ListBox DragIcon String ListBox Enabled Boolean ListBox ExtendedSelect Boolean ListBox FaceName String ListBox FontCharSet FontCharSet (enumerated) ListBox FontFamily FontFamily (enumerated) ListBox FontPitch FontPitch (enumerated) ListBox Height Integer ListBox HScrollBar Boolean ListBox Italic Boolean ListBox Item[ ] String ListBox MultiSelect Boolean ListBox Pointer String ListBox RightToLeft Boolean ListBox Sorted Boolean ListBox TabOrder Integer ListBox TabStop[ ] Integer array ListBox Tag String ListBox TextColor Long ListBox TextSize Integer ListBox Underline Boolean ListBox Visible Boolean ListBox VScrollBar Boolean ListBox Weight Integer ListBox Width Integer ListBox X Integer ListBox Y Integer ListView Accelerator Integer ListView AutoArrange Boolean ListView BackColor Long ListView Border Boolean ListView BorderStyle BorderStyle (enumerated) ListView BringToTop Boolean ListView ButtonHeader Boolean ListView DeleteItems Boolean ListView DragAuto Boolean ListView DragIcon String ListView EditLabels Boolean ListView Enabled Boolean ListView ExtendedSelect Boolean ListView FaceName String ListView FixedLocations Boolean ListView FontCharSet FontCharSet (enumerated) ListView FontFamily FontFamily (enumerated) ListView FontPitch FontPitch (enumerated) ListView Height Integer ListView HideSelection Boolean ListView Italic Boolean ListView Item[ ] String ListView ItemPictureIndex[ ] Integer ListView LabelWrap Boolean ListView LargePictureHeight Integer ListView LargePictureMaskColor Long ListView LargePictureName[ ] String ListView LargePictureWidth Integer ListView Pointer String ListView Scrolling Boolean ListView ShowHeader Boolean ListView SmallPictureHeight Integer ListView SmallPictureMaskColor Long ListView SmallPictureName[ ] String ListView SmallPictureWidth Integer ListView SortType grSortType ListView StatePictureHeight Integer ListView StatePictureMaskColor Long ListView StatePictureName[ ] String ListView StatePictureWidth Integer ListView TabOrder Integer ListView Tag String ListView TextColor Long ListView TextSize Integer ListView Underline Boolean ListView View ListViewView ListView Visible Boolean ListView Weight Integer ListView Width Integer ListView X Integer ListView Y Integer MultiLineEdit Accelerator Integer MultiLineEdit Alignment Alignment (enumerated) MultiLineEdit AutoHScroll Boolean MultiLineEdit AutoVScroll Boolean MultiLineEdit BackColor Long MultiLineEdit Border Boolean MultiLineEdit BorderStyle BorderStyle (enumerated) MultiLineEdit BringToTop Boolean MultiLineEdit DisplayOnly Boolean MultiLineEdit DragAuto Boolean MultiLineEdit DragIcon String MultiLineEdit Enabled Boolean MultiLineEdit FaceName String MultiLineEdit FontCharSet FontCharSet (enumerated) MultiLineEdit FontFamily FontFamily (enumerated) MultiLineEdit FontPitch FontPitch (enumerated) MultiLineEdit Height Integer MultiLineEdit HideSelection Boolean MultiLineEdit HScrollBar Boolean MultiLineEdit IgnoreDefaultButton Boolean MultiLineEdit Italic Boolean MultiLineEdit Limit Integer MultiLineEdit Pointer String MultiLineEdit RightToLeft Boolean MultiLineEdit TabOrder Integer MultiLineEdit TabStop[ ] Integer MultiLineEdit Tag String MultiLineEdit Text String MultiLineEdit TextCase TextCase (enumerated) MultiLineEdit TextColor Long MultiLineEdit TextSize Integer MultiLineEdit Underline Boolean MultiLineEdit Visible Boolean MultiLineEdit VScrollBar Boolean MultiLineEdit Weight Integer MultiLineEdit Width Integer MultiLineEdit X Integer MultiLineEdit Y Integer OLEControl Activation omActivation OLEControl BackColor Long OLEControl Border Boolean OLEControl BorderStyle BorderStyle (enumerated) OLEControl BringToTop Boolean OLEControl ClassLongName String OLEControl ClassShortName String OLEControl ContentsAllowed omContents OLEControl Allowed Specifies whether the OLE object in the control must be embedded or linked or whether either method is allowed when Insert is called at runtime. OLEControl DisplayName String OLEControl DisplayType omDisplayType OLEControl DocFileName String OLEControl DragAuto Boolean OLEControl DragIcon String OLEControl Enabled Boolean OLEControl FocusRectangle Boolean OLEControl Height Integer OLEControl IsDragTarget Boolean OLEControl LinkItem String OLEControl LinkUpdateOptions omLinkUpdateOptions OLEControl Object omObject OLEControl ObjectData Blob OLEControl ParentStorage omStorage OLEControl Pointer String OLEControl Resizable Boolean OLEControl TabOrder Integer OLEControl Tag String OLEControl Visible Boolean OLEControl Width Integer OLEControl X Integer OLEControl Y Integer OLECustomControl Alignment Alignment (enumerated) OLECustomControl BackColor Long OLECustomControl Border Boolean OLECustomControl BorderStyle BorderStyle (enumerated) OLECustomControl BringToTop Boolean OLECustomControl Cancel Boolean OLECustomControl ClassLongName String OLECustomControl ClassShortName String OLECustomControl DisplayName String OLECustomControl Default Boolean OLECustomControl DragAuto Boolean OLECustomControl DragIcon String OLECustomControl Enabled Boolean OLECustomControl FaceName String OLECustomControl FocusRectangle Boolean OLECustomControl FontCharSet FontCharSet (enumerated) OLECustomControl FontFamily FontFamily (enumerated) OLECustomControl FontPitch FontPitch (enumerated) OLECustomControl Height Integer OLECustomControl IsDragTarget Boolean OLECustomControl Italic Boolean OLECustomControl Object omObject OLECustomControl Pointer String OLECustomControl TabOrder Integer OLECustomControl Tag String OLECustomControl TextColor Long OLECustomControl TextSize Integer OLECustomControl Underline Boolean OLECustomControl Visible Boolean OLECustomControl Weight Integer OLECustomControl Width Integer OLECustomControl X Integer OLECustomControl Y Integer Oval FillColor Long Oval FillPattern FillPattern (enumerated) Oval Height Integer Oval LineColor Long Oval LineStyle LineStyle (enumerated) Oval LineThickness Integer Oval Tag String Oval Visible Boolean Oval Width Integer Oval X Integer Oval Y Integer Picture Border Boolean Picture BorderStyle BorderStyle (enumerated) Picture BringToTop Boolean Picture DragAuto Boolean Picture DragIcon String Picture Enabled Boolean Picture FocusRectangle Boolean Picture Height Integer Picture Invert Boolean Picture OriginalSize Boolean Picture PictureName String Picture Pointer String Picture TabOrder Integer Picture Tag String Picture Visible Boolean Picture Width Integer Picture X Integer Picture Y Integer PictureButton HTextAlign Alignment (enumerated) PictureButton BringToTop Boolean PictureButton Cancel Boolean PictureButton Default Boolean PictureButton DisabledName String PictureButton DragAuto Boolean PictureButton DragIcon String PictureButton Enabled Boolean PictureButton FaceName String PictureButton FontCharSet FontCharSet (enumerated) PictureButton FontFamily FontFamily (enumerated) PictureButton FontPitch FontPitch (enumerated) PictureButton Height Integer PictureButton Italic Boolean PictureButton OriginalSize Boolean PictureButton PictureName String PictureButton Pointer String PictureButton TabOrder Integer PictureButton Tag String PictureButton Text String PictureButton TextSize Integer PictureButton Underline Boolean PictureButton Visible Boolean PictureButton VTextAlign VTextAlign (enumerated) PictureButton Weight Integer PictureButton Width Integer PictureButton X Integer PictureButton Y Integer PictureListBox Accelerator Integer PictureListBox BackColor Long PictureListBox Border Boolean PictureListBox BorderStyle BorderStyle (enumerated) PictureListBox BringToTop Boolean PictureListBox DisableNoScroll Boolean PictureListBox DragAuto Boolean PictureListBox DragIcon String PictureListBox Enabled Boolean PictureListBox ExtendedSelect Boolean PictureListBox FaceName String PictureListBox FontCharSet FontCharSet (enumerated) PictureListBox FontFamily FontFamily (enumerated) PictureListBox FontPitch FontPitch (enumerated) PictureListBox Height Integer PictureListBox HScrollBar Boolean PictureListBox Italic Boolean PictureListBox Item[ ] String PictureListBox ItemPictureIndex[ ] Integer PictureListBox MultiSelect Boolean PictureListBox PictureHeight Integer PictureListBox PictureWidth Integer PictureListBox PictureMaskColor Long PictureListBox PictureName[ ] String PictureListBox Pointer String PictureListBox RightToLeft Boolean PictureListBox Sorted Boolean PictureListBox TabOrder Integer PictureListBox TabStop[ ] Integer array PictureListBox Tag String PictureListBox TextColor Long RadioButton Automatic Boolean RadioButton BackColor Long RadioButton BorderStyle BorderStyle (enumerated) RadioButton BringToTop Boolean RadioButton Checked Boolean RadioButton DragAuto Boolean RadioButton DragIcon String RadioButton Enabled Boolean RadioButton FaceName String RadioButton FontCharSet FontCharSet (enumerated) RadioButton FontFamily FontFamily (enumerated) RadioButton FontPitch FontPitch (enumerated) RadioButton Height Integer RadioButton Italic Boolean RadioButton LeftText Boolean RadioButton Pointer String RadioButton RightToLeft Boolean RadioButton TabOrder Integer RadioButton Tag String RadioButton Text String RadioButton TextColor Long RadioButton TextSize Integer RadioButton Underline Boolean RadioButton Visible Boolean RadioButton Weight Integer RadioButton Width Integer RadioButton X Integer RadioButton Y Integer Rectangle FillColor Long Rectangle FillPattern FillPattern (enumerated) Rectangle Height Integer Rectangle LineColor Long Rectangle LineStyle LineStyle (enumerated) Rectangle LineThickness Integer Rectangle Tag String Rectangle Visible Boolean Rectangle Width Integer Rectangle X Integer Rectangle Y Integer RichTextEdit Accelerator Integer RichTextEdit BackColor Long RichTextEdit Border Boolean RichTextEdit BorderStyle BorderStyle (enumerated) RichTextEdit BottomMargin Long RichTextEdit BringToTop Boolean RichTextEdit DisplayOnly Boolean RichTextEdit DocumentName String RichTextEdit DragAuto Boolean RichTextEdit DragIcon String RichTextEdit Enabled Boolean RichTextEdit HeaderFooter Boolean RichTextEdit Height Integer RichTextEdit HScrollBar Boolean RichTextEdit InputFieldBackColor Long RichTextEdit InputFieldNamesVisible Boolean RichTextEdit InputFieldsVisible Boolean RichTextEdit LeftMargin Long RichTextEdit Modified Boolean RichTextEdit PicturesAsFrame Boolean RichTextEdit Pointer String RichTextEdit PopMenu Boolean RichTextEdit Resizable Boolean RichTextEdit ReturnsVisible Boolean RichTextEdit RightMargin Long RichTextEdit RulerBar Boolean RichTextEdit SpacesVisible Boolean RichTextEdit TabBar Boolean RichTextEdit TabOrder Integer RichTextEdit TabsVisible Boolean RichTextEdit Tag String RichTextEdit ToolBar Boolean RichTextEdit TopMargin Long RichTextEdit UndoDepth Integer RichTextEdit Visible Boolean RichTextEdit VScrollBar Boolean RichTextEdit Width Integer RichTextEdit WordWrap Boolean RichTextEdit X Integer RichTextEdit Y Integer RoundRectangle CornerHeight Integer RoundRectangle CornerWidth Integer RoundRectangle FillColor Long RoundRectangle FillPattern FillPattern (enumerated) RoundRectangle Height Integer RoundRectangle LineColor Long RoundRectangle LineStyle LineStyle (enumerated) RoundRectangle LineThickness Integer RoundRectangle Tag String RoundRectangle Visible Boolean RoundRectangle Width Integer RoundRectangle X Integer RoundRectangle Y Integer SingleLineEdit Accelerator Integer SingleLineEdit AutoHScroll Boolean SingleLineEdit BackColor Long SingleLineEdit Border Boolean SingleLineEdit BorderStyle BorderStyle (enumerated) SingleLineEdit BringToTop Boolean SingleLineEdit DisplayOnly Boolean SingleLineEdit DragAuto Boolean SingleLineEdit DragIcon String SingleLineEdit Enabled Boolean SingleLineEdit FaceName String SingleLineEdit FontCharSet FontCharSet (enumerated) SingleLineEdit FontFamily FontFamily (enumerated) SingleLineEdit FontPitch FontPitch (enumerated) SingleLineEdit Height Integer SingleLineEdit HideSelection Boolean SingleLineEdit Italic Boolean SingleLineEdit Limit Integer SingleLineEdit Password Boolean SingleLineEdit Pointer String SingleLineEdit RightToLeft Boolean SingleLineEdit TabOrder Integer SingleLineEdit Tag String SingleLineEdit Text String SingleLineEdit TextCase TextCase (enumerated) SingleLineEdit TextColor Long SingleLineEdit TextSize Integer SingleLineEdit Underline Boolean SingleLineEdit Visible Boolean SingleLineEdit Weight Integer SingleLineEdit Width Integer SingleLineEdit X Integer SingleLineEdit Y Integer StaticText Alignment Alignment (enumerated) StaticText BackColor Long StaticText Border Boolean StaticText BorderColor Long StaticText BorderStyle BorderStyle (enumerated) StaticText BringToTop Boolean StaticText DragAuto Boolean StaticText DragIcon String StaticText Enabled Boolean StaticText FaceName String StaticText FillPattern FillPattern (enumerated) StaticText FocusRectangle Boolean StaticText FontCharSet FontCharSet (enumerated) StaticText FontFamily FontFamily (enumerated) StaticText FontPitch FontPitch (enumerated) StaticText Height Integer StaticText Italic Boolean StaticText Pointer String StaticText RightToLeft Boolean StaticText TabOrder Integer StaticText Tag String StaticText Text String StaticText TextColor Long StaticText TextSize Integer StaticText Underline Boolean StaticText Visible Boolean StaticText Weight Integer StaticText Width Integer StaticText X Integer StaticText Y Integer Tab Alignment Alignment (enumerated) Tab BackColor Long Tab BoldSelectedText Boolean Tab BringToTop Boolean Tab CreateOnDemand Boolean Tab Control[ ] UserObject Tab DragAuto Boolean Tab DragIcon String Tab Enabled Boolean Tab FaceName String Tab FixedWidth Boolean Tab FocusOnButtonDown Boolean Tab FontCharSet FontCharSet (enumerated) Tab FontFamily FontFamily (enumerated) Tab FontPitch FontPitch (enumerated) Tab Height Integer Tab Italic Boolean Tab Multiline Boolean Tab PerpendicularText Boolean Tab PictureOnRight Boolean Tab Pointer String Tab PowerTips Boolean Tab RaggedRight Boolean Tab SelectedTab Integer Tab ShowPicture Boolean Tab ShowText Boolean Tab TabOrder Integer Tab TabPosition TabPosition (enumerated) Tab Tag String Tab TextSize Integer Tab Underline Boolean Tab Visible Boolean Tab Weight Integer Tab Width Integer Tab X Integer Tab Y Integer TreeView Accelerator Integer TreeView BackColor Long TreeView Border Boolean TreeView BorderStyle BorderStyle (enumerated) TreeView BringToTop Boolean TreeView DeleteItems Boolean TreeView DisableDragDrop Boolean TreeView DragAuto Boolean TreeView DragIcon String TreeView EditLabels Boolean TreeView Enabled Boolean TreeView FaceName String TreeView FontCharSet FontCharSet (enumerated) TreeView FontFamily FontFamily (enumerated) TreeView FontPitch FontPitch (enumerated) TreeView HasButtons Boolean TreeView HasLines Boolean TreeView Height Integer TreeView HideSelection Boolean TreeView Indent Integer TreeView Italic Boolean TreeView LinesAtRoot Boolean TreeView PictureHeight Integer TreeView PictureMaskColor Long TreeView PictureName String TreeView PictureWidth Integer TreeView Pointer String TreeView SortType grSortType TreeView StatePictureHeight Integer TreeView StatePictureMask- TreeView Color Long TreeView StatePictureName String TreeView StatePictureWidth Integer TreeView TabOrder Integer TreeView Tag String TreeView TextColor Long TreeView TextSize Integer TreeView Underline Boolean TreeView Visible Boolean TreeView Weight Integer TreeView Width Integer TreeView X Integer TreeView Y Integer UserObject BackColor Long UserObject Border Boolean UserObject BorderStyle BorderStyle (enumerated) UserObject BringToTop Boolean UserObject ClassName String UserObject ColumnsPerPage Integer UserObject Control[ ] WindowObject UserObject DragAuto Boolean UserObject DragIcon String UserObject Enabled Boolean UserObject Height Integer UserObject HScrollBar Boolean UserObject LibraryName String UserObject LinesPerPage Integer UserObject ObjectType UserObjects (enumerated) UserObject PictureMaskColor Long UserObject PictureName String UserObject Pointer String UserObject PowerTipText String UserObject Style Long UserObject TabBackColor Long UserObject TabTextColor Long UserObject TabOrder Integer UserObject Tag String UserObject Text String UserObject UnitsPerColumn Integer UserObject UnitsPerLine Integer UserObject Visible Boolean UserObject VScrollBar Boolean UserObject Width Integer UserObject X Integer UserObject Y Integer VScrollBar BringToTop Boolean VScrollBar DragAuto Boolean VScrollBar DragIcon String VScrollBar Height Integer VScrollBar MaxPosition Integer VScrollBar MinPosition Integer VScrollBar Pointer String VScrollBar Position Integer VScrollBar StdWidth Boolean VScrollBar TabOrder Integer VScrollBar Tag String VScrollBar Visible Boolean VScrollBar Width Integer VScrollBar X Integer VScrollBar Y Integer Application AppName String Application DDETimeOut Integer Application DisplayName String Application DWMessageTitle String Application MicroHelpDefault String Application RightToLeft Boolean Application ToolbarFrameTitle String Application ToolbarPopMenuText String Application ToolbarSheetTitle String Application ToolbarText Boolean Application ToolbarTips Boolean Application ToolbarUserControl Boolean ArrayBounds ClassDefinition PowerObject ArrayBounds LowerBound Long ArrayBounds UpperBound Long ClassDefinition Ancestor ClassDefinition ClassDefinition Category TypeCategory ClassDefinition ClassDefinition PowerObject ClassDefinition DataTypeOf String ClassDefinition IsAutoinstantiate Boolean ClassDefinition IsStructure Boolean ClassDefinition IsSystemType Boolean ClassDefinition IsVariableLength Boolean ClassDefinition IsVisualType Boolean ClassDefinition LibraryName String ClassDefinition Name String ClassDefinition NestedClassList[ ] ClassDefinition ClassDefinition ParentClass ClassDefinition ClassDefinition ScriptList[ ] ScriptDefinition ClassDefinition VariableList[ ] VariableDefinition Connection Application String Connection ConnectString String Connection Driver String Connection ErrCode Long Connection ErrText String Connection Location String Connection Options String Connection Password String Connection Trace String Connection UserID String ConnectionInfo Busy Boolean ConnectionInfo CallCount Long ConnectionInfo ClientID String ConnectionInfo ConnectTime DateTime ConnectionInfo ConnectUserID String ConnectionInfo LastCallTime DateTime ConnectionInfo Location String ConnectionInfo UserID String ContextInformation ClassDefinition PowerObject ContextKeyword ClassDefinition PowerObject CPlusPlus LibraryName String DataStore DataObject String DataStore Object DWObject DynamicDescriptionArea NumInputs Integer DynamicDescriptionArea NumOutputs Integer DynamicDescriptionArea InParmType[ ] ParmType (enumerated) DynamicDescriptionArea OutParmType[ ] ParmType (enumerated) EnumerationDefinition Category TypeCategory EnumerationDefinition ClassDefinition PowerObject EnumerationDefinition DataTypeOf String EnumerationDefinition Enumeration[ ] Enumeration- EnumerationDefinition ItemDefinition An array of the name-value pairs for all the items in the enumeration. EnumerationDefinition IsStructure Boolean EnumerationDefinition IsSystemType Boolean EnumerationDefinition IsVariableLength Boolean EnumerationDefinition IsVisualType Boolean EnumerationDefinition LibraryName String EnumerationDefinition Name String EnumerationItemDefinition ClassDefinition PowerObject EnumerationItemDefinition Name String EnumerationItemDefinition Value Long Environment CPUType CPUTypes (enumerated) Environment MachineCode Boolean Environment OSFixesRevision Integer Environment OSMajorRevision Integer Environment OSMinorRevision Integer Environment PBFixesRevision Integer Environment PBMajorRevision Integer Environment PBMinorRevision Integer Environment NumberOfColors Long Environment ScreenHeight Long Environment ScreenWidth Long Environment OSType OSTypes (enumerated) Environment PBType PBTypes (enumerated) Environment Win16 Boolean Error Line Integer Error Number Integer Error Object String Error ObjectEvent String Error Text String Error WindowMenu String grAxis AutoScale Boolean grAxis DataType grAxisDataType(enumerated) grAxis DisplayAttr grDispAttr (object) grAxis DisplayEveryNLabels Integer grAxis DropLines LineStyle (enumerated) grAxis Frame LineStyle (enumerated) grAxis Label String grAxis LabelDispAttr grDispAttr (object) grAxis MajorDivisions Integer grAxis MajorGridLine LineStyle (enumerated) grAxis MajorTic grTicType (enumerated) grAxis MaximumValue Double grAxis MaxValDateTime DateTime grAxis MinimumValue Double grAxis MinorDivisions Integer grAxis MinorGridLine LineStyle (enumerated) grAxis MinorTic grTicType (enumerated) grAxis MinValDateTime DateTime grAxis OriginLine LineStyle (enumerated) grAxis PrimaryLine LineStyle (enumerated) grAxis RoundTo Double grAxis RoundToUnitTo grRoundToType (enumerated) grAxis ScaleType grScaleType (enumerated) grAxis ScaleValue grScaleValue (enumerated) grAxis SecondaryLine LineStyle (enumerated) grAxis ShadeBackEdge Boolean grDispAttr Alignment Alignment (enumerated) grDispAttr AutoSize Boolean grDispAttr BackColor Long grDispAttr DisplayExpression String grDispAttr Escapement Integer grDispAttr FaceName String grDispAttr FillPattern FillPattern (enumerated) grDispAttr FontCharSet FontCharSet (enumerated) grDispAttr FontFamily FontFamily (enumerated) grDispAttr FontPitch FontPitch (enumerated) grDispAttr Format String grDispAttr Italic Boolean grDispAttr TextColor Long grDispAttr TextSize Integer grDispAttr Underline Boolean grDispAttr Weight Integer Inet ClassDefinition PowerObject InternetResult lassDefinition PowerObject ListViewItem CutHighlighted Boolean ListViewItem Data Any ListViewItem DropHighlighted Boolean ListViewItem HasFocus Boolean ListViewItem ItemX Integer ListViewItem ItemY Integer ListViewItem Label String ListViewItem OverlayPictureIndex Integer ListViewItem PictureIndex Integer ListViewItem Selected Boolean ListViewItem StatePictureIndex Integer mailFileDescription FileType mailFileType(enumerated) mailFileDescription Filename String mailFileDescription Pathname String mailFileDescription Position Unsignedlong mailMessage AttachmentFile[ ] mailFileDescription mailMessage ConversationID String mailMessage DateReceived String mailMessage MessageSent Boolean mailMessage MessageType String mailMessage NoteText String mailMessage ReceiptRequested Boolean mailMessage Recipient[ ] mailRecipient mailMessage Subject String mailMessage Unread Boolean mailRecipient Address String mailRecipient EntryID Blob mailRecipient Name String mailRecipient RecipientType mailRecipientType (enumerated) mailSession MessageID[ ] String mailSession SessionID Long MDIClient BackColor Long MDIClient BringToTop Boolean MDIClient Height Integer MDIClient MicroHelpHeight Integer MDIClient Tag String MDIClient Visible Boolean MDIClient Width Integer MDIClient X Integer MDIClient Y Integer Menu Checked Boolean Menu Enabled Boolean Menu Item[ ] Menu Menu MenuItemType MenuItemType (enumerated) Menu MergeOption MenuMerge Option (enumerated) Menu MicroHelp String Menu ParentWindow Window Menu ShiftToRight Boolean Menu Shortcut Integer Menu Tag String Menu Text String Menu ToolbarItemDown Boolean Menu ToolbarItemDownName String Menu ToolbarItemBarIndex Integer Menu ToolbarItemName String Menu ToolbarItemOrder Integer Menu ToolbarItemSpace Integer Menu ToolbarItemText String Menu ToolbarItemVisible Boolean Menu Visible Boolean MenuCascade Checked Boolean MenuCascade Columns Integer MenuCascade CurrentItem Menu MenuCascade DropDown Boolean MenuCascade Enabled Boolean MenuCascade Item[ ] Menu MenuCascade MenuItemType MenuItemType (enumerated) MenuCascade MergeOption MenuMergeOption (enumerated) MenuCascade "This and other OLE functions are only available on the Windows platform.? For more information about MergeOption, see the chapter on using OLE in Application Techniques." MenuCascade MicroHelp String MenuCascade ParentWindow Window MenuCascade ShiftToRight Boolean MenuCascade Shortcut Integer MenuCascade Tag String MenuCascade Text String MenuCascade ToolbarItemDown Boolean MenuCascade ToolbarItemDownName String MenuCascade ToolbarItemBarIndex Integer MenuCascade ToolbarItemName String MenuCascade ToolbarItemOrder Integer MenuCascade ToolbarItemSpace Integer MenuCascade ToolbarItemText String MenuCascade ToolbarItemVisible Boolean MenuCascade Visible Boolean Message Handle Long Message Number UnsignedInt Message WordParm Long Message LongParm Long Message DoubleParm Double Message StringParm String Message PowerObjectParm PowerObject Message Processed Boolean Message ReturnValue Long OLEStorage DocumentName String OLEStream Name String OLEStream Storage OMStorage Pipeline DataObject String Pipeline RowsInError Long Pipeline RowsRead Long Pipeline RowsWritten Long Pipeline Syntax String ProfileCall AbsoluteSelfTime Decimal ProfileCall AbsoluteTotalTime Decimal ProfileCall CalledRoutine ProfileRoutine ProfileCall CallingLine ProfileLine ProfileCall CallingRoutine ProfileRoutine ProfileCall HitCount Long ProfileCall PercentCalleeSelfTime Double ProfileCall PercentCalleeTotalTime Double ProfileCall PercentCallerTotalTime Double ProfileClass LibraryName String ProfileClass Name String ProfileLine AbsoluteSelfTime Decimal ProfileLine AbsoluteTotalTime Decimal ProfileLine HitCount Long ProfileLine LineNumber Long ProfileLine MaxSelfTime Decimal ProfileLine MaxTotalTime Decimal ProfileLine MinSelfTime Decimal ProfileLine MinTotalTime Decimal ProfileLine PercentSelfTime Double ProfileLine PercentTotalTime Double ProfileLine Routine ProfileRoutine ProfileRoutine AbsoluteSelfTime Decimal ProfileRoutine AbsoluteTotalTime Decimal ProfileRoutine Class ProfileClass ProfileRoutine HitCount Long ProfileRoutine Kind ProfileRoutineKind (enumerated) ProfileRoutine MaxSelfTime Decimal ProfileRoutine MaxTotalTime Decimal ProfileRoutine MinSelfTime Decimal ProfileRoutine MinTotalTime Decimal ProfileRoutine Name String ProfileRoutine PercentSelfTime Double ProfileRoutine PercentTotalTime Double Profiling ApplicationName String Profiling CollectionTime Decimal Profiling NumberOfActivities Long Profiling TraceFileName String ScriptDefinition Access VarAccess ScriptDefinition AliasName String ScriptDefinition ArgumentList VariableDefinition ScriptDefinition ClassDefinition PowerObject ScriptDefinition EventId Long ScriptDefinition EventIdName String ScriptDefinition ExternalUserFunction String ScriptDefinition IsExternalEvent Boolean ScriptDefinition IsLocallyDefined Boolean ScriptDefinition IsLocallyScripted Boolean ScriptDefinition IsRPCFunction Boolean ScriptDefinition IsScripted Boolean ScriptDefinition Kind ScriptKind ScriptDefinition LocalVariableList VariableDefinition ScriptDefinition Name String ScriptDefinition ReturnType TypeDefinition ScriptDefinition Source String ScriptDefinition SystemFunction String TraceActivityNode ActivityType TraceActivity (enumerated) TraceActivityNode Category TraceCategory (enumerated) TraceActivityNode TimerValue Decimal TraceBeginEnd ActivityType TraceActivity (enumerated) TraceBeginEnd Category TraceCategory (enumerated) TraceBeginEnd Message String TraceBeginEnd TimerValue Decimal TraceError ActivityType TraceActivity (enumerated) TraceError Category TraceCategory (enumerated) TraceError Message String TraceError Severity Long TraceError TimerValue Decimal TraceESQL ActivityNode TraceActivity TraceESQL Category TraceCategory TraceESQL Name String TraceESQL TimerValue Decimal TraceFile ApplicationName String TraceFile CollectionTime Decimal TraceFile LastError ErrorReturn (enumerated) TraceFile NumberOfActivities Long TraceFile FileName String TraceGarbageCollect ActivityType TraceActivity (enumerated) TraceGarbageCollect Category TraceCategory (enumerated) TraceGarbageCollect TimerValue Decimal TraceLine ActivityType TraceActivity (enumerated) TraceLine Category TraceCategory (enumerated) TraceLine LineNumber UnsignedLong TraceLine TimerValue Decimal TraceObject ActivityType TraceActivity (enumerated) TraceObject Category TraceCategory (enumerated) TraceObject ClassName String TraceObject IsCreate Boolean TraceObject LibraryName String TraceObject ObjectID UnsignedLong TraceObject TimerValue Decimal TraceRoutine ActivityType TraceActivity (enumerated) TraceRoutine Category TraceCategory (enumerated) TraceRoutine ClassName String TraceRoutine IsEvent Boolean TraceRoutine LibraryName String TraceRoutine Name String TraceRoutine ObjectID UnsignedLong TraceRoutine TimerValue Decimal TraceTree ApplicationName String TraceTree CollectionTime Decimal TraceTree NumberOfActivities Long TraceTree TraceFileName String TraceTreeError ActivityType TraceActivity (enumerated) TraceTreeError Message String TraceTreeError ParentNode TraceTreeNode TraceTreeError Severity Long TraceTreeError TimerValue Decimal TraceTreeESQL ActivityNode TraceActivity (enumerated) TraceTreeESQL EnterTimerValue Decimal TraceTreeESQL ExitTimerValue Decimal TraceTreeESQL Name String TraceTreeESQL ParentNode TraceTreeNode TraceTreeGarbageCollect ActivityType TraceActivity (enumerated) TraceTreeGarbageCollect EnterTimerValue Decimal TraceTreeGarbageCollect ExitTimerValue Decimal TraceTreeGarbageCollect ParentNode TraceTreeNode TraceTreeLine ActivityType TraceActivity (enumerated) TraceTreeLine LineNumber UnsignedLong TraceTreeLine ParentNode TraceTreeNode TraceTreeLine TimerValue Decimal TraceTreeNode ActivityType TraceActivity (enumerated) TraceTreeNode ParentNode TraceTreeNode TraceTreeObject ActivityType TraceActivity (enumerated) TraceTreeObject ClassName String TraceTreeObject Create Boolean TraceTreeObject EnterTimerValue Decimal TraceTreeObject ExitTimerValue Decimal TraceTreeObject LibraryName String TraceTreeObject ObjectID UnsignedLong TraceTreeObject ParentNode TraceTreeNode TraceTreeRoutine ActivityType TraceActivity (enumerated) TraceTreeRoutine ClassName String TraceTreeRoutine EnterTimerValue Decimal TraceTreeRoutine ExitTimerValue Decimal TraceTreeRoutine IsEvent Boolean TraceTreeRoutine LibraryName String TraceTreeRoutine Name String TraceTreeRoutine ObjectID UnsignedLong TraceTreeRoutine ParentNode TraceTreeNode TraceTreeUser ActivityType TraceActivity (enumerated) TraceTreeUser Argument Long TraceTreeUser Message String TraceTreeUser ParentNode TraceTreeNode TraceTreeUser TimerValue Decimal TraceUser ActivityType TraceActivity (enumerated) TraceUser Argument Long TraceUser Category TraceCategory (enumerated) TraceUser Message String TraceUser TimerValue Decimal Timing ClassDefinition PowerObject Timing Interval Double Timing Running Boolean Transaction AutoCommit Boolean Transaction Database String Transaction DBMS String Transaction DBParm String Transaction DBPass String Transaction Lock String Transaction LogID String Transaction LogPass String Transaction ServerName String Transaction SQLCode Long Transaction SQLDBCode Long Transaction SQLErrText String Transaction SQLNRows Long Transaction SQLReturnData String Transaction UserID String Transport Application String Transport Driver String Transport ErrCode Long Transport ErrText String Transport Location String Transport Options String Transport TimeOut Long Transport Trace String TreeViewItem Bold Boolean TreeViewItem Children Boolean TreeViewItem CutHighLighted Boolean TreeViewItem Data Any TreeViewItem DropHighLighted Boolean TreeViewItem Expanded Boolean TreeViewItem ExpandedOnce Boolean TreeViewItem HasFocus Boolean TreeViewItem ItemHandle Long TreeViewItem Label Label TreeViewItem Level Integer TreeViewItem OverlayPictureIndex Integer TreeViewItem PictureIndex Integer TreeViewItem SelectedPictureIndex Integer TreeViewItem Selected Boolean TreeViewItem StatePictureIndex Integer TypeDefinition Category TypeCategory TypeDefinition ClassDefinition PowerObject TypeDefinition DataTypeOf String TypeDefinition IsStructure Boolean TypeDefinition IsSystemType Boolean TypeDefinition IsVariableLength Boolean TypeDefinition IsVisualType Boolean TypeDefinition LibraryName String TypeDefinition Name String UserObject BackColor Long UserObject Border Boolean UserObject BorderStyle BorderStyle (enumerated) UserObject BringToTop Boolean UserObject ClassName String UserObject ColumnsPerPage Integer UserObject Control[ ] WindowObject UserObject DragAuto Boolean UserObject DragIcon String UserObject Enabled Boolean UserObject Height Integer UserObject HScrollBar Boolean UserObject LibraryName String UserObject LinesPerPage Integer UserObject ObjectType UserObjects (enumerated) UserObject PictureMaskColor Long UserObject PictureName String UserObject Pointer String UserObject PowerTipText String UserObject Style Long UserObject TabBackColor Long UserObject TabTextColor Long UserObject TabOrder Integer UserObject Tag String UserObject Text String UserObject UnitsPerColumn Integer UserObject UnitsPerLine Integer UserObject Visible Boolean UserObject VScrollBar Boolean UserObject Width Integer UserObject X Integer UserObject Y Integer VariableCardinality ArrayDefinition[ ] ArrayBounds VariableCardinality Cardinality VariableCardinalityType VariableCardinality ClassDefinition PowerObject VariableDefinition CallingConvention ArgCallingConvention VariableDefinition Cardinality VariableCardinalityDefinition VariableDefinition ClassDefinition PowerObject VariableDefinition InitialValue Any VariableDefinition IsConstant Boolean VariableDefinition IsControl Boolean VariableDefinition IsUserDefined Boolean VariableDefinition Kind VariableKind VariableDefinition Name String VariableDefinition OverridesAncestorValue Boolean VariableDefinition ReadAccess VarAccess VariableDefinition TypeInfo TypeDefinition VariableDefinition WriteAccess VarAccess Window BackColor Long Window Border Boolean Window BringToTop Boolean Window ColumnsPerPage Integer Window Control[ ] WindowObject Window ControlMenu Boolean Window Enabled Boolean Window Height Integer Window HScrollBar Boolean Window Icon String Window KeyboardIcon Boolean Window LinesPerPage Integer Window MaxBox Boolean Window MenuID Menu Window MenuName String Window MinBox Boolean Window Pointer String Window Resizable Boolean Window RightToLeft Boolean Window Tag String Window Title String Window TitleBar Boolean Window ToolbarAlignment ToolbarAlignment (enumerated) Window ToolbarHeight Integer Window ToolbarVisible Boolean Window ToolbarWidth Integer Window ToolbarX Integer Window ToolbarY Integer Window UnitsPerColumn Integer Window UnitsPerLine Integer Window Visible Boolean Window VScrollBar Boolean Window Width Integer Window WindowState WindowState (enumerated) Window WindowType WindowType (enumerated) Window X Integer Window Y Integer ----------------------------------------------------------------*/ /*---------------------------------------------------------------- PowerBuilder Object Events ------------------------------------------------------------------ CheckBox Clicked CheckBox Constructor CheckBox Destructor CheckBox DragDrop CheckBox DragEnter CheckBox DragLeave CheckBox DragWithin CheckBox GetFocus CheckBox LoseFocus CheckBox Other CheckBox RButtonDown CommandButton Clicked CommandButton Constructor CommandButton Destructor CommandButton DragDrop CommandButton DragEnter CommandButton DragLeave CommandButton DragWithin CommandButton GetFocus CommandButton LoseFocus CommandButton Other CommandButton RButtonDown DataWindow Clicked DataWindow Constructor DataWindow DBError DataWindow Destructor DataWindow DoubleClicked DataWindow DragDrop DataWindow DragEnter DataWindow DragLeave DataWindow DragWithin DataWindow EditChanged DataWindow Error DataWindow GetFocus DataWindow ItemChanged DataWindow ItemError DataWindow ItemFocusChanged DataWindow LoseFocus DataWindow Other DataWindow PrintEnd DataWindow PrintPage DataWindow PrintStart DataWindow RButtonDown DataWindow Resize DataWindow RetrieveEnd DataWindow RetrieveRow DataWindow RetrieveStart DataWindow RowFocusChanged DataWindow ScrollHorizontal DataWindow ScrollVertical DataWindow SQLPreview DataWindow UpdateEnd DataWindow UpdateStart DropDownListBox Constructor DropDownListBox Destructor DropDownListBox DoubleClicked DropDownListBox DragDrop DropDownListBox DragEnter DropDownListBox DragLeave DropDownListBox DragWithin DropDownListBox GetFocus DropDownListBox LoseFocus DropDownListBox Modified DropDownListBox Other DropDownListBox RButtonDown DropDownListBox SelectionChanged DropDownPicture Constructor DropDownPicture Destructor DropDownPicture DoubleClicked DropDownPicture DragDrop DropDownPicture DragEnter DropDownPicture DragLeave DropDownPicture DragWithin DropDownPicture GetFocus DropDownPicture LoseFocus DropDownPicture Modified DropDownPicture Other DropDownPicture RButtonDown DropDownPicture SelectionChanged EditMask Constructor EditMask Destructor EditMask DragDrop EditMask DragEnter EditMask DragLeave EditMask DragWithin EditMask GetFocus EditMask LoseFocus EditMask Modified EditMask Other EditMask RButtonDown Graph Clicked Graph Constructor Graph Destructor Graph DoubleClicked Graph DragDrop Graph DragEnter Graph DragLeave Graph DragWithin Graph GetFocus Graph LoseFocus Graph Other Graph RButtonDown HScrollBar Constructor HScrollBar Destructor HScrollBar DragDrop HScrollBar DragEnter HScrollBar DragLeave HScrollBar DragWithin HScrollBar GetFocus HScrollBar LineLeft HScrollBar LineRight HScrollBar LoseFocus HScrollBar Moved HScrollBar Other HScrollBar PageLeft HScrollBar PageRight HScrollBar RButtonDown ListBox Constructor ListBox Destructor ListBox DoubleClicked ListBox DragDrop ListBox DragEnter ListBox DragLeave ListBox DragWithin ListBox GetFocus ListBox LoseFocus ListBox Other ListBox RButtonDown ListBox SelectionChanged ListView BeginDrag ListView BeginLabelEdit ListView BeginRightDrag ListView Clicked ListView ColumnClick ListView Constructor ListView DeleteAllItems ListView DeleteItem ListView Destructor ListView DoubleClicked ListView DragDrop ListView DragEnter ListView DragLeave ListView DragWithin ListView EndLabelEdit ListView GetFocus ListView InsertItem ListView ItemChanged ListView ItemChanging ListView Key ListView LoseFocus ListView Other ListView RightClicked ListView RightDoubleClicked ListView Sort MultiLineEdit Constructor MultiLineEdit Destructor MultiLineEdit DragDrop MultiLineEdit DragEnter MultiLineEdit DragLeave MultiLineEdit DragWithin MultiLineEdit GetFocus MultiLineEdit LoseFocus MultiLineEdit Modified MultiLineEdit Other MultiLineEdit RButtonDown OLEControl Clicked OLEControl Close OLEControl Constructor OLEControl DataChange OLEControl Destructor OLEControl DoubleClicked OLEControl DragDrop OLEControl DragEnter OLEControl DragLeave OLEControl DragWithin OLEControl Error OLEControl ExternalException OLEControl GetFocus OLEControl LoseFocus OLEControl Other OLEControl PropertyChanged OLEControl PropertyRequestEdit OLEControl RButtonDown OLEControl Rename OLEControl Save OLEControl ViewChange OLECustomControl Clicked OLECustomControl Constructor OLECustomControl DataChange OLECustomControl Destructor OLECustomControl DoubleClicked OLECustomControl DragDrop OLECustomControl DragEnter OLECustomControl DragLeave OLECustomControl DragWithin OLECustomControl Error OLECustomControl ExternalException OLECustomControl GetFocus OLECustomControl LoseFocus OLECustomControl Other OLECustomControl PropertyChanged OLECustomControl PropertyRequestEdit OLECustomControl RButtonDown Picture Clicked Picture Constructor Picture Destructor Picture DoubleClicked Picture DragDrop Picture DragEnter Picture DragLeave Picture DragWithin Picture GetFocus Picture LoseFocus Picture Other Picture RButtonDown PictureButton Clicked PictureButton Constructor PictureButton Destructor PictureButton DragDrop PictureButton DragEnter PictureButton DragLeave PictureButton DragWithin PictureButton GetFocus PictureButton LoseFocus PictureButton Other PictureButton RButtonDown PictureListBox Constructor PictureListBox Destructor PictureListBox DoubleClicked PictureListBox DragDrop PictureListBox DragEnter PictureListBox DragLeave PictureListBox DragWithin PictureListBox GetFocus PictureListBox LoseFocus PictureListBox Other PictureListBox RButtonDown PictureListBox SelectionChanged RadioButton Clicked RadioButton Constructor RadioButton Destructor RadioButton DragDrop RadioButton DragEnter RadioButton DragLeave RadioButton DragWithin RadioButton GetFocus RadioButton LoseFocus RadioButton Other RadioButton RButtonDown RichTextEdit Constructor RichTextEdit Destructor RichTextEdit DoubleClicked RichTextEdit DragDrop RichTextEdit DragEnter RichTextEdit DragLeave RichTextEdit DragWithin RichTextEdit FileExists RichTextEdit GetFocus RichTextEdit InputFieldSelected RichTextEdit Key RichTextEdit LoseFocus RichTextEdit Modified RichTextEdit MouseDown RichTextEdit MouseMove RichTextEdit MouseUp RichTextEdit Other RichTextEdit PictureSelected RichTextEdit PrintFooter RichTextEdit PrintHeader RichTextEdit RButtonDown RichTextEdit RButtonUp SingleLineEdit Constructor SingleLineEdit Destructor SingleLineEdit DragDrop SingleLineEdit DragEnter SingleLineEdit DragLeave SingleLineEdit DragWithin SingleLineEdit GetFocus SingleLineEdit LoseFocus SingleLineEdit Modified SingleLineEdit Other SingleLineEdit RButtonDown StaticText Clicked StaticText Constructor StaticText Destructor StaticText DoubleClicked StaticText DragDrop StaticText DragEnter StaticText DragLeave StaticText DragWithin StaticText GetFocus StaticText LoseFocus StaticText Other StaticText RButtonDown Tab Clicked Tab Constructor Tab Destructor Tab DoubleClicked Tab DragDrop Tab DragEnter Tab DragLeave Tab DragWithin Tab GetFocus Tab Key Tab LoseFocus Tab Other Tab RightClicked Tab RightDoubleClicked Tab SelectionChanged Tab SelectionChanging TreeView BeginDrag TreeView BeginLabelEdit TreeView BeginRightDrag TreeView Clicked TreeView Constructor TreeView DeleteItem TreeView Destructor TreeView DoubleClicked TreeView DragDrop TreeView DragEnter TreeView DragLeave TreeView DragWithin TreeView EndLabelEdit TreeView GetFocus TreeView ItemCollapsed TreeView ItemCollapsing TreeView ItemExpanded TreeView ItemExpanding TreeView ItemPopulate TreeView Key TreeView LoseFocus TreeView Other TreeView RightClicked TreeView RightDoubleClicked TreeView SelectionChanged TreeView SelectionChanging TreeView Sort UserObject Constructor UserObject Destructor UserObject DragDrop UserObject DragEnter UserObject DragLeave UserObject DragWithin UserObject Other UserObject RButtonDown VScrollBar Constructor VScrollBar Destructor VScrollBar DragDrop VScrollBar DragEnter VScrollBar DragLeave VScrollBar DragWithin VScrollBar GetFocus VScrollBar LineDown VScrollBar LineUp VScrollBar LoseFocus VScrollBar Moved VScrollBar Other VScrollBar PageDown VScrollBar PageUp VScrollBar RButtonDown Application Close Application ConnectionBegin Application ConnectionEnd Application Idle Application Open Application SystemError Connection Constructor Connection Destructor Connection Error ContextInformation Constructor ContextInformation Destructor ContextKeyword Constructor ContextKeyword Destructor CPlusPlus Constructor CPlusPlus Destructor DataStore Constructor DataStore DBError DataStore Destructor DataStore Error DataStore ItemChanged DataStore ItemError DataStore PrintEnd DataStore PrintPage DataStore PrintStart DataStore RetrieveEnd DataStore RetrieveRow DataStore RetrieveStart DataStore SQLPreview DataStore UpdateEnd DataStore UpdateStart DynamicDescriptionArea Constructor DynamicDescriptionArea Destructor Error Constructor Error Destructor Inet Constructor Inet Destructor InternetResult Constructor InternetResult Destructor mailSession Constructor mailSession Destructor Menu Clicked Menu Selected MenuCascade Clicked MenuCascade Selected Message Constructor Message Destructor OLEObject Constructor OLEObject Destructor OLEObject Error OLEObject ExternalException OLEStorage Constructor OLEStorage Destructor OLEStream Constructor OLEStream Destructor Pipeline Constructor Pipeline Destructor Pipeline PipeEnd Pipeline PipeMeter Pipeline PipeStart Timing Constructor Timing Destructor Timing Timer Transaction Constructor Transaction Destructor UserObject Constructor UserObject Destructor UserObject DragDrop UserObject DragEnter UserObject DragLeave UserObject DragWithin UserObject Other UserObject RButtonDown Window Activate Window Clicked Window Close Window CloseQuery Window Deactivate Window DoubleClicked Window DragDrop Window DragEnter Window DragLeave Window DragWithin Window Hide Window HotLinkAlarm Window Key Window MouseDown Window MouseMove Window MouseUp Window Open Window Other Window RButtonDown Window RemoteExec Window RemoteHotLinkStart Window RemoteHotLinkStop Window RemoteRequest Window RemoteSend Window Resize Window Show Window SystemKey Window Timer Window ToolbarMoved SystemEvent HotLinkAlarm SystemEvent RemoteExec SystemEvent RemoteHotLinkStart SystemEvent RemoteHotLinkStop SystemEvent RemoteRequest SystemEvent RemoteSend ----------------------------------------------------------------*/ end subroutine public function integer of_save_new_words (string as_word, ref string rsa_words[]);//==================================================================== // Function: nvo_pbformater.of_save_new_words() //-------------------------------------------------------------------- // Description: Save new words so to indent other word into first format //-------------------------------------------------------------------- // Arguments: // string as_word // ref string rsa_words[] //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_save_new_words ( string as_word, ref string rsa_words[] ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ll_Index, ll_Count ll_Count = UpperBound(rsa_Words) For ll_Index = 1 To ll_Count If Upper(as_Word) = Upper(rsa_Words[ll_Index]) Then Return 1 End If Next rsa_Words[UpperBound(rsa_Words) + 1] = as_Word Return 1 end function public function long of_search_new_word (string as_word, string asa_words[]);//==================================================================== // Function: nvo_pbformater.of_search_new_word() //-------------------------------------------------------------------- // Description: //-------------------------------------------------------------------- // Arguments: // string as_word // string asa_words[] //-------------------------------------------------------------------- // Returns: long //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_search_new_word ( string as_word, string asa_words[] ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ll_Index Long ll_Pos For ll_Index = 1 To UpperBound(asa_Words[]) If Upper(asa_Words[ll_Index]) = Upper(as_Word) Then ll_Pos = ll_Index End If Next Return ll_Pos end function public function boolean of_isemptyline (string as_line);//==================================================================== // Function: nvo_pbformater.of_isemptyline() //-------------------------------------------------------------------- // Description: Determine whether the current line is a blank line //-------------------------------------------------------------------- // Arguments: // string as_line //-------------------------------------------------------------------- // Returns: boolean //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_isemptyline ( string as_line ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ll_ii, ll_count ll_count = Len(as_line) For ll_ii = 1 To ll_count If Not ( Mid(as_line, ll_ii, 1) = " " Or Mid(as_line, ll_ii, 1) = "~t" ) Then Return False End If Next Return True end function public function string of_get_word (string as_source, ref integer ai_pos, ref boolean ab_isfunction);//==================================================================== // Function: nvo_pbformater.of_get_word() //-------------------------------------------------------------------- // Description: Get a complete word //-------------------------------------------------------------------- // Arguments: // string as_source // ref integer ai_pos // ref boolean ab_isfunction //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_get_word ( string as_source, ref integer ai_pos, ref boolean ab_isfunction ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_word,lch Integer li_pos,li_len li_pos = ai_pos li_len = Len(as_source) For li_pos = ai_pos To li_len lch = Mid(as_source,li_pos,1) If of_IsIdentifiers(lch) Then Continue ElseIf lch = "!" Then ls_word = Mid(as_source,ai_pos,li_pos - ai_pos ) ai_pos = li_pos ab_IsFunction = False Return ls_word Else ls_word = Mid(as_source,ai_pos,li_pos - ai_pos) ai_pos = li_pos ab_IsFunction = False //li_pos = 1 lch = Mid(as_source,li_pos, 1) Do While (lch = CONST_SPACE Or lch = CONST_TAB) li_pos ++ lch = Mid(as_source,li_pos, 1) Loop If lch = "(" Then ab_IsFunction = True End If Return ls_word End If Next ls_word = Mid(as_source,ai_pos) ai_pos = li_len + 1 ab_IsFunction = False Return ls_word end function public function integer of_indent_code (string as_alphatype, ref s_indent_info asu_indent);//==================================================================== // Function: nvo_pbformater.of_indent_code() //-------------------------------------------------------------------- // Description: Indent the words of script code into dainty format //-------------------------------------------------------------------- // Arguments: // string as_alphatype // ref s_indent_info asu_indent //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent_code ( string as_alphatype, ref s_indent_info asu_indent ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_source,ls_source_new String ls_line_pre_this,ls_line_pre_next String ls_line1,lch,lch1 String ls_word,ls_word_new,ls_word_type Integer li_line_tab_next,li_line_tab_this Integer li_pos1,li_pos2,li_pos3 Boolean lb_IsFunction String ls_SqlType,ls_StatementType,ls_ReservedType,ls_ScriptsType,ls_OtherType ls_SqlType = Left(as_alphatype,1) ls_StatementType = Mid(as_alphatype,2,1) ls_ReservedType = Mid(as_alphatype,3,1) ls_ScriptsType = Mid(as_alphatype,4,1) ls_OtherType = Mid(as_alphatype,5,1) lch1 = Mid(asu_indent.Line,asu_indent.Pos - 1,1) ls_word = This.of_Get_Word(asu_indent.Line,asu_indent.Pos,lb_IsFunction) ls_word_new = This.of_Convert_Word(ls_word,ls_word_type) //==================================================================== // Added By Trueway Lee, 2003.01.26 //==================================================================== of_Save_New_Words(ls_word_new, asu_indent.Words) //==================================================================== If asu_indent.issqlline Then // Is SQL script line If Left(ls_word_type,1) <> "0" Then Choose Case ls_SqlType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose Else If lch1 = ":" Then Choose Case ls_OtherType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose Else asu_indent.line_new += ls_word End If End If Else If lb_IsFunction Then // Added By Trueway Lee, 2004.09.07 Choose Case ls_ScriptsType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose ElseIf Left(ls_word_type,1) = "2" Then Choose Case ls_SqlType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose ElseIf Mid(ls_word_type,2,1) = "2" Then Choose Case ls_StatementType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose ElseIf Mid(ls_word_type,2,1) = "1" Then Choose Case ls_ReservedType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose ElseIf Mid(ls_word_type,3,1) = "1" Then Choose Case ls_ScriptsType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else asu_indent.line_new += ls_word_new End Choose Else Choose Case ls_OtherType Case "U" asu_indent.line_new += Upper(ls_word_new) Case "L" asu_indent.line_new += Lower(ls_word_new) // CASE "F" // asu_indent.line_new += Upper(Left(ls_word_new,1))+Lower(Mid(ls_word_new,2)) Case Else //==================================================================== // Modified By Trueway Lee, 2003.01.26 //==================================================================== //asu_indent.line_new += ls_word_new Long ll_Pos ll_Pos = of_Search_New_Word(ls_word_new, asu_indent.Words) If ll_Pos > 0 Then asu_indent.line_new += asu_indent.Words[ll_Pos] Else asu_indent.line_new += ls_word_new End If //==================================================================== End Choose End If // ls_word_type End If // asu_indent.issqlline Return 1 end function public function integer of_indent_expression (s_indent_info asu_indent, ref string rs_return);//==================================================================== // Function: nvo_pbformater.of_indent_expression() //-------------------------------------------------------------------- // Description: Indent expression into dainty format //-------------------------------------------------------------------- // Arguments: // s_indent_info asu_indent // ref string rs_return //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent_expression ( s_indent_info asu_indent, ref string rs_return ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_TempText ls_TempText = asu_Indent.Char // Default value Choose Case asu_Indent.Char Case "=" If Right(asu_Indent.line_new, 1) <> " " And Right(asu_Indent.line_new, 1) <> "+" & And Right(asu_Indent.line_new, 1) <> "-" And Right(asu_Indent.line_new, 1) <> "*" & And Right(asu_Indent.line_new, 1) <> "/" And Right(asu_Indent.line_new, 1) <> ">" & And Right(asu_Indent.line_new, 1) <> "<" Then ls_TempText = " " + asu_Indent.Char If Mid(asu_Indent.Line, asu_Indent.Pos + 1, 1) <> " " Then ls_TempText += " " Case ">" If Right(asu_Indent.line_new, 1) <> " " And Right(asu_Indent.line_new, 1) <> "<" Then ls_TempText = " " + asu_Indent.Char End If If Mid(asu_Indent.Line, asu_Indent.Pos + 1, 1) <> " " & And Mid(asu_Indent.Line, asu_Indent.Pos + 1, 1) <> "=" Then ls_TempText += " " Case "<" If Right(asu_Indent.line_new, 1) <> " " Then ls_TempText = " " + asu_Indent.Char If Mid(asu_Indent.Line, asu_Indent.Pos + 1, 1) <> " " & And Mid(asu_Indent.Line, asu_Indent.Pos + 1, 1) <> "=" & And Mid(asu_Indent.Line, asu_Indent.Pos + 1, 1) <> ">" Then ls_TempText += " " End Choose rs_return = ls_TempText Return 1 end function public function integer of_indent_quote (ref s_indent_info asu_indent);//==================================================================== // Function: nvo_pbformater.of_indent_quote() //-------------------------------------------------------------------- // Description: //-------------------------------------------------------------------- // Arguments: // ref s_indent_info asu_indent //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent_quote ( ref s_indent_info asu_indent ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Integer li_pos1 String lch1 li_pos1 = asu_Indent.Pos Do li_pos1 ++ If li_pos1 > Len(asu_Indent.Line) Then // Error string end, will process next line script code string asu_Indent.line_new += Mid(asu_Indent.Line,asu_Indent.Pos,li_pos1 - asu_Indent.Pos + 1) Return -1 End If lch1 = Mid(asu_Indent.Line,li_pos1,1) Loop Until ( (lch1 = asu_Indent.Char) And & ( & ( Mid(asu_Indent.Line,li_pos1 - 1, 1 ) <> CONST_TILDE) Or & ( ( Mid(asu_Indent.Line,li_pos1 - 1, 1 ) = CONST_TILDE) And & ( Mid(asu_Indent.Line,li_pos1 - 2, 1 ) = CONST_TILDE) & ) & ) & ) asu_Indent.line_new += Mid(asu_Indent.Line,asu_Indent.Pos,li_pos1 - asu_Indent.Pos + 1) // next asu_Indent.Pos = li_pos1 + 1 Return 1 end function public function integer of_indent_semicolon (ref s_indent_info asu_indent);//==================================================================== // Function: nvo_pbformater.of_indent_semicolon() //-------------------------------------------------------------------- // Description: Process ";" //-------------------------------------------------------------------- // Arguments: // ref s_indent_info asu_indent //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent_semicolon ( ref s_indent_info asu_indent ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== If asu_Indent.IsSqlLine Then asu_Indent.IsSqlLine = False asu_Indent.line_new += asu_Indent.Char asu_Indent.line_new = This.of_Remove_NoPrintable(asu_Indent.line_new) asu_Indent.Source_new += asu_Indent.pre_this + asu_Indent.line_new + CONST_CRLF asu_Indent.Line = Mid(asu_Indent.Line,asu_Indent.Pos + 1) asu_Indent.Line = This.of_Remove_NoPrintable(asu_Indent.Line) asu_Indent.Pos = 1 asu_Indent.line_new = "" If asu_Indent.Line = "" Then // next line asu_Indent.Pos = 1 asu_Indent.line_new = "" asu_Indent.Line = This.of_Get_Next_Line(asu_Indent.Source) asu_Indent.Line = This.of_Remove_NoPrintable(asu_Indent.Line) End If Return 1 end function public function integer of_indent_reset (ref s_indent_info asu_indent);//==================================================================== // Function: nvo_pbformater.of_indent_reset() //-------------------------------------------------------------------- // Description: Initialize PowerIndent tool internal structure //-------------------------------------------------------------------- // Arguments: // ref s_indent_info asu_indent //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent_reset ( ref s_indent_info asu_indent ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== asu_Indent.Source = '' // Original script code asu_Indent.Source_New = '' // The script code has been processed asu_Indent.IsSqlLine = False // Is the SQL statement being processed asu_Indent.IsChooseCase = False // Is it processing Choose...Case asu_Indent.IsAmpersand = False // Is it processing & asu_Indent.IsAmpersandEnd = False // Are you processing &, and & is the last one asu_Indent.tab_next = 0 // The next line should be indented on the current basis, -1 means backspace, 1 means indent one space asu_Indent.tab_this = 0 // The indentation processing method that the current line should do asu_Indent.Line = "" // The current line to be processed asu_Indent.line_new = "" // The currently processed line asu_Indent.pre_this = "" // The prefix of the current line asu_Indent.Pos = 1 // The character position of the current line is being processed Return 1 end function public function string of_get_next_line (ref string as_source);//==================================================================== // Function: nvo_pbformater.of_get_next_line() //-------------------------------------------------------------------- // Description: Extract a new line from the original code segment //-------------------------------------------------------------------- // Arguments: // ref string as_source //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_get_next_line ( ref string as_source ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_line Integer li_pos // Get Next Line li_pos = Pos(as_source, CONST_CRLF) ls_line = Left(as_source, li_pos - 1) // Form the remaining code segment as_source = Mid(as_source,li_pos + 2) Return ls_line end function public function string of_convert_word (string as_word, ref string as_type);//==================================================================== // Function: nvo_pbformater.of_convert_word() //-------------------------------------------------------------------- // Description: Search words from PB script //-------------------------------------------------------------------- // Arguments: // string as_word // ref string as_type //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_convert_word ( string as_word, ref string as_type ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Integer li_pos String ls_words_standard String ls_word,ls_word1 ls_word1 = as_word ls_word = "," + Lower(Trim(as_word)) + "," li_pos = Pos ( Lower(PB_SqlWord), ls_word ) // Search in SQL words If li_pos > 0 Then ls_word1 = Mid(PB_SqlWord,li_pos + 1, Len(Trim(as_word))) ls_words_standard = Lower(Left(PB_SqlWord,Pos(PB_SqlWord,",,")+1)) If Pos ( ls_words_standard, ls_word ) > 0 Then // Standard SQL words as_type = "2" Else // Extended SQL words as_type = "1" End If Else // Not SQL words as_type = "0" End If li_pos = Pos ( Lower(PB_ReservedWord), ls_word ) // Search in Reserved words If li_pos > 0 Then ls_word1 = Mid(PB_ReservedWord,li_pos + 1, Len(Trim(as_word))) ls_words_standard = Lower(Left(PB_ReservedWord,Pos(PB_ReservedWord,",,")+1)) If Pos ( ls_words_standard, ls_word ) > 0 Then as_type += "2" Else as_type += "1" End If Else as_type += "0" End If li_pos = Pos ( Lower(PB_ScriptWord), ls_word ) // Search in Script words If li_pos > 0 Then ls_word1 = Mid(PB_ScriptWord,li_pos + 1, Len(Trim(as_word))) as_type += "1" Else as_type += "0" End If Return ls_word1 end function public function integer of_indent_slash (ref s_indent_info asu_indent);//==================================================================== // Function: nvo_pbformater.of_indent_slash() //-------------------------------------------------------------------- // Description: Handling comment symbols //-------------------------------------------------------------------- // Arguments: // ref s_indent_info asu_indent //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent_slash ( ref s_indent_info asu_indent ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Integer ll_pos1 If Mid(asu_Indent.Line,asu_Indent.Pos,2) = CONST_COMMENTS1 Then //==================================================================== // Single line comment // //==================================================================== asu_Indent.line_new = of_Trim(asu_Indent.line_new) // Trim Left and Right space and tab char If ( asu_Indent.line_new <> "" ) Then asu_Indent.line_new += " " + Mid(asu_Indent.Line,asu_Indent.Pos) Else asu_Indent.line_new = Mid(asu_Indent.Line,asu_Indent.Pos) End If // next line asu_Indent.source_new += asu_Indent.pre_this + asu_Indent.line_new + CONST_CRLF asu_Indent.Pos = 1 asu_Indent.line_new = "" asu_Indent.Line = This.of_Get_Next_Line(asu_Indent.Source) ElseIf Mid(asu_Indent.Line,asu_Indent.Pos,2) = CONST_COMMENTS2 Then //==================================================================== // Multi-line comments //==================================================================== ll_pos1 = Pos(asu_Indent.Line,CONST_COMMENTS3, asu_Indent.Pos + 2) If ll_pos1 > 0 Then asu_Indent.line_new += Mid(asu_Indent.Line,asu_Indent.Pos,ll_pos1 - asu_Indent.Pos + 1) asu_Indent.Pos = ll_pos1 + 1 Else asu_Indent.line_new += Mid(asu_Indent.Line,asu_Indent.Pos) // next line asu_Indent.source_new += asu_Indent.pre_this + asu_Indent.line_new + CONST_CRLF asu_Indent.Pos = 1 asu_Indent.line_new = "" asu_Indent.Line = This.of_Get_Next_Line(asu_Indent.Source) // search end comments flag Do While (ll_pos1 = 0) If asu_Indent.Source = "" Then // some error exists // Return Return -1 End If ll_pos1 = Pos(asu_Indent.Line,CONST_COMMENTS3, asu_Indent.Pos) If ll_pos1 > 0 Then asu_Indent.line_new += Mid(asu_Indent.Line,asu_Indent.Pos,ll_pos1 - asu_Indent.Pos + 1) // next asu_Indent.Pos = ll_pos1 + 1 Else asu_Indent.line_new = asu_Indent.Line // add next line asu_Indent.source_new += asu_Indent.pre_this + asu_Indent.line_new + CONST_CRLF asu_Indent.Pos = 1 asu_Indent.line_new = "" asu_Indent.Line = This.of_Get_Next_Line(asu_Indent.Source) End If Loop End If Else asu_Indent.line_new += asu_Indent.Char asu_Indent.Pos ++ End If Return 1 end function public function string of_trimleft (string as_text);//==================================================================== // Function: nvo_pbformater.of_trimleft() //-------------------------------------------------------------------- // Description: Trim " " and "~t" from the left of string //-------------------------------------------------------------------- // Arguments: // string as_text //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_trimleft ( string as_text ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_return Long ll_index = 1, ll_len ls_return = as_text ll_len = Len(ls_return) For ll_index = 1 To ll_len If Not (Mid(ls_return, ll_index, 1) = " " Or Mid(ls_return, ll_index, 1) = "~t") Then Exit End If Next ls_return = Mid(ls_return, ll_index, ll_len - ll_index + 1) Return ls_return end function public function string of_trimright (string as_text);//==================================================================== // Function: nvo_pbformater.of_trimright() //-------------------------------------------------------------------- // Description: Trim " " and "~t" from the right of string //-------------------------------------------------------------------- // Arguments: // string as_text //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_trimright ( string as_text ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_return Long ll_index, ll_len ls_return = as_text ll_len = Len(ls_return) ll_index = Len(ls_return) For ll_index = ll_len To 1 Step -1 If Not (Mid(ls_return, ll_index, 1) = " " Or Mid(ls_return, ll_index, 1) = "~t") Then Exit End If Next ls_return = Left(ls_return, ll_index) Return ls_return end function public function string of_trim (string as_text);//==================================================================== // Function: nvo_pbformater.of_trim() //-------------------------------------------------------------------- // Description: Trim Left and Right //-------------------------------------------------------------------- // Arguments: // string as_text //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_trim ( string as_text ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Return of_TrimLeft(of_TrimRight(as_Text)) end function public function string of_remove_comments (string as_source);//==================================================================== // Function: nvo_pbformater.of_remove_comments() //-------------------------------------------------------------------- // Description: //-------------------------------------------------------------------- // Arguments: // string as_source //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_remove_comments ( string as_source ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ll_pos, ll_pos2, ll_offset String ls_temp,ls_source ls_source = as_source /* Strip out all comments of type // */ ll_pos = Pos ( ls_source, CONST_COMMENTS1 ) If ll_pos > 0 Then ls_source = Left(ls_source, ll_pos - 1) End If /* Strip out all comments of type /* ---*/ */ ll_pos = Pos ( ls_source, CONST_COMMENTS2 ) Do While ll_pos > 0 ll_pos2 = Pos ( ls_source, CONST_COMMENTS3, ll_pos ) If ll_pos2 > 0 Then ls_source = Replace ( ls_source, ll_pos, 2 + ll_pos2 - ll_pos, "" ) Else ll_pos += 2 End If ll_pos = Pos ( ls_source, CONST_COMMENTS2, ll_pos ) Loop Return ls_source end function public subroutine of_get_line_prefix (ref s_indent_info asu_indent);//==================================================================== // Function: nvo_pbformater.of_get_line_prefix() //-------------------------------------------------------------------- // Description: Calculate indent //-------------------------------------------------------------------- // Arguments: // ref s_indent_info asu_indent //-------------------------------------------------------------------- // Returns: (none) //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_get_line_prefix ( ref s_indent_info asu_indent ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_line, ls_line_old Integer li_line_tab_pre,li_line_tab_self,li_line_tab_next,li_line_tab_this Integer li_seed = 0, li_seed2 = 0 ls_line = asu_indent.Line ls_line_old = ls_line li_line_tab_pre = asu_indent.tab_next //The next line indentation method processed last time is used as the benchmark for this time // replace TAB => SPACE ls_line = This.of_Replace_TAB2SPACE(ls_line) // remove comments ls_line = This.of_Remove_Comments(ls_line) // remove string content ls_line = This.of_Remove_Quote(ls_line) // remove nonprintable characters ls_line = This.of_Remove_NoPrintable(ls_line) // lower string ls_line = Lower(ls_line) If asu_indent.IsMultiLineNoEndIf = True Then asu_indent.IsMultiLineNoEndIf = False li_seed = -1 End If If asu_indent.IsAmpersandEnd Then li_seed2 = -1 asu_indent.IsAmpersandEnd = False End If // SQL Line If asu_indent.IsSQLLine Then If Right(ls_line,1) = CONST_SEMICOLON Then li_line_tab_self = 0 li_line_tab_next = -1 asu_indent.IsSQLLine = False Else li_line_tab_self = 0 li_line_tab_next = 0 End If Goto label_end End If // //==================================================================== // IF...THEN...ELSE...END IF //==================================================================== If Match(ls_line,"^if .* then .* else .*" ) Then li_line_tab_self = 0 li_line_tab_next = 1 ElseIf Match(ls_line,"^if .* then" ) Then If Right(ls_line,4) = "then" Then li_line_tab_self = 0 li_line_tab_next = 1 Else li_line_tab_self = 0 li_line_tab_next = 0 End If ElseIf Match(ls_line,"^elseif .* then" ) Then li_line_tab_self = -1 li_line_tab_next = 0 ElseIf Match(ls_line,"^else" ) And ( Mid(Trim(ls_line), 5, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 5, 1) ) > 0 ) Then li_line_tab_self = -1 li_line_tab_next = 0 ElseIf Match(ls_line,"^end if" ) Then li_line_tab_self = -1 li_line_tab_next = -1 //==================================================================== //==================================================================== // FOR...NEXT //==================================================================== ElseIf Match(ls_line,"^for .* to .*" ) Then li_line_tab_self = 0 li_line_tab_next = 1 ElseIf Match(ls_line,"^next" ) And ( Mid(Trim(ls_line), 5, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 5, 1) ) > 0 ) Then li_line_tab_self = -1 li_line_tab_next = -1 //==================================================================== //==================================================================== // CHOOSE...CASE...END CHOOSE //==================================================================== ElseIf Match(ls_line,"^choose * case .*" ) Then li_line_tab_self = 0 li_line_tab_next = 0 asu_indent.ischoosecase = True ElseIf Match(ls_line,"^case .*" ) Then If asu_indent.ischoosecase Then // Prior choose line is "choose * case .*" asu_indent.ischoosecase = False li_line_tab_self = 1 li_line_tab_next = 2 Else // Prior choose line is "case .*" li_line_tab_self = -1 // "case .*" moved to prior level li_line_tab_next = 0 // Script code string no change End If ElseIf Match(ls_line,"^end * choose" ) Then li_line_tab_self = -2 li_line_tab_next = -2 //==================================================================== //==================================================================== // TRY...CATCH...FINALLY...END TRY // Added By Trueway Lee, 2005.10.30 //==================================================================== ElseIf Match(ls_line,"^try" ) Then li_line_tab_self = 0 li_line_tab_next = 1 ElseIf Match(ls_line,"^catch" ) Then li_line_tab_self = -1 li_line_tab_next = 0 ElseIf Match(ls_line,"^finally" ) Then li_line_tab_self = -1 li_line_tab_next = 0 ElseIf Match(ls_line,"^end * try" ) Then li_line_tab_self = -1 li_line_tab_next = -1 //==================================================================== //==================================================================== // DO...LOOP //==================================================================== ElseIf Match(ls_line,"^do.*" ) And ( Mid(Trim(ls_line), 3, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 3, 1) ) > 0 ) Then li_line_tab_self = 0 li_line_tab_next = 1 ElseIf Match(ls_line,"^loop" ) And ( Mid(Trim(ls_line), 5, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 5, 1) ) > 0 ) Then li_line_tab_self = -1 li_line_tab_next = -1 //==================================================================== ElseIf Match(ls_line,".* then.*" ) Then // multi-line if statement then beginning of "then" If (Right(ls_line, 4) = "then" ) Then // Muti-line if statement and have "end if" li_line_tab_self = 0 li_line_tab_next = 0 Else // Muti-line if statement and no "end if" asu_indent.IsMultiLineNoEndIf = True li_line_tab_self = 0 li_line_tab_next = 0 End If // Process SQL statement ElseIf of_Match_Sql(asu_indent, ls_line, li_line_tab_self, li_line_tab_next) <> 1 Then If Right(ls_line,1) = CONST_AMPERSAND Then // Right end with "&" char If asu_indent.isampersand Then // prior line is ampersand li_line_tab_self = 0 li_line_tab_next = 0 Else // First end with "&" char li_line_tab_self = 0 li_line_tab_next = 1 End If Else // There is no "&" end with right on the current line If asu_indent.isampersand Then li_line_tab_self = 0 li_line_tab_next = 0 asu_indent.IsAmpersandEnd = True Else li_line_tab_self = 0 li_line_tab_next = 0 End If End If End If label_end: asu_indent.isampersand = ( Right(ls_line,1) = CONST_AMPERSAND ) li_line_tab_self += li_seed2 li_line_tab_next += li_seed2 li_line_tab_self = li_line_tab_self + li_seed li_line_tab_this = li_line_tab_pre + li_line_tab_self // Current line tab count If li_line_tab_this < 0 Then li_line_tab_next = li_line_tab_next - li_line_tab_this li_line_tab_this = 0 End If asu_indent.tab_next = asu_indent.tab_next + li_line_tab_next + li_seed // Next line tab count asu_indent.tab_this = li_line_tab_this // Current line tab count end subroutine public function string of_remove_quote (string as_text);//==================================================================== // Function: nvo_pbformater.of_remove_quote() //-------------------------------------------------------------------- // Description: Remove script line string content, so that we can process line prefix function correctly. //-------------------------------------------------------------------- // Arguments: // string as_text //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_remove_quote ( string as_text ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Integer li_pos1, li_pos, li_posa, li_posb String lch1, ls_char li_posa = Pos(as_text, CONST_SINGLEQUOTE) li_posb = Pos(as_text, CONST_DOUBLEQUOTE) If li_posa > li_posb Then li_pos = li_posb Else li_pos = li_posa If li_pos < 1 Then li_pos = li_posb End If ls_char = Mid(as_text, li_pos, 1) Do While ( li_pos > 0 ) And ( ls_char <> "" ) li_pos1 = li_pos Do li_pos1 ++ If li_pos1 > Len(as_text) Then // some error exists // Return Return as_text End If lch1 = Mid(as_text,li_pos1,1) Loop Until ( (lch1 = ls_char) And & ( & ( Mid(as_text,li_pos1 - 1, 1 ) <> CONST_TILDE) Or & ( ( Mid(as_text,li_pos1 - 1, 1 ) = CONST_TILDE) And & ( Mid(as_text,li_pos1 - 2, 1 ) = CONST_TILDE) & ) & ) & ) as_text = Replace(as_text, li_pos + 1,li_pos1 - li_pos - 1 , "") li_posa = Pos(as_text, CONST_SINGLEQUOTE, li_pos + 2) li_posb = Pos(as_text, CONST_DOUBLEQUOTE, li_pos + 2) If li_posa > li_posb Then li_pos = li_posb Else li_pos = li_posa If li_pos < 1 Then li_pos = li_posb End If ls_char = Mid(as_text, li_pos, 1) Loop Return as_text end function public function integer of_match_sql (ref s_indent_info asu_indent, string as_line, ref integer ai_self, ref integer ai_next);//==================================================================== // Function: nvo_pbformater.of_match_sql() //-------------------------------------------------------------------- // Description: Determine whether the SQL statement //-------------------------------------------------------------------- // Arguments: // ref s_indent_info asu_indent // string as_line // ref integer ai_self // ref integer ai_next //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_match_sql ( ref s_indent_info asu_indent, string as_line, ref integer ai_self, ref integer ai_next ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== If Match(as_line,"^connect .*" ) Or Match(as_line,"^disconnect .*" ) Or & Match(as_line,"^commit .*" ) Or Match(as_line,"^rollback .*" ) Or & Match(as_line,"^select .*" ) Or Match(as_line,"^insert .*" ) Or & Match(as_line,"^update .*" ) Or Match(as_line,"^delete .*" ) Or & Match(as_line,"^declare .*" ) Or Match(as_line,"^fetch .*" ) Or & Match(as_line,"^execute .*" ) Or Match(as_line,"^prepare .*" ) Then If Pos(as_line,CONST_SEMICOLON) > 0 Then ai_self = 0 ai_next = 0 Else ai_self = 0 ai_next = 1 asu_Indent.IsSqlLine = True End If ElseIf Match(as_line,"^open .*" ) Then If Pos(as_line,"(") = 0 Then If Pos(as_line,CONST_SEMICOLON) > 0 Then ai_self = 0 ai_next = 0 Else ai_self = 0 ai_next = 1 asu_Indent.IsSqlLine = True End If Else ai_self = 0 ai_next = 0 End If ElseIf Match(as_line,"^close .*" ) Then If Pos(as_line,"(") = 0 Then If Pos(as_line,CONST_SEMICOLON) > 0 Then ai_self = 0 ai_next = 0 Else ai_self = 0 ai_next = 1 asu_Indent.IsSqlLine = True End If Else ai_self = 0 ai_next = 0 End If Else Return -1 End If Return 1 end function public function string of_file_indent (string as_source, string as_parsemode);//==================================================================== // Function: nvo_pbformater.of_file_indent() //-------------------------------------------------------------------- // Description: Indent main loop //-------------------------------------------------------------------- // Arguments: // string as_source // string as_parsemode //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_file_indent ( string as_source, string as_parsemode ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_source,ls_source_new,ls_line,ls_line_new String lch,ls_tag_end,ls_function Integer li_pos Integer li_line_tab_next,li_line_tab_this Boolean lb_ShouldParse,lb_IsEndTagComments Boolean lb_IsAmpersand,lb_IsChooseCase,lb_IsSql,lb_IsFunction ls_source = Trim(as_source) +CONST_CRLF lb_ShouldParse = False Do Yield() // Get Next Line li_pos = Pos(ls_source, CONST_CRLF) ls_line = Left(ls_source, li_pos - 1) ls_source = Mid(ls_source,li_pos + 2) // Judge Line If Match(ls_line,"^type prototypes") Then ls_source_new += ls_line + CONST_CRLF ls_tag_end = "^end prototypes" lb_ShouldParse = False Do Yield() // Get Next Line li_pos = Pos(ls_source, CONST_CRLF) ls_line = Left(ls_source, li_pos - 1) ls_source = Mid(ls_source,li_pos + 2) ls_source_new += ls_line + CONST_CRLF If Match(ls_line,ls_tag_end) Then Exit End If Loop Until (Len(ls_source) = 0) ElseIf Match(ls_line,"^forward prototypes") Then ls_source_new += ls_line + CONST_CRLF ls_tag_end = "^end prototypes" lb_ShouldParse = False Do Yield() // Get Next Line li_pos = Pos(ls_source, CONST_CRLF) ls_line = Left(ls_source, li_pos - 1 ) ls_source = Mid(ls_source,li_pos + 2) ls_source_new += ls_line + CONST_CRLF If Match(ls_line,ls_tag_end) Then Exit End If Loop Until (Len(ls_source) = 0) ElseIf Match(ls_line,"^global variables") Then // variables ls_source_new += ls_line + CONST_CRLF ls_tag_end = "^end variables" lb_ShouldParse = True ElseIf Match(ls_line,"^shared variables") Then // variables ls_source_new += ls_line + CONST_CRLF ls_tag_end = "^end variables" lb_ShouldParse = True ElseIf Match(ls_line,"^type variables") Then // variables ls_source_new += ls_line + CONST_CRLF ls_tag_end = "^end variables" lb_ShouldParse = True ElseIf Match(ls_line,"^on .*;.*") Then // pb event li_pos = Pos(ls_line,";") ls_source_new += Left(ls_line,li_pos) ls_source = Mid(ls_line,li_pos + 1)+CONST_CRLF + ls_source ls_tag_end = "^end on" lb_ShouldParse = True ElseIf Match(ls_line,"^event .*;.*") Then // event li_pos = Pos(ls_line,";") ls_source_new += Left(ls_line,li_pos) ls_source = Mid(ls_line,li_pos + 1)+CONST_CRLF + ls_source ls_tag_end = "^end event" lb_ShouldParse = True ElseIf(Match(ls_line,"^global function .*);.*") Or & Match(ls_line,"^public function .*);.*") Or & Match(ls_line,"^private function .*);.*") Or & Match(ls_line,"^protected function .*);.*")) Then // function li_pos = Pos(ls_line,";") ls_source_new += Left(ls_line,li_pos) ls_source = Mid(ls_line,li_pos + 1)+CONST_CRLF + ls_source ls_tag_end = "^end function" lb_ShouldParse = True ElseIf(Match(ls_line,"^global subroutine .*);.*") Or & Match(ls_line,"^public subroutine .*);.*") Or & Match(ls_line,"^private subroutine .*);.*") Or & Match(ls_line,"^protected subroutine .*);.*")) Then // subroutine li_pos = Pos(ls_line,";") ls_source_new += Left(ls_line,li_pos) ls_source = Mid(ls_line,li_pos + 1)+CONST_CRLF + ls_source ls_tag_end = "^end subroutine" lb_ShouldParse = True ElseIf Match(ls_line,"^Start of PowerBuilder Binary Data Section :.*") Then ls_source_new += ls_line + CONST_CRLF ls_source_new += ls_source ls_source = "" lb_ShouldParse = False Else // continue ls_source_new += ls_line + CONST_CRLF lb_ShouldParse = False End If If lb_ShouldParse Then ls_function = "" Do Yield() // Get Next Line li_pos = Pos(ls_source, CONST_CRLF) ls_line = Left(ls_source, li_pos - 1 ) If Not Match(ls_line,ls_tag_end) Then ls_function += ls_line + CONST_CRLF ls_source = Mid(ls_source,li_pos + 2) Else Exit End If Loop Until (Len(ls_source) = 0) // Process current sub indent ls_source_new += This.of_Indent(ls_function,as_parsemode) lb_ShouldParse = False End If Loop Until (Len(ls_source) = 0) Return ls_source_new end function public function string of_indent (string as_source, string as_alphatype);//==================================================================== // Function: nvo_pbformater.of_indent() //-------------------------------------------------------------------- // Description: Code beautification //-------------------------------------------------------------------- // Arguments: // string as_source // string as_alphatype [U|L|F|F] SQL + Statements + Reserved + Scripts + Other //-------------------------------------------------------------------- // Returns: string //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_indent ( string as_source, string as_alphatype ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_line1,lch1, ls_line Integer li_pos1,li_pos2,li_pos3 of_Indent_Reset(Indent_Info) // Reset indent info Indent_Info.Source = as_source + CONST_CRLF + CONST_SPACE + CONST_CRLF Indent_Info.Line = This.of_Remove_NoPrintable(This.of_Get_Next_Line(Indent_Info.Source)) Do If Indent_Info.Pos > Len(Indent_Info.Line) Then label_next_line: // next line Indent_Info.line_new = This.of_Remove_NoPrintable(Indent_Info.line_new) Indent_Info.Source_new += Indent_Info.pre_this + Indent_Info.line_new + CONST_CRLF Indent_Info.Pos = 1 Indent_Info.line_new = "" Indent_Info.Line = This.of_Remove_NoPrintable(This.of_Get_Next_Line(Indent_Info.Source)) End If Indent_Info.Char = Mid(Indent_Info.Line,Indent_Info.Pos,1) If Indent_Info.Pos = 1 Then // Get line prefix char string This.of_Get_Line_Prefix(Indent_Info) Indent_Info.pre_this = Fill(CONST_TAB,Indent_Info.tab_this) End If Choose Case Indent_Info.Char Case CONST_SINGLEQUOTE,CONST_DOUBLEQUOTE // Handling single quotes, double quotes' " If of_Indent_Quote(Indent_Info ) <> 1 Then Goto label_next_line // Error to next line process End If Case CONST_SLASHLEFT //Processing comments // /**/ If of_Indent_Slash(Indent_Info ) <> 1 Then Goto label_next_line // Error to next line process End If Case CONST_SEMICOLON // Handle semicolon ; If of_Indent_Semicolon(Indent_Info ) <> 1 Then Goto label_next_line // Error to next line process End If Case Else // Other as script code If This.of_IsIdentifiers_First(Indent_Info.Char) Then // Power script Words involved in the language of_Indent_Code(as_alphatype, Indent_Info ) Else // Expression word, string of_Indent_Expression(Indent_Info, ls_line1) Indent_Info.line_new += ls_line1 Indent_Info.Pos ++ End If End Choose Loop Until (Len(Indent_Info.Source) = 0) Return Indent_Info.Source_new end function public function integer of_checkstatement (string as_line);//==================================================================== // Function: nvo_pbformater.of_checkstatement() //-------------------------------------------------------------------- // Description: //-------------------------------------------------------------------- // Arguments: // string as_line //-------------------------------------------------------------------- // Returns: integer //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_checkstatement ( string as_line ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== String ls_line ls_line = Lower( as_line) //sqlline If Right(ls_line,1) = CONST_SEMICOLON Then Return 1 End If //==================================================================== // IF...THEN...ELSE...END IF //==================================================================== If Match(ls_line,"^if .* then .* else .*" ) Then Return 1 ElseIf Match(ls_line,"^if .* then" ) Then If Right(ls_line,4) = "then" Then Return 1 Else Return 1 End If ElseIf Match(ls_line,"^elseif .* then" ) Then Return 1 ElseIf Match(ls_line,"^else" ) And ( Mid(Trim(ls_line), 5, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 5, 1) ) > 0 ) Then Return 1 ElseIf Match(ls_line,"^end if" ) Then Return 1 //==================================================================== // FOR...NEXT //==================================================================== ElseIf Match(ls_line,"^for .* to .*" ) Then Return 1 ElseIf Match(ls_line,"^next" ) And ( Mid(Trim(ls_line), 5, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 5, 1) ) > 0 ) Then Return 1 //==================================================================== // CHOOSE...CASE...END CHOOSE //==================================================================== ElseIf Match(ls_line,"^choose * case .*" ) Then Return 1 ElseIf Match(ls_line,"^case .*" ) Then Return 1 ElseIf Match(ls_line,"^end * choose" ) Then Return 1 //==================================================================== // TRY...CATCH...FINALLY...END TRY // Added By Trueway Lee, 2005.10.30 //==================================================================== ElseIf Match(ls_line,"^try" ) Then Return 1 ElseIf Match(ls_line,"^catch" ) Then Return 1 ElseIf Match(ls_line,"^finally" ) Then Return 1 ElseIf Match(ls_line,"^end * try" ) Then Return 1 //==================================================================== // DO...LOOP //==================================================================== ElseIf Match(ls_line,"^do.*" ) And ( Mid(Trim(ls_line), 3, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 3, 1) ) > 0 ) Then Return 1 ElseIf Match(ls_line,"^loop" ) And ( Mid(Trim(ls_line), 5, 1 ) = "" Or Pos(" ~t/", Mid(Trim(ls_line), 5, 1) ) > 0 ) Then Return 1 ElseIf Match(ls_line,".* then.*" ) Then // multi-line if statement then beginning of "then" Return 1 // // Process SQL statement //ElseIf of_Match_Sql(asu_indent, ls_line, li_line_tab_self, li_line_tab_next) <> 1 Then // If Right(ls_line,1) = CONST_AMPERSAND Then // Return 1 // Else // Return 1 // End If End If Return 0 end function public function long of_lastpos (string as_source, string as_target, long al_start);//==================================================================== // Function: nvo_pbformater.of_lastpos() //-------------------------------------------------------------------- // Description: Search backwards through a string to find the last occurrence of another string. //-------------------------------------------------------------------- // Arguments: // value string as_source The string being searched. // value string as_target The being searched for. // value long al_start The starting position, 0 means start at the end. //-------------------------------------------------------------------- // Returns: long The position of as_Target. If as_Target is not found, function returns a 0. If any argument's value is NULL, function returns NULL. //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_lastpos ( string as_source, string as_target, long al_start ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== Long ll_Cnt, ll_Pos //Check for Null Parameters. If IsNull(as_source) Or IsNull(as_target) Or IsNull(al_start) Then SetNull(ll_Cnt) Return ll_Cnt End If //Check for an empty string If Len(as_source) = 0 Then Return 0 End If // Check for the starting position, 0 means start at the end. If al_start = 0 Then al_start = Len(as_source) End If //Perform find For ll_Cnt = al_start To 1 Step -1 ll_Pos = Pos(as_source, as_target, ll_Cnt) If ll_Pos = ll_Cnt Then //String was found Return ll_Cnt End If Next //String was not found Return 0 end function public function long of_lastpos (string as_source, string as_target);//==================================================================== // Function: nvo_pbformater.of_lastpos() //-------------------------------------------------------------------- // Description: Search backwards through a string to find the last occurrence of another string //-------------------------------------------------------------------- // Arguments: // value string as_source The string being searched. // value string as_target The string being searched for. //-------------------------------------------------------------------- // Returns: long The position of as_Target. If as_Target is not found, function returns a 0. If any argument's value is NULL, function returns NULL. //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.of_lastpos ( string as_source, string as_target ) //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== //Check for Null Parameters. If IsNull(as_source) Or IsNull(as_target) Then Long ll_null SetNull(ll_null) Return ll_null End If //Set the starting position and perform the search Return of_LastPos (as_source, as_target, Len(as_source)) end function on nvo_pbformatter.create call super::create TriggerEvent( this, "constructor" ) end on on nvo_pbformatter.destroy TriggerEvent( this, "destructor" ) call super::destroy end on event constructor;//==================================================================== // Event: nvo_pbformater.constructor() //-------------------------------------------------------------------- // Description: PB all kinds of sentences, function lexicon //-------------------------------------------------------------------- // Arguments: //-------------------------------------------------------------------- // Returns: long //-------------------------------------------------------------------- // Author: PB.BaoGa Date: 2021/11/03 //-------------------------------------------------------------------- // Usage: nvo_pbformater.constructor for nvo_pbformater //-------------------------------------------------------------------- // Copyright (c) PB.BaoGa(TM), All rights reserved. //-------------------------------------------------------------------- // Modify History: // //==================================================================== PB_ReservedWord =",Call,Case,Choose,Continue,Do,Loop,Exit,For,Next,Goto,Halt,If,Then,Else,ElseIf,End," PB_ReservedWord +="Until,While,Return,Try,Catch,Finally,,Alias,And,AutoInstantiate,Close,Commit,Connect,Constant," PB_ReservedWord +="Create,Cursor,Declare,Delete,Describe,Descriptor,Destroy,Disconnect," PB_ReservedWord +="Dynamic,Enumerated,Event,Execute,External,False," PB_ReservedWord +="Fetch,First,Forward,From,Function,Global," PB_ReservedWord +="Immediate,Indirect,Insert,Into,Intrinsic,Is,Last,Library," PB_ReservedWord +="Not,Of,On,Open,Or,Parent,Post,Prepare,Prior,Private,PrivateRead,PrivateWrite," PB_ReservedWord +="Procedure,Protected,ProtectedRead,ProtectedWrite,Prototypes,Public,Readonly,Ref," PB_ReservedWord +="Rollback,Rpcfunc,Select,SelectBlob,Shared,Static,Step,Subroutine,Super," PB_ReservedWord +="System,SystemRead,SystemWrite,This,To,Trigger,True,Type,Update," PB_ReservedWord +="UpdateBlob,Using,Variables,With,Whith,_Debug," PB_SqlWord =",Connect,Disconnect,Commit,Rollback,Select,Insert,Update,Delete,Declare,Open," PB_SqlWord +="Fetch,Close,Execute,Prepare,,Create,Alter,Table,Procedure,Proc," PB_SqlWord +="Trigger,View,Index,Null,Not,Identity,Into,Using,Cursor,For," PB_SqlWord +="Immediate,Dynamic,All,From,Where,Group,By,Having,Order,Asc," PB_SqlWord +="Desc,Between,In,Like,And,Or,Union,Inner,Outer,Cross,Exists,Set," PB_SqlWord +="Where,Values,Begin,End,Transaction,Tran,Exec," PB_ScriptWord = ",Blob,Integer,Int,Boolean,Long,Char,Character,Real,Date,String,DateTime,Time,Decimal,Dec,UnsignedInteger," PB_ScriptWord += ",UnsignedInt,UInt,Double,UnsignedLong,ULong,Any," PB_ScriptWord += ",Clicked,Constructor,Destructor,DragDrop,DragEnter,DragLeave,DragWithin,GetFocus,LoseFocus,Other," PB_ScriptWord += ",RButtonDown,DBError,DoubleClicked,EditChanged,Error,ItemChanged,ItemError,ItemFocusChanged,PrintEnd,PrintPage," PB_ScriptWord += ",PrintStart,Resize,RetrieveEnd,RetrieveRow,RetrieveStart,RowFocusChanged,ScrollHorizontal,ScrollVertical,SQLPreview,UpdateEnd," PB_ScriptWord += ",UpdateStart,Modified,SelectionChanged,LineLeft,LineRight,Moved,PageLeft,PageRight,BeginDrag,BeginLabelEdit," PB_ScriptWord += ",BeginRightDrag,ColumnClick,DeleteAllItems,DeleteItem,EndLabelEdit,InsertItem,ItemChanging,Key,RightClicked,RightDoubleClicked," PB_ScriptWord += ",Sort,Close,DataChange,ExternalException,PropertyChanged,PropertyRequestEdit,Rename,Save,ViewChange,FileExists," PB_ScriptWord += ",InputFieldSelected,MouseDown,MouseMove,MouseUp,PictureSelected,PrintFooter,PrintHeader,RButtonUp,SelectionChanging,ItemCollapsed," PB_ScriptWord += ",ItemCollapsing,ItemExpanded,ItemExpanding,ItemPopulate,LineDown,LineUp,PageDown,PageUp,ConnectionBegin,ConnectionEnd," PB_ScriptWord += ",Idle,Open,SystemError,Selected,PipeEnd,PipeMeter,PipeStart,Timer,Activate,CloseQuery," PB_ScriptWord += ",Deactivate,Hide,HotLinkAlarm,RemoteExec,RemoteHotLinkStart,RemoteHotLinkStop,RemoteRequest,RemoteSend,Show,SystemKey," PB_ScriptWord += ",ToolbarMoved,ClassName,Drag,GetContextService,GetParent,Move,PointerX,PointerY,PostEvent,Print," PB_ScriptWord += ",SetFocus,SetPosition,SetRedraw,TriggerEvent,TypeOf,AcceptText,CanUndo,CategoryCount,CategoryName,Clear," PB_ScriptWord += ",ClearValues,Clipboard,Copy,CopyRTF,Create,CrosstabDialog,Cut,DataCount,DBCancel,DBErrorCode," PB_ScriptWord += ",DBErrorMessage,DeletedCount,DeleteRow,Describe,Filter,FilteredCount,Find,FindCategory,FindGroupChange,FindNext," PB_ScriptWord += ",FindRequired,FindSeries,GenerateHTMLForm,GetBandAtPointer,GetBorderStyle,GetChanges,GetChild,GetClickedColumn,GetClickedRow,GetColumn," PB_ScriptWord += ",GetColumnName,GetData,GetDataPieExplode,GetDataStyle,GetDataValue,GetFormat,GetFullState,GetItemDate,GetItemDateTime,GetItemDecimal," PB_ScriptWord += ",GetItemNumber,GetItemStatus,GetItemString,GetItemTime,GetMessageText,GetNextModified,GetObjectAtPointer,GetRow,GetSelectedRow,GetSeriesStyle," PB_ScriptWord += ",GetSQLPreview,GetSQLSelect,GetStateStatus,GetText,GetTrans,GetUpdateStatus,GetValidate,GetValue,GroupCalc,ImportClipboard," PB_ScriptWord += ",ImportFile,ImportString,InsertDocument,InsertRow,IsSelected,LineCount,ModifiedCount,Modify,ObjectAtPointer,OLEActivate," PB_ScriptWord += ",Paste,PasteRTF,Position,PrintCancel,ReplaceText,ReselectRow,Reset,ResetDataColors,ResetTransObject,ResetUpdate," PB_ScriptWord += ",Retrieve,RowCount,RowsCopy,RowsDiscard,RowsMove,SaveAs,SaveAsAscii,Scroll,ScrollNextPage,ScrollNextRow," PB_ScriptWord += ",ScrollPriorPage,ScrollPriorRow,ScrollToRow,SelectedLength,SelectedLine,SelectedStart,SelectedText,SelectRow,SelectText,SelectTextAll," PB_ScriptWord += ",SelectTextLine,SelectTextWord,SeriesCount,SeriesName,SetActionCode,SetBorderStyle,SetChanges,SetColumn,SetDataPieExplode,SetDataStyle," PB_ScriptWord += ",SetDetailHeight,SetFilter,SetFormat,SetFullState,SetItem,SetItemStatus,SetRow,SetRowFocusIndicator,SetSeriesStyle,SetSort," PB_ScriptWord += ",SetSQLPreview,SetSQLSelect,SetTabOrder,SetText,SetTrans,SetTransObject,SetValidate,SetValue,ShareData,ShareDataOff," PB_ScriptWord += ",ShowHeadFoot,TextLine,Undo,Update,AddItem,DirList,DirSelect,FindItem,SelectItem,Text," PB_ScriptWord += ",TotalItems,AddPicture,DeletePicture,DeletePictures,LineLength,SetMask,AddCategory,AddData,AddSeries,DeleteCategory," PB_ScriptWord += ",DeleteData,DeleteSeries,InsertCategory,InsertData,InsertSeries,ModifyData,SelectedIndex,SelectedItem,SetState,SetTop," PB_ScriptWord += ",State,Top,TotalSelected,AddColumn,AddLargePicture,AddSmallPicture,AddstatePicture,Arrange,DeleteColumn,DeleteColumns," PB_ScriptWord += ",DeleteItems,DeleteLargePicture,DeleteLargePictures,DeleteSmallPicture,DeleteSmallPictures,DeleteStatePicture,DeleteStatePictures,EditLabel,GetItem,GetOrigin," PB_ScriptWord += ",InsertColumn,SetOverlayPicture,TotalColumns,DoVerb,GetNativePointer,InsertClass,InsertFile,InsertObject,LinkTo,PasteLink," PB_ScriptWord += ",PasteSpecial,ReleaseNativePointer,SelectObject,SetData,UpdateLinksDialog,SetAutomationLocale,Draw,SetPicture,DataSource,GetAlignment," PB_ScriptWord += ",GetParagraphSetting,GetSpacing,GetTextColor,GetTextStyle,InputFieldChangeData,InputFieldCurrentName,InputFieldDeleteCurrent,InputFieldGetData,InputFieldInsert,InputFieldLocate," PB_ScriptWord += ",InsertPicture,IsPreview,PageCount,Preview,SaveDocument,SelectedColumn,SelectedPage,SetAlignment,SetParagraphSetting,SetSpacing," PB_ScriptWord += ",SetTextColor,SetTextStyle,CloseTab,MoveTab,OpenTab,OpenTabWithParm,SelectTab,TabPostEvent,TabTriggerEvent,AddStatePicture," PB_ScriptWord += ",CollapseItem,ExpandAll,ExpandItem,InsertItemFirst,InsertItemLast,InsertItemSort,SetDropHighlight,SetFirstVisible,SetLevelPictures,SortAll," PB_ScriptWord += ",EventParmDouble,EventParmString,SetLibraryList,SetTransPool,FindMatchingFunction,ConnectToServer,CreateInstance,DisconnectServer,GetServerInfo,RemoteStopConnection," PB_ScriptWord += ",RemoteStopListening,GetCompanyName,GetFixesVersion,GetHostObject,GetMajorVersion,GetMinorVersion,GetName,GetShortName,GetVersionName,GetContextKeywords," PB_ScriptWord += ",GetDynamicDate,GetDynamicDateTime,GetDynamicNumber,GetDynamicString,GetDynamicTime,SetDynamicParm,GetURL,HyperLinkToURL,PostURL,InternetData," PB_ScriptWord += ",Classname,mailAddress,mailDeleteMessage,mailGetMessages,mailHandle,mailLogoff,mailLogon,mailReadMessage,mailRecipientDetails,mailResolveRecipient," PB_ScriptWord += ",mailSaveMessage,mailSend,Check,Disable,Enable,PopMenu,Uncheck,ConnectToNewObject,ConnectToNewRemoteObject,ConnectToObject," PB_ScriptWord += ",ConnectToRemoteObject,DisconnectObject,Pointer,NativePointer,SetAutomationPointer,SetAutomationTimeout,MemberDelete,MemberExists,MemberRename,Length," PB_ScriptWord += ",Read,Seek,Write,Cancel,Repair,Start,RoutineList,OutGoingCallList,IncomingCallList,LineList," PB_ScriptWord += ",OutgoingCallList,BuildModel,ClassList,DestroyModel,SetTraceFileName,SystemRoutine,NextActivity,EntryList,GetChildrenList,Stop," PB_ScriptWord += ",DBHandle,SyntaxFromSQL,Listen,StopListening,ArrangeSheets,ChangeMenu,CloseUserObject,GetActiveSheet,GetFirstSheet,GetNextSheet," PB_ScriptWord += ",GetToolbar,GetToolbarPos,OpenUserObject,OpenUserObjectWithParm,ParentWindow,SetMicroHelp,SetToolbar,SetToolbarPosition,WorkSpaceHeight,WorkSpaceWidth," PB_ScriptWord += ",WorkSpaceX,WorkSpaceY,LowerBound,UpperBound,Blob,BlobEdit,BlobMid,Len,String,Asc," PB_ScriptWord += ",Char,Dec,Double,Integer,Long,Real,Date,DateTime,IsDate,IsNull," PB_ScriptWord += ",IsNumber,IsTime,Time,Day,DayName,DayNumber,DaysAfter,Hour,Minute,Month," PB_ScriptWord += ",Now,RelativeDate,RelativeTime,Second,Today,Year,CloseChannel,ExecRemote,GetDataDDE,GetDataDDEOrigin," PB_ScriptWord += ",GetRemote,OpenChannel,RespondRemote,SetRemote,StartHotLink,StopHotLink,GetCommandDDE,GetCommandDDEOrigin,SetDataDDE,StartServerDDE," PB_ScriptWord += ",StopServerDDE,FileClose,FileDelete,FileLength,FileOpen,FileRead,FileSeek,FileWrite,GetFileOpenName,GetFileSaveName," PB_ScriptWord += ",IsAllArabic,IsAllHebrew,IsAnyArabic,IsAnyHebrew,IsArabic,IsArabicAndNumbers,IsHebrew,IsHebrewAndNumbers,Reverse,ToAnsi," PB_ScriptWord += ",ToUnicode,LibraryCreate,LibraryDelete,LibraryDirectory,LibraryExport,LibraryImport,Beep,DebugBreak,DraggedObject,IntHigh," PB_ScriptWord += ",IntLow,IsValid,KeyDown,MessageBox,PixelsToUnits,PopulateError,RGB,SetNull,SetPointer,SignalError," PB_ScriptWord += ",UnitsToPixels,Abs,Ceiling,Cos,Exp,Fact,Int,Log,LogTen,Max," PB_ScriptWord += ",Min,Mod,Pi,Rand,Randomize,Round,Sign,Sin,Sqrt,Tan," PB_ScriptWord += ",Truncate,PrintBitmap,PrintClose,PrintDataWindow,PrintDefineFont,PrintLine,PrintOpen,PrintOval,PrintRect,PrintRoundRect," PB_ScriptWord += ",PrintScreen,PrintSend,PrintSetFont,PrintSetSpacing,PrintSetup,PrintText,PrintWidth,PrintX,PrintY,RegistryDelete," PB_ScriptWord += ",RegistryGet,RegistryKeys,RegistrySet,RegistryValues,Fill,Left,LeftTrim,Lower,Match,Mid," PB_ScriptWord += ",Pos,Replace,Right,RightTrim,Space,Trim,Upper,CommandParm,DoScript,GetApplication," PB_ScriptWord += ",GetEnvironment,Post,ProfileInt,ProfileString,Restart,Run,Send,SetProfileString,ShowHelp,Yield," PB_ScriptWord += ",CPU,CloseWithReturn,OpenSheet,OpenSheetWithParm,OpenWithParm,Automatic,BackColor,BorderStyle,BringToTop,Checked," PB_ScriptWord += ",DragAuto,DragIcon,Enabled,FaceName,FontCharSet,FontFamily,FontPitch,Height,Italic,LeftText," PB_ScriptWord += ",RightToLeft,TabOrder,Tag,TextColor,TextSize,ThirdState,ThreeState,Underline,Visible,Weight," PB_ScriptWord += ",Width,X,Y,Default,Border,ControlMenu,DataObject,HScrollBar,HSplitScroll,Icon," PB_ScriptWord += ",LiveScroll,MaxBox,MinBox,Object,Resizable,Title,TitleBar,VScrollBar,Accelerator,AllowEdit," PB_ScriptWord += ",AutoHScroll,Item,Limit,ShowList,Sorted,ItemPictureIndex,PictureHeight,PictureWidth,PictureMaskColor,PictureName," PB_ScriptWord += ",Alignment,AutoSkip,AutoVScroll,DisplayData,DisplayOnly,HideSelection,IgnoreDefaultButton,Increment,Mask,MaskDataType," PB_ScriptWord += ",MinMax,Spin,TabStop,TextCase,UnderLine,UseCodeTable,Category,CategorySort,Depth,Elevation," PB_ScriptWord += ",FocusRectangle,GraphType,Legend,LegendDispAttr,OverlapPercent,Perspective,PieDispAttr,Rotation,Series,SeriesSort," PB_ScriptWord += ",ShadeColor,Spacing,TitleDispAttr,Values,MaxPosition,MinPosition,StdHeight,BeginX,BeginY,EndX," PB_ScriptWord += ",EndY,LineColor,LineStyle,LineThickness,DisableNoScroll,ExtendedSelect,MultiSelect,AutoArrange,ButtonHeader,EditLabels," PB_ScriptWord += ",FixedLocations,LabelWrap,LargePictureHeight,LargePictureMaskColor,LargePictureName,LargePictureWidth,Scrolling,ShowHeader,SmallPictureHeight,SmallPictureMaskColor," PB_ScriptWord += ",SmallPictureName,SmallPictureWidth,SortType,StatePictureHeight,StatePictureMaskColor,StatePictureName,StatePictureWidth,View,Activation,ClassLongName," PB_ScriptWord += ",ClassShortName,ContentsAllowed,DisplayName,DisplayType,DocFileName,IsDragTarget,LinkItem,LinkUpdateOptions,ObjectData,ParentStorage," PB_ScriptWord += ",FillColor,FillPattern,Invert,OriginalSize,PictureName,HTextAlign,DisabledName,VTextAlign,BottomMargin,DocumentName," PB_ScriptWord += ",HeaderFooter,InputFieldBackColor,InputFieldNamesVisible,InputFieldsVisible,LeftMargin,PicturesAsFrame,ReturnsVisible,RightMargin,RulerBar,SpacesVisible," PB_ScriptWord += ",TabBar,TabsVisible,ToolBar,TopMargin,UndoDepth,WordWrap,CornerHeight,CornerWidth,Password,BorderColor," PB_ScriptWord += ",BoldSelectedText,CreateOnDemand,Control,FixedWidth,FocusOnButtonDown,Multiline,PerpendicularText,PictureOnRight,PowerTips,RaggedRight," PB_ScriptWord += ",SelectedTab,ShowPicture,ShowText,TabPosition,DisableDragDrop,HasButtons,HasLines,Indent,LinesAtRoot,Color," PB_ScriptWord += ",StatePictureName,ColumnsPerPage,LibraryName,LinesPerPage,ObjectType,PowerTipText,Style,TabBackColor,TabTextColor,UnitsPerColumn," PB_ScriptWord += ",UnitsPerLine,StdWidth,AppName,DDETimeOut,DWMessageTitle,MicroHelpDefault,ToolbarFrameTitle,ToolbarPopMenuText,ToolbarSheetTitle,ToolbarText," PB_ScriptWord += ",ToolbarTips,ToolbarUserControl,ClassDefinition,Ancestor,DataTypeOf,IsAutoinstantiate,IsStructure,IsSystemType,IsVariableLength,IsVisualType," PB_ScriptWord += ",Name,NestedClassList,ParentClass,ScriptList,VariableList,Application,ConnectString,Driver,ErrCode,ErrText," PB_ScriptWord += ",Location,Options,Trace,UserID,Busy,CallCount,ClientID,ConnectTime,ConnectUserID,LastCallTime," PB_ScriptWord += ",NumInputs,NumOutputs,InParmType,OutParmType,Enumeration,Value,CPUType,MachineCode,OSFixesRevision,OSMajorRevision," PB_ScriptWord += ",OSMinorRevision,PBFixesRevision,PBMajorRevision,PBMinorRevision,NumberOfColors,ScreenHeight,ScreenWidth,OSType,PBType,Win16," PB_ScriptWord += ",Line,Number,ObjectEvent,WindowMenu,AutoScale,DataType,DisplayAttr,DisplayEveryNLabels,DropLines,Frame," PB_ScriptWord += ",Label,LabelDispAttr,MajorDivisions,MajorGridLine,MajorTic,MaximumValue,MaxValDateTime,MinimumValue,MinorDivisions,MinorGridLine," PB_ScriptWord += ",MinorTic,MinValDateTime,OriginLine,PrimaryLine,RoundTo,RoundToUnitTo,ScaleType,ScaleValue,SecondaryLine,ShadeBackEdge," PB_ScriptWord += ",AutoSize,DisplayExpression,Escapement,Format,lassDefinition,CutHighlighted,Data,DropHighlighted,HasFocus,ItemX," PB_ScriptWord += ",ItemY,OverlayPictureIndex,PictureIndex,StatePictureIndex,FileType,Filename,Pathname,AttachmentFile,ConversationID,DateReceived," PB_ScriptWord += ",MessageSent,MessageType,NoteText,ReceiptRequested,Recipient,Subject,Unread,Address,EntryID,RecipientType," PB_ScriptWord += ",MessageID,SessionID,MicroHelpHeight,MenuItemType,MergeOption,MicroHelp,ShiftToRight,Shortcut,ToolbarItemDown,ToolbarItemDownName," PB_ScriptWord += ",ToolbarItemBarIndex,ToolbarItemName,ToolbarItemOrder,ToolbarItemSpace,ToolbarItemText,ToolbarItemVisible,Columns,CurrentItem,DropDown,Handle," PB_ScriptWord += ",WordParm,LongParm,DoubleParm,StringParm,PowerObjectParm,Processed,ReturnValue,Storage,RowsInError,RowsRead," PB_ScriptWord += ",RowsWritten,Syntax,AbsoluteSelfTime,AbsoluteTotalTime,CalledRoutine,CallingLine,CallingRoutine,HitCount,PercentCalleeSelfTime,PercentCalleeTotalTime," PB_ScriptWord += ",PercentCallerTotalTime,LineNumber,MaxSelfTime,MaxTotalTime,MinSelfTime,MinTotalTime,PercentSelfTime,PercentTotalTime,Routine,Class," PB_ScriptWord += ",Kind,ApplicationName,CollectionTime,NumberOfActivities,TraceFileName,Access,AliasName,ArgumentList,EventId,EventIdName," PB_ScriptWord += ",ExternalUserFunction,IsExternalEvent,IsLocallyDefined,IsLocallyScripted,IsRPCFunction,IsScripted,LocalVariableList,ReturnType,Source,SystemFunction," PB_ScriptWord += ",ActivityType,TimerValue,Message,Severity,ActivityNode,LastError,FileName,IsCreate,ObjectID,IsEvent," PB_ScriptWord += ",ParentNode,EnterTimerValue,ExitTimerValue,Argument,Interval,Running,AutoCommit,Database,DBMS,DBParm," PB_ScriptWord += ",DBPass,Lock,LogID,LogPass,ServerName,SQLCode,SQLDBCode,SQLErrText,SQLNRows,SQLReturnData," PB_ScriptWord += ",TimeOut,Bold,Children,CutHighLighted,DropHighLighted,Expanded,ExpandedOnce,ItemHandle,Level,SelectedPictureIndex," PB_ScriptWord += ",ArrayDefinition,Cardinality,CallingConvention,InitialValue,IsConstant,IsControl,IsUserDefined,OverridesAncestorValue,ReadAccess,TypeInfo," PB_ScriptWord += ",WriteAccess,KeyboardIcon,MenuID,MenuName,ToolbarAlignment,ToolbarHeight,ToolbarVisible,ToolbarWidth,ToolbarX,ToolbarY," PB_ScriptWord += ",WindowState,WindowType," end event |
example
w_main from window
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
forward global type w_main from window end type type dw_indent from datawindow within w_main end type type cb_pbformatter from commandbutton within w_main end type type uo_pbscript from uo_scilexer within w_main end type end forward global type w_main from window integer width = 2263 integer height = 2636 boolean titlebar = true string title = "PB Formatter" boolean controlmenu = true boolean minbox = true boolean maxbox = true boolean resizable = true long backcolor = 67108864 string icon = "AppIcon!" boolean center = true dw_indent dw_indent cb_pbformatter cb_pbformatter uo_pbscript uo_pbscript end type global w_main w_main on w_main.create this.dw_indent=create dw_indent this.cb_pbformatter=create cb_pbformatter this.uo_pbscript=create uo_pbscript this.Control[]={this.dw_indent,& this.cb_pbformatter,& this.uo_pbscript} end on on w_main.destroy destroy(this.dw_indent) destroy(this.cb_pbformatter) destroy(this.uo_pbscript) end on event resize;dw_indent.Move(5,5) uo_pbscript.Move(5,dw_indent.y + dw_indent.height + 5) uo_pbscript.Resize( newwidth - 10, newheight - 10 - uo_pbscript.y - 5) end event type dw_indent from datawindow within w_main integer width = 1682 integer height = 1184 integer taborder = 20 string title = "none" string dataobject = "d_indent" boolean livescroll = true borderstyle borderstyle = stylelowered! end type type cb_pbformatter from commandbutton within w_main integer x = 1719 integer y = 32 integer width = 402 integer height = 112 integer taborder = 20 integer textsize = -10 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Tahoma" string text = "PB Formatter" end type event clicked;String ls_pbscript, ls_indentformat, ls_value Int li_idx, li_item nvo_pbformatter lnvo_pb //[U|L|F|F] SQL + Statements + Reserved + Scripts + Other ls_indentformat = Space(5) For li_idx = 1 To dw_indent.RowCount() li_item = dw_indent.GetItemNumber(li_idx,"id") ls_value = dw_indent.GetItemString(li_idx,"value") ls_indentformat = Replace(ls_indentformat,li_item,1,ls_value) Next ls_pbscript = uo_pbscript.of_gettext() If IsNull(ls_pbscript) Or Len(Trim(ls_pbscript)) = 0 Then Return ls_pbscript = lnvo_pb.of_indent(ls_pbscript,ls_indentformat) If ls_pbscript <> "" And Not IsNull(ls_pbscript) Then uo_pbscript.of_settext(ls_pbscript) End If end event type uo_pbscript from uo_scilexer within w_main integer y = 1280 integer width = 2011 integer height = 1120 integer taborder = 10 end type event constructor;call super::constructor;uo_pbscript.of_SetFont("System") uo_pbscript.of_setfontsize( 12) uo_pbscript.of_SetEncoding(EncodingUTF8!) uo_pbscript.of_set_powerbuilder( ) end event |
datawindow d_indent
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 |
release 10.5; datawindow(units=0 timer_interval=0 color=81324524 processing=0 HTMLDW=no print.printername="" print.documentname="" print.orientation = 0 print.margin.left = 110 print.margin.right = 110 print.margin.top = 96 print.margin.bottom = 96 print.paper.source = 0 print.paper.size = 0 print.canusedefaultprinter=yes print.prompt=no print.buttons=no print.preview.buttons=no print.cliptext=no print.overrideprintjob=no print.collate=yes print.preview.outline=yes hidegrayline=no ) header(height=0 color="536870912" ) summary(height=0 color="536870912" ) footer(height=0 color="536870912" ) detail(height=224 color="536870912" ) table(column=(type=long updatewhereclause=yes name=id dbname="id" ) column=(type=char(32) updatewhereclause=yes name=name dbname="name" ) column=(type=char(1) updatewhereclause=yes name=value dbname="value" values="UpperCase U/LowerCase L/UpperFirst F/Keep K/" ) ) data( 1,"SQL","F", 2,"Statements","F", 3,"Reserved","F", 4,"PB Function","F", 5,"Other","K",) column(band=detail id=2 alignment="0" tabsequence=32766 border="0" color="0" x="27" y="64" height="76" width="590" format="[general]" html.valueishtml="0" name=name visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=detail x1="635" y1="0" x2="635" y2="204" name=l_1 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="2" background.color="16777215" ) column(band=detail id=3 alignment="0" tabsequence=10 border="0" color="0" x="658" y="28" height="164" width="992" format="[general]" html.valueishtml="0" name=value visible="1" radiobuttons.columns=2 radiobuttons.scale=no radiobuttons.threed=yes font.face="Arial" font.height="-10" font.weight="400" font.family="2" font.pitch="2" font.charset="0" background.mode="1" background.color="536870912" ) line(band=detail x1="0" y1="212" x2="1678" y2="212" name=l_2 visible="1" pen.style="0" pen.width="5" pen.color="0" background.mode="1" background.color="536870912" ) htmltable(border="1" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" pagingmethod=0 generatedddwframes="1" ) xhtmlgen() cssgen(sessionspecific="0" ) xmlgen(inline="0" ) xsltgen() jsgen() export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) import.xml() export.pdf(method=0 distill.custompostscript="0" xslfop.print="0" ) export.xhtml() |
uo_scilexer from userobject
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 |
forward global type uo_scilexer from userobject end type type scnotification from structure within uo_scilexer end type end forward type scnotification from structure long hwndfrom long idfrom long code long position long ch long modifiers long modificationtype long text long length long linesadded long message unsignedlong wparam long lparam long line long foldlevelnow long foldlevelprev long margin long listtype long x long y long token long annotationlinesadded long updated long listcompletionmethod end type global type uo_scilexer from userobject integer width = 1335 integer height = 924 boolean border = true userobjects objecttype = externalvisual! long backcolor = 67108864 string classname = "Scintilla" string libraryname = "SciLexer.dll" borderstyle borderstyle = stylelowered! event resize pbm_size event losefocus pbm_enkillfocus event getfocus pbm_ensetfocus event scn_marginclick ( long modifiers, long position, long margin ) event scn_updateui ( ) event editchanged pbm_enchange event scn_savepoint ( boolean reached ) event wm_notify pbm_notify event scn_userlistselection ( unsignedlong listtype, string selectedtext, long startposition, character ch, long listcompletionmethod ) event scn_autocselection ( long startposition, string selectedtext, character ch, long listcompletionmethod ) event scn_autoccancelled ( ) event scn_dwellstart ( long position, long xpos, long ypos ) event scn_dwellend ( long position, long xpos, long ypos ) event scn_modifyattemptro ( ) event scn_zoom ( ) event scn_doubleclick ( long position, long line ) event scn_macrorecord ( long msg, unsignedlong wparam, long lparam ) event scn_calltipclick ( long position ) event scn_hotspotclick ( long position, long modifiers ) event scn_hotspotdoubleclick ( long position, long modifiers ) event scn_indicatorclick ( long position, long modifiers ) event scn_indicatorrelease ( long position, long modifiers ) event scn_focusin ( ) event scn_focusout ( ) event scn_autocchardeleted ( ) event scn_charadded ( character ch ) event scn_hotspotreleaseclick ( long position, long modifiers ) event scn_painted ( ) event scn_needshown ( long position, long length ) event scn_styleneeded ( long linestart, long position ) event scn_modified ( scnotification scn ) event wm_char pbm_char event scn_autoccompleted ( long startposition, string selectedtext, character ch, long listcompletionmethod ) event scn_marginrightclick ( long modifiers, long position, long margin ) end type global uo_scilexer uo_scilexer type prototypes Function long GetSysColor ( & long nIndex & ) Library "user32.dll" Function long SciSend ( & long hSciWnd, & uint Msg, & long wParam, & long lParam & ) Library "SciLexer.dll" Alias For "Scintilla_DirectFunction;Ansi" Function long SciSendString ( & long hSciWnd, & uint Msg, & long wParam, & Ref string lParam & ) Library "SciLexer.dll" Alias For "Scintilla_DirectFunction;Ansi" Function long SciSendString ( & long hSciWnd, & uint Msg, & string wParam, & Ref string lParam & ) Library "SciLexer.dll" Alias For "Scintilla_DirectFunction;Ansi" Function long SciSendBlob ( & long hSciWnd, & uint Msg, & long wParam, & Ref blob lParam & ) Library "SciLexer.dll" Alias For "Scintilla_DirectFunction" Function long SciSendBlob ( & long hSciWnd, & uint Msg, & blob wParam, & Ref blob lParam & ) Library "SciLexer.dll" Alias For "Scintilla_DirectFunction" Subroutine CopyNotification ( & Ref scNotification Destination, & ulong Source, & long Length & ) Library "kernel32.dll" Alias For "RtlMoveMemory" Function boolean OpenClipboard ( & ulong hWndNewOwner & ) Library "user32.dll" Function boolean EmptyClipboard ( & ) Library "user32.dll" Function boolean CloseClipboard ( & ) Library "user32.dll" Subroutine CopyMemory ( & Ref blob Destination, & long Source, & long Length & ) Library "kernel32.dll" Alias For "RtlMoveMemory" end prototypes type variables Private: Boolean ib_usepopup = True Boolean ib_bold Boolean ib_italic Long il_hSciWnd Long il_foldforecolor = -1 Long il_foldbackcolor = -1 Long il_marginbackcolor = RGB(192,192,192) Long il_margintextcolor = RGB(0,0,128) Long il_backcolor = RGB(255,255,255) Long il_forecolor = 0 Long il_selectcolor = RGB(166,202,240) Long il_caretcolor = RGB(220,220,220) Long il_FindScrollLines = 3 String is_commentchar1 = "//" String is_commentchar2 = "/*" // Find/Replace options Boolean ib_MatchCase Boolean ib_WholeWord Boolean ib_WordStart Boolean ib_RegEx Boolean ib_Backwards Boolean ib_IgnoreComment Public: Encoding #Encoding = EncodingAnsi! String #FontName = "Tahoma" //"Fixedsys" Long #TextSize = 12 Boolean #IndentGuides Boolean #ReadOnly Boolean #ShowNumbers Boolean #WordWrap Long #TabWidth = 3 String is_sqlstring, is_field, is_textfield, is_statictext // Other Constants Constant Long MARKER_NUM = 1 Constant Long MARKER_MASK = 2 Constant Long MARGIN_SCRIPT_FOLD_INDEX = 2 Constant Long SCLEX_NULL = 1 // Scintilla.h Editor Constants Constant Long INVALID_POSITION = -1 Constant Long SCI_START = 2000 Constant Long SCI_OPTIONAL_START = 3000 Constant Long SCI_LEXER_START = 4000 Constant Long SCI_ADDTEXT = 2001 Constant Long SCI_ADDSTYLEDTEXT = 2002 Constant Long SCI_INSERTTEXT = 2003 Constant Long SCI_CHANGEINSERTION = 2672 Constant Long SCI_CLEARALL = 2004 Constant Long SCI_DELETERANGE = 2645 Constant Long SCI_CLEARDOCUMENTSTYLE = 2005 Constant Long SCI_GETLENGTH = 2006 Constant Long SCI_GETCHARAT = 2007 Constant Long SCI_GETCURRENTPOS = 2008 Constant Long SCI_GETANCHOR = 2009 Constant Long SCI_GETSTYLEAT = 2010 Constant Long SCI_REDO = 2011 Constant Long SCI_SETUNDOCOLLECTION = 2012 Constant Long SCI_SELECTALL = 2013 Constant Long SCI_SETSAVEPOINT = 2014 Constant Long SCI_GETSTYLEDTEXT = 2015 Constant Long SCI_CANREDO = 2016 Constant Long SCI_MARKERLINEFROMHANDLE = 2017 Constant Long SCI_MARKERDELETEHANDLE = 2018 Constant Long SCI_GETUNDOCOLLECTION = 2019 Constant Long SCWS_INVISIBLE = 0 Constant Long SCWS_VISIBLEALWAYS = 1 Constant Long SCWS_VISIBLEAFTERINDENT = 2 Constant Long SCWS_VISIBLEONLYININDENT = 3 Constant Long SCI_GETVIEWWS = 2020 Constant Long SCI_SETVIEWWS = 2021 Constant Long SCTD_LONGARROW = 0 Constant Long SCTD_STRIKEOUT = 1 Constant Long SCI_GETTABDRAWMODE = 2698 Constant Long SCI_SETTABDRAWMODE = 2699 Constant Long SCI_POSITIONFROMPOINT = 2022 Constant Long SCI_POSITIONFROMPOINTCLOSE = 2023 Constant Long SCI_GOTOLINE = 2024 Constant Long SCI_GOTOPOS = 2025 Constant Long SCI_SETANCHOR = 2026 Constant Long SCI_GETCURLINE = 2027 Constant Long SCI_GETENDSTYLED = 2028 Constant Long SC_EOL_CRLF = 0 Constant Long SC_EOL_CR = 1 Constant Long SC_EOL_LF = 2 Constant Long SCI_CONVERTEOLS = 2029 Constant Long SCI_GETEOLMODE = 2030 Constant Long SCI_SETEOLMODE = 2031 Constant Long SCI_STARTSTYLING = 2032 Constant Long SCI_SETSTYLING = 2033 Constant Long SCI_GETBUFFEREDDRAW = 2034 Constant Long SCI_SETBUFFEREDDRAW = 2035 Constant Long SCI_SETTABWIDTH = 2036 Constant Long SCI_GETTABWIDTH = 2121 Constant Long SCI_CLEARTABSTOPS = 2675 Constant Long SCI_ADDTABSTOP = 2676 Constant Long SCI_GETNEXTTABSTOP = 2677 Constant Long SC_CP_UTF8 = 65001 Constant Long SCI_SETCODEPAGE = 2037 Constant Long SC_IME_WINDOWED = 0 Constant Long SC_IME_INLINE = 1 Constant Long SCI_GETIMEINTERACTION = 2678 Constant Long SCI_SETIMEINTERACTION = 2679 Constant Long MARKER_MAX = 31 Constant Long SC_MARK_CIRCLE = 0 Constant Long SC_MARK_ROUNDRECT = 1 Constant Long SC_MARK_ARROW = 2 Constant Long SC_MARK_SMALLRECT = 3 Constant Long SC_MARK_SHORTARROW = 4 Constant Long SC_MARK_EMPTY = 5 Constant Long SC_MARK_ARROWDOWN = 6 Constant Long SC_MARK_MINUS = 7 Constant Long SC_MARK_PLUS = 8 Constant Long SC_MARK_VLINE = 9 Constant Long SC_MARK_LCORNER = 10 Constant Long SC_MARK_TCORNER = 11 Constant Long SC_MARK_BOXPLUS = 12 Constant Long SC_MARK_BOXPLUSCONNECTED = 13 Constant Long SC_MARK_BOXMINUS = 14 Constant Long SC_MARK_BOXMINUSCONNECTED = 15 Constant Long SC_MARK_LCORNERCURVE = 16 Constant Long SC_MARK_TCORNERCURVE = 17 Constant Long SC_MARK_CIRCLEPLUS = 18 Constant Long SC_MARK_CIRCLEPLUSCONNECTED = 19 Constant Long SC_MARK_CIRCLEMINUS = 20 Constant Long SC_MARK_CIRCLEMINUSCONNECTED = 21 Constant Long SC_MARK_BACKGROUND = 22 Constant Long SC_MARK_DOTDOTDOT = 23 Constant Long SC_MARK_ARROWS = 24 Constant Long SC_MARK_PIXMAP = 25 Constant Long SC_MARK_FULLRECT = 26 Constant Long SC_MARK_LEFTRECT = 27 Constant Long SC_MARK_AVAILABLE = 28 Constant Long SC_MARK_UNDERLINE = 29 Constant Long SC_MARK_RGBAIMAGE = 30 Constant Long SC_MARK_BOOKMARK = 31 Constant Long SC_MARK_CHARACTER = 10000 Constant Long SC_MARKNUM_FOLDEREND = 25 Constant Long SC_MARKNUM_FOLDEROPENMID = 26 Constant Long SC_MARKNUM_FOLDERMIDTAIL = 27 Constant Long SC_MARKNUM_FOLDERTAIL = 28 Constant Long SC_MARKNUM_FOLDERSUB = 29 Constant Long SC_MARKNUM_FOLDER = 30 Constant Long SC_MARKNUM_FOLDEROPEN = 31 Constant Long SC_MASK_FOLDERS = 4261412864 Constant Long SCI_MARKERDEFINE = 2040 Constant Long SCI_MARKERSETFORE = 2041 Constant Long SCI_MARKERSETBACK = 2042 Constant Long SCI_MARKERSETBACKSELECTED = 2292 Constant Long SCI_MARKERENABLEHIGHLIGHT = 2293 Constant Long SCI_MARKERADD = 2043 Constant Long SCI_MARKERDELETE = 2044 Constant Long SCI_MARKERDELETEALL = 2045 Constant Long SCI_MARKERGET = 2046 Constant Long SCI_MARKERNEXT = 2047 Constant Long SCI_MARKERPREVIOUS = 2048 Constant Long SCI_MARKERDEFINEPIXMAP = 2049 Constant Long SCI_MARKERADDSET = 2466 Constant Long SCI_MARKERSETALPHA = 2476 Constant Long SC_MAX_MARGIN = 4 Constant Long SC_MARGIN_SYMBOL = 0 Constant Long SC_MARGIN_NUMBER = 1 Constant Long SC_MARGIN_BACK = 2 Constant Long SC_MARGIN_FORE = 3 Constant Long SC_MARGIN_TEXT = 4 Constant Long SC_MARGIN_RTEXT = 5 Constant Long SC_MARGIN_COLOUR = 6 Constant Long SCI_SETMARGINTYPEN = 2240 Constant Long SCI_GETMARGINTYPEN = 2241 Constant Long SCI_SETMARGINWIDTHN = 2242 Constant Long SCI_GETMARGINWIDTHN = 2243 Constant Long SCI_SETMARGINMASKN = 2244 Constant Long SCI_GETMARGINMASKN = 2245 Constant Long SCI_SETMARGINSENSITIVEN = 2246 Constant Long SCI_GETMARGINSENSITIVEN = 2247 Constant Long SCI_SETMARGINCURSORN = 2248 Constant Long SCI_GETMARGINCURSORN = 2249 Constant Long SCI_SETMARGINBACKN = 2250 Constant Long SCI_GETMARGINBACKN = 2251 Constant Long SCI_SETMARGINS = 2252 Constant Long SCI_GETMARGINS = 2253 Constant Long STYLE_DEFAULT = 32 Constant Long STYLE_LINENUMBER = 33 Constant Long STYLE_BRACELIGHT = 34 Constant Long STYLE_BRACEBAD = 35 Constant Long STYLE_CONTROLCHAR = 36 Constant Long STYLE_INDENTGUIDE = 37 Constant Long STYLE_CALLTIP = 38 Constant Long STYLE_FOLDDISPLAYTEXT = 39 Constant Long STYLE_LASTPREDEFINED = 39 Constant Long STYLE_MAX = 255 Constant Long SC_CHARSET_ANSI = 0 Constant Long SC_CHARSET_DEFAULT = 1 Constant Long SC_CHARSET_BALTIC = 186 Constant Long SC_CHARSET_CHINESEBIG5 = 136 Constant Long SC_CHARSET_EASTEUROPE = 238 Constant Long SC_CHARSET_GB2312 = 134 Constant Long SC_CHARSET_GREEK = 161 Constant Long SC_CHARSET_HANGUL = 129 Constant Long SC_CHARSET_MAC = 77 Constant Long SC_CHARSET_OEM = 255 Constant Long SC_CHARSET_RUSSIAN = 204 Constant Long SC_CHARSET_OEM866 = 866 Constant Long SC_CHARSET_CYRILLIC = 1251 Constant Long SC_CHARSET_SHIFTJIS = 128 Constant Long SC_CHARSET_SYMBOL = 2 Constant Long SC_CHARSET_TURKISH = 162 Constant Long SC_CHARSET_JOHAB = 130 Constant Long SC_CHARSET_HEBREW = 177 Constant Long SC_CHARSET_ARABIC = 178 Constant Long SC_CHARSET_VIETNAMESE = 163 Constant Long SC_CHARSET_THAI = 222 Constant Long SC_CHARSET_8859_15 = 1000 Constant Long SCI_STYLECLEARALL = 2050 Constant Long SCI_STYLESETFORE = 2051 Constant Long SCI_STYLESETBACK = 2052 Constant Long SCI_STYLESETBOLD = 2053 Constant Long SCI_STYLESETITALIC = 2054 Constant Long SCI_STYLESETSIZE = 2055 Constant Long SCI_STYLESETFONT = 2056 Constant Long SCI_STYLESETEOLFILLED = 2057 Constant Long SCI_STYLERESETDEFAULT = 2058 Constant Long SCI_STYLESETUNDERLINE = 2059 Constant Long SC_CASE_MIXED = 0 Constant Long SC_CASE_UPPER = 1 Constant Long SC_CASE_LOWER = 2 Constant Long SC_CASE_CAMEL = 3 Constant Long SCI_STYLEGETFORE = 2481 Constant Long SCI_STYLEGETBACK = 2482 Constant Long SCI_STYLEGETBOLD = 2483 Constant Long SCI_STYLEGETITALIC = 2484 Constant Long SCI_STYLEGETSIZE = 2485 Constant Long SCI_STYLEGETFONT = 2486 Constant Long SCI_STYLEGETEOLFILLED = 2487 Constant Long SCI_STYLEGETUNDERLINE = 2488 Constant Long SCI_STYLEGETCASE = 2489 Constant Long SCI_STYLEGETCHARACTERSET = 2490 Constant Long SCI_STYLEGETVISIBLE = 2491 Constant Long SCI_STYLEGETCHANGEABLE = 2492 Constant Long SCI_STYLEGETHOTSPOT = 2493 Constant Long SCI_STYLESETCASE = 2060 Constant Long SC_FONT_SIZE_MULTIPLIER = 100 Constant Long SCI_STYLESETSIZEFRACTIONAL = 2061 Constant Long SCI_STYLEGETSIZEFRACTIONAL = 2062 Constant Long SC_WEIGHT_NORMAL = 400 Constant Long SC_WEIGHT_SEMIBOLD = 600 Constant Long SC_WEIGHT_BOLD = 700 Constant Long SCI_STYLESETWEIGHT = 2063 Constant Long SCI_STYLEGETWEIGHT = 2064 Constant Long SCI_STYLESETCHARACTERSET = 2066 Constant Long SCI_STYLESETHOTSPOT = 2409 Constant Long SCI_SETSELFORE = 2067 Constant Long SCI_SETSELBACK = 2068 Constant Long SCI_GETSELALPHA = 2477 Constant Long SCI_SETSELALPHA = 2478 Constant Long SCI_GETSELEOLFILLED = 2479 Constant Long SCI_SETSELEOLFILLED = 2480 Constant Long SCI_SETCARETFORE = 2069 Constant Long SCI_ASSIGNCMDKEY = 2070 Constant Long SCI_CLEARCMDKEY = 2071 Constant Long SCI_CLEARALLCMDKEYS = 2072 Constant Long SCI_SETSTYLINGEX = 2073 Constant Long SCI_STYLESETVISIBLE = 2074 Constant Long SCI_GETCARETPERIOD = 2075 Constant Long SCI_SETCARETPERIOD = 2076 Constant Long SCI_SETWORDCHARS = 2077 Constant Long SCI_GETWORDCHARS = 2646 Constant Long SCI_BEGINUNDOACTION = 2078 Constant Long SCI_ENDUNDOACTION = 2079 Constant Long INDIC_PLAIN = 0 Constant Long INDIC_SQUIGGLE = 1 Constant Long INDIC_TT = 2 Constant Long INDIC_DIAGONAL = 3 Constant Long INDIC_STRIKE = 4 Constant Long INDIC_HIDDEN = 5 Constant Long INDIC_BOX = 6 Constant Long INDIC_ROUNDBOX = 7 Constant Long INDIC_STRAIGHTBOX = 8 Constant Long INDIC_DASH = 9 Constant Long INDIC_DOTS = 10 Constant Long INDIC_SQUIGGLELOW = 11 Constant Long INDIC_DOTBOX = 12 Constant Long INDIC_SQUIGGLEPIXMAP = 13 Constant Long INDIC_COMPOSITIONTHICK = 14 Constant Long INDIC_COMPOSITIONTHIN = 15 Constant Long INDIC_FULLBOX = 16 Constant Long INDIC_TEXTFORE = 17 Constant Long INDIC_POINT = 18 Constant Long INDIC_POINTCHARACTER = 19 Constant Long INDIC_GRADIENT = 20 Constant Long INDIC_GRADIENTCENTRE = 21 Constant Long INDIC_IME = 32 Constant Long INDIC_IME_MAX = 35 Constant Long INDIC_MAX = 35 Constant Long INDIC_CONTAINER = 8 Constant Long INDIC0_MASK = 32 Constant Long INDIC1_MASK = 64 Constant Long INDIC2_MASK = 128 Constant Long INDICS_MASK = 224 Constant Long SCI_INDICSETSTYLE = 2080 Constant Long SCI_INDICGETSTYLE = 2081 Constant Long SCI_INDICSETFORE = 2082 Constant Long SCI_INDICGETFORE = 2083 Constant Long SCI_INDICSETUNDER = 2510 Constant Long SCI_INDICGETUNDER = 2511 Constant Long SCI_INDICSETHOVERSTYLE = 2680 Constant Long SCI_INDICGETHOVERSTYLE = 2681 Constant Long SCI_INDICSETHOVERFORE = 2682 Constant Long SCI_INDICGETHOVERFORE = 2683 Constant Long SC_INDICVALUEBIT = 16777216 Constant Long SC_INDICVALUEMASK = 16777215 Constant Long SC_INDICFLAG_VALUEFORE = 1 Constant Long SCI_INDICSETFLAGS = 2684 Constant Long SCI_INDICGETFLAGS = 2685 Constant Long SCI_SETWHITESPACEFORE = 2084 Constant Long SCI_SETWHITESPACEBACK = 2085 Constant Long SCI_SETWHITESPACESIZE = 2086 Constant Long SCI_GETWHITESPACESIZE = 2087 Constant Long SCI_SETLINESTATE = 2092 Constant Long SCI_GETLINESTATE = 2093 Constant Long SCI_GETMAXLINESTATE = 2094 Constant Long SCI_GETCARETLINEVISIBLE = 2095 Constant Long SCI_SETCARETLINEVISIBLE = 2096 Constant Long SCI_GETCARETLINEBACK = 2097 Constant Long SCI_SETCARETLINEBACK = 2098 Constant Long SCI_GETCARETLINEFRAME = 2704 Constant Long SCI_SETCARETLINEFRAME = 2705 Constant Long SCI_STYLESETCHANGEABLE = 2099 Constant Long SCI_AUTOCSHOW = 2100 Constant Long SCI_AUTOCCANCEL = 2101 Constant Long SCI_AUTOCACTIVE = 2102 Constant Long SCI_AUTOCPOSSTART = 2103 Constant Long SCI_AUTOCCOMPLETE = 2104 Constant Long SCI_AUTOCSTOPS = 2105 Constant Long SCI_AUTOCSETSEPARATOR = 2106 Constant Long SCI_AUTOCGETSEPARATOR = 2107 Constant Long SCI_AUTOCSELECT = 2108 Constant Long SCI_AUTOCSETCANCELATSTART = 2110 Constant Long SCI_AUTOCGETCANCELATSTART = 2111 Constant Long SCI_AUTOCSETFILLUPS = 2112 Constant Long SCI_AUTOCSETCHOOSESINGLE = 2113 Constant Long SCI_AUTOCGETCHOOSESINGLE = 2114 Constant Long SCI_AUTOCSETIGNORECASE = 2115 Constant Long SCI_AUTOCGETIGNORECASE = 2116 Constant Long SCI_USERLISTSHOW = 2117 Constant Long SCI_AUTOCSETAUTOHIDE = 2118 Constant Long SCI_AUTOCGETAUTOHIDE = 2119 Constant Long SCI_AUTOCSETDROPRESTOFWORD = 2270 Constant Long SCI_AUTOCGETDROPRESTOFWORD = 2271 Constant Long SCI_REGISTERIMAGE = 2405 Constant Long SCI_CLEARREGISTEREDIMAGES = 2408 Constant Long SCI_AUTOCGETTYPESEPARATOR = 2285 Constant Long SCI_AUTOCSETTYPESEPARATOR = 2286 Constant Long SCI_AUTOCSETMAXWIDTH = 2208 Constant Long SCI_AUTOCGETMAXWIDTH = 2209 Constant Long SCI_AUTOCSETMAXHEIGHT = 2210 Constant Long SCI_AUTOCGETMAXHEIGHT = 2211 Constant Long SCI_SETINDENT = 2122 Constant Long SCI_GETINDENT = 2123 Constant Long SCI_SETUSETABS = 2124 Constant Long SCI_GETUSETABS = 2125 Constant Long SCI_SETLINEINDENTATION = 2126 Constant Long SCI_GETLINEINDENTATION = 2127 Constant Long SCI_GETLINEINDENTPOSITION = 2128 Constant Long SCI_GETCOLUMN = 2129 Constant Long SCI_COUNTCHARACTERS = 2633 Constant Long SCI_COUNTCODEUNITS = 2715 Constant Long SCI_SETHSCROLLBAR = 2130 Constant Long SCI_GETHSCROLLBAR = 2131 Constant Long SC_IV_NONE = 0 Constant Long SC_IV_REAL = 1 Constant Long SC_IV_LOOKFORWARD = 2 Constant Long SC_IV_LOOKBOTH = 3 Constant Long SCI_SETINDENTATIONGUIDES = 2132 Constant Long SCI_GETINDENTATIONGUIDES = 2133 Constant Long SCI_SETHIGHLIGHTGUIDE = 2134 Constant Long SCI_GETHIGHLIGHTGUIDE = 2135 Constant Long SCI_GETLINEENDPOSITION = 2136 Constant Long SCI_GETCODEPAGE = 2137 Constant Long SCI_GETCARETFORE = 2138 Constant Long SCI_GETREADONLY = 2140 Constant Long SCI_SETCURRENTPOS = 2141 Constant Long SCI_SETSELECTIONSTART = 2142 Constant Long SCI_GETSELECTIONSTART = 2143 Constant Long SCI_SETSELECTIONEND = 2144 Constant Long SCI_GETSELECTIONEND = 2145 Constant Long SCI_SETEMPTYSELECTION = 2556 Constant Long SCI_SETPRINTMAGNIFICATION = 2146 Constant Long SCI_GETPRINTMAGNIFICATION = 2147 Constant Long SC_PRINT_NORMAL = 0 Constant Long SC_PRINT_INVERTLIGHT = 1 Constant Long SC_PRINT_BLACKONWHITE = 2 Constant Long SC_PRINT_COLOURONWHITE = 3 Constant Long SC_PRINT_COLOURONWHITEDEFAULTBG = 4 Constant Long SC_PRINT_SCREENCOLOURS = 5 Constant Long SCI_SETPRINTCOLOURMODE = 2148 Constant Long SCI_GETPRINTCOLOURMODE = 2149 Constant Long SCFIND_WHOLEWORD = 2 Constant Long SCFIND_MATCHCASE = 4 Constant Long SCFIND_WORDSTART = 1048576 Constant Long SCFIND_REGEXP = 2097152 Constant Long SCFIND_POSIX = 4194304 Constant Long SCFIND_CXX11REGEX = 8388608 Constant Long SCI_FINDTEXT = 2150 Constant Long SCI_FORMATRANGE = 2151 Constant Long SCI_GETFIRSTVISIBLELINE = 2152 Constant Long SCI_GETLINE = 2153 Constant Long SCI_GETLINECOUNT = 2154 Constant Long SCI_SETMARGINLEFT = 2155 Constant Long SCI_GETMARGINLEFT = 2156 Constant Long SCI_SETMARGINRIGHT = 2157 Constant Long SCI_GETMARGINRIGHT = 2158 Constant Long SCI_GETMODIFY = 2159 Constant Long SCI_SETSEL = 2160 Constant Long SCI_GETSELTEXT = 2161 Constant Long SCI_GETTEXTRANGE = 2162 Constant Long SCI_HIDESELECTION = 2163 Constant Long SCI_POINTXFROMPOSITION = 2164 Constant Long SCI_POINTYFROMPOSITION = 2165 Constant Long SCI_LINEFROMPOSITION = 2166 Constant Long SCI_POSITIONFROMLINE = 2167 Constant Long SCI_LINESCROLL = 2168 Constant Long SCI_SCROLLCARET = 2169 Constant Long SCI_SCROLLRANGE = 2569 Constant Long SCI_REPLACESEL = 2170 Constant Long SCI_SETREADONLY = 2171 Constant Long SCI_NULL = 2172 Constant Long SCI_CANPASTE = 2173 Constant Long SCI_CANUNDO = 2174 Constant Long SCI_EMPTYUNDOBUFFER = 2175 Constant Long SCI_UNDO = 2176 Constant Long SCI_CUT = 2177 Constant Long SCI_COPY = 2178 Constant Long SCI_PASTE = 2179 Constant Long SCI_CLEAR = 2180 Constant Long SCI_SETTEXT = 2181 Constant Long SCI_GETTEXT = 2182 Constant Long SCI_GETTEXTLENGTH = 2183 Constant Long SCI_GETDIRECTFUNCTION = 2184 Constant Long SCI_GETDIRECTPOINTER = 2185 Constant Long SCI_SETOVERTYPE = 2186 Constant Long SCI_GETOVERTYPE = 2187 Constant Long SCI_SETCARETWIDTH = 2188 Constant Long SCI_GETCARETWIDTH = 2189 Constant Long SCI_SETTARGETSTART = 2190 Constant Long SCI_GETTARGETSTART = 2191 Constant Long SCI_SETTARGETEND = 2192 Constant Long SCI_GETTARGETEND = 2193 Constant Long SCI_SETTARGETRANGE = 2686 Constant Long SCI_GETTARGETTEXT = 2687 Constant Long SCI_TARGETFROMSELECTION = 2287 Constant Long SCI_TARGETWHOLEDOCUMENT = 2690 Constant Long SCI_REPLACETARGET = 2194 Constant Long SCI_REPLACETARGETRE = 2195 Constant Long SCI_SEARCHINTARGET = 2197 Constant Long SCI_SETSEARCHFLAGS = 2198 Constant Long SCI_GETSEARCHFLAGS = 2199 Constant Long SCI_CALLTIPSHOW = 2200 Constant Long SCI_CALLTIPCANCEL = 2201 Constant Long SCI_CALLTIPACTIVE = 2202 Constant Long SCI_CALLTIPPOSSTART = 2203 Constant Long SCI_CALLTIPSETPOSSTART = 2214 Constant Long SCI_CALLTIPSETHLT = 2204 Constant Long SCI_CALLTIPSETBACK = 2205 Constant Long SCI_CALLTIPSETFORE = 2206 Constant Long SCI_CALLTIPSETFOREHLT = 2207 Constant Long SCI_CALLTIPUSESTYLE = 2212 Constant Long SCI_CALLTIPSETPOSITION = 2213 Constant Long SCI_VISIBLEFROMDOCLINE = 2220 Constant Long SCI_DOCLINEFROMVISIBLE = 2221 Constant Long SCI_WRAPCOUNT = 2235 Constant Long SC_FOLDLEVELBASE = 1024 Constant Long SC_FOLDLEVELWHITEFLAG = 4096 Constant Long SC_FOLDLEVELHEADERFLAG = 8192 Constant Long SC_FOLDLEVELNUMBERMASK = 4095 Constant Long SCI_SETFOLDLEVEL = 2222 Constant Long SCI_GETFOLDLEVEL = 2223 Constant Long SCI_GETLASTCHILD = 2224 Constant Long SCI_GETFOLDPARENT = 2225 Constant Long SCI_SHOWLINES = 2226 Constant Long SCI_HIDELINES = 2227 Constant Long SCI_GETLINEVISIBLE = 2228 Constant Long SCI_GETALLLINESVISIBLE = 2236 Constant Long SCI_SETFOLDEXPANDED = 2229 Constant Long SCI_GETFOLDEXPANDED = 2230 Constant Long SCI_TOGGLEFOLD = 2231 Constant Long SCI_TOGGLEFOLDSHOWTEXT = 2700 Constant Long SC_FOLDDISPLAYTEXT_HIDDEN = 0 Constant Long SC_FOLDDISPLAYTEXT_STANDARD = 1 Constant Long SC_FOLDDISPLAYTEXT_BOXED = 2 Constant Long SCI_FOLDDISPLAYTEXTSETSTYLE = 2701 Constant Long SC_FOLDACTION_CONTRACT = 0 Constant Long SC_FOLDACTION_EXPAND = 1 Constant Long SC_FOLDACTION_TOGGLE = 2 Constant Long SCI_FOLDLINE = 2237 Constant Long SCI_FOLDCHILDREN = 2238 Constant Long SCI_EXPANDCHILDREN = 2239 Constant Long SCI_FOLDALL = 2662 Constant Long SCI_ENSUREVISIBLE = 2232 Constant Long SC_AUTOMATICFOLD_SHOW = 1 Constant Long SC_AUTOMATICFOLD_CLICK = 2 Constant Long SC_AUTOMATICFOLD_CHANGE = 4 Constant Long SCI_SETAUTOMATICFOLD = 2663 Constant Long SCI_GETAUTOMATICFOLD = 2664 Constant Long SC_FOLDFLAG_LINEBEFORE_EXPANDED = 2 Constant Long SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 4 Constant Long SC_FOLDFLAG_LINEAFTER_EXPANDED = 8 Constant Long SC_FOLDFLAG_LINEAFTER_CONTRACTED = 16 Constant Long SC_FOLDFLAG_LEVELNUMBERS = 64 Constant Long SC_FOLDFLAG_LINESTATE = 128 Constant Long SCI_SETFOLDFLAGS = 2233 Constant Long SCI_ENSUREVISIBLEENFORCEPOLICY = 2234 Constant Long SCI_SETTABINDENTS = 2260 Constant Long SCI_GETTABINDENTS = 2261 Constant Long SCI_SETBACKSPACEUNINDENTS = 2262 Constant Long SCI_GETBACKSPACEUNINDENTS = 2263 Constant Long SC_TIME_FOREVER = 10000000 Constant Long SCI_SETMOUSEDWELLTIME = 2264 Constant Long SCI_GETMOUSEDWELLTIME = 2265 Constant Long SCI_WORDSTARTPOSITION = 2266 Constant Long SCI_WORDENDPOSITION = 2267 Constant Long SCI_ISRANGEWORD = 2691 Constant Long SC_IDLESTYLING_NONE = 0 Constant Long SC_IDLESTYLING_TOVISIBLE = 1 Constant Long SC_IDLESTYLING_AFTERVISIBLE = 2 Constant Long SC_IDLESTYLING_ALL = 3 Constant Long SCI_SETIDLESTYLING = 2692 Constant Long SCI_GETIDLESTYLING = 2693 Constant Long SC_WRAP_NONE = 0 Constant Long SC_WRAP_WORD = 1 Constant Long SC_WRAP_CHAR = 2 Constant Long SC_WRAP_WHITESPACE = 3 Constant Long SCI_SETWRAPMODE = 2268 Constant Long SCI_GETWRAPMODE = 2269 Constant Long SC_WRAPVISUALFLAG_NONE = 0 Constant Long SC_WRAPVISUALFLAG_END = 1 Constant Long SC_WRAPVISUALFLAG_START = 2 Constant Long SC_WRAPVISUALFLAG_MARGIN = 4 Constant Long SCI_SETWRAPVISUALFLAGS = 2460 Constant Long SCI_GETWRAPVISUALFLAGS = 2461 Constant Long SC_WRAPVISUALFLAGLOC_DEFAULT = 0 Constant Long SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 1 Constant Long SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 2 Constant Long SCI_SETWRAPVISUALFLAGSLOCATION = 2462 Constant Long SCI_GETWRAPVISUALFLAGSLOCATION = 2463 Constant Long SCI_SETWRAPSTARTINDENT = 2464 Constant Long SCI_GETWRAPSTARTINDENT = 2465 Constant Long SC_WRAPINDENT_FIXED = 0 Constant Long SC_WRAPINDENT_SAME = 1 Constant Long SC_WRAPINDENT_INDENT = 2 Constant Long SC_WRAPINDENT_DEEPINDENT = 3 Constant Long SCI_SETWRAPINDENTMODE = 2472 Constant Long SCI_GETWRAPINDENTMODE = 2473 Constant Long SC_CACHE_NONE = 0 Constant Long SC_CACHE_CARET = 1 Constant Long SC_CACHE_PAGE = 2 Constant Long SC_CACHE_DOCUMENT = 3 Constant Long SCI_SETLAYOUTCACHE = 2272 Constant Long SCI_GETLAYOUTCACHE = 2273 Constant Long SCI_SETSCROLLWIDTH = 2274 Constant Long SCI_GETSCROLLWIDTH = 2275 Constant Long SCI_SETSCROLLWIDTHTRACKING = 2516 Constant Long SCI_GETSCROLLWIDTHTRACKING = 2517 Constant Long SCI_TEXTWIDTH = 2276 Constant Long SCI_SETENDATLASTLINE = 2277 Constant Long SCI_GETENDATLASTLINE = 2278 Constant Long SCI_TEXTHEIGHT = 2279 Constant Long SCI_SETVSCROLLBAR = 2280 Constant Long SCI_GETVSCROLLBAR = 2281 Constant Long SCI_APPENDTEXT = 2282 Constant Long SC_PHASES_ONE = 0 Constant Long SC_PHASES_TWO = 1 Constant Long SC_PHASES_MULTIPLE = 2 Constant Long SCI_GETPHASESDRAW = 2673 Constant Long SCI_SETPHASESDRAW = 2674 Constant Long SC_EFF_QUALITY_MASK = 15 Constant Long SC_EFF_QUALITY_DEFAULT = 0 Constant Long SC_EFF_QUALITY_NON_ANTIALIASED = 1 Constant Long SC_EFF_QUALITY_ANTIALIASED = 2 Constant Long SC_EFF_QUALITY_LCD_OPTIMIZED = 3 Constant Long SCI_SETFONTQUALITY = 2611 Constant Long SCI_GETFONTQUALITY = 2612 Constant Long SCI_SETFIRSTVISIBLELINE = 2613 Constant Long SC_MULTIPASTE_ONCE = 0 Constant Long SC_MULTIPASTE_EACH = 1 Constant Long SCI_SETMULTIPASTE = 2614 Constant Long SCI_GETMULTIPASTE = 2615 Constant Long SCI_GETTAG = 2616 Constant Long SCI_LINESJOIN = 2288 Constant Long SCI_LINESSPLIT = 2289 Constant Long SCI_SETFOLDMARGINCOLOUR = 2290 Constant Long SCI_SETFOLDMARGINHICOLOUR = 2291 Constant Long SC_ACCESSIBILITY_DISABLED = 0 Constant Long SC_ACCESSIBILITY_ENABLED = 1 Constant Long SCI_SETACCESSIBILITY = 2702 Constant Long SCI_GETACCESSIBILITY = 2703 Constant Long SCI_LINEDOWN = 2300 Constant Long SCI_LINEDOWNEXTEND = 2301 Constant Long SCI_LINEUP = 2302 Constant Long SCI_LINEUPEXTEND = 2303 Constant Long SCI_CHARLEFT = 2304 Constant Long SCI_CHARLEFTEXTEND = 2305 Constant Long SCI_CHARRIGHT = 2306 Constant Long SCI_CHARRIGHTEXTEND = 2307 Constant Long SCI_WORDLEFT = 2308 Constant Long SCI_WORDLEFTEXTEND = 2309 Constant Long SCI_WORDRIGHT = 2310 Constant Long SCI_WORDRIGHTEXTEND = 2311 Constant Long SCI_HOME = 2312 Constant Long SCI_HOMEEXTEND = 2313 Constant Long SCI_LINEEND = 2314 Constant Long SCI_LINEENDEXTEND = 2315 Constant Long SCI_DOCUMENTSTART = 2316 Constant Long SCI_DOCUMENTSTARTEXTEND = 2317 Constant Long SCI_DOCUMENTEND = 2318 Constant Long SCI_DOCUMENTENDEXTEND = 2319 Constant Long SCI_PAGEUP = 2320 Constant Long SCI_PAGEUPEXTEND = 2321 Constant Long SCI_PAGEDOWN = 2322 Constant Long SCI_PAGEDOWNEXTEND = 2323 Constant Long SCI_EDITTOGGLEOVERTYPE = 2324 Constant Long SCI_CANCEL = 2325 Constant Long SCI_DELETEBACK = 2326 Constant Long SCI_TAB = 2327 Constant Long SCI_BACKTAB = 2328 Constant Long SCI_NEWLINE = 2329 Constant Long SCI_FORMFEED = 2330 Constant Long SCI_VCHOME = 2331 Constant Long SCI_VCHOMEEXTEND = 2332 Constant Long SCI_ZOOMIN = 2333 Constant Long SCI_ZOOMOUT = 2334 Constant Long SCI_DELWORDLEFT = 2335 Constant Long SCI_DELWORDRIGHT = 2336 Constant Long SCI_DELWORDRIGHTEND = 2518 Constant Long SCI_LINECUT = 2337 Constant Long SCI_LINEDELETE = 2338 Constant Long SCI_LINETRANSPOSE = 2339 Constant Long SCI_LINEREVERSE = 2354 Constant Long SCI_LINEDUPLICATE = 2404 Constant Long SCI_LOWERCASE = 2340 Constant Long SCI_UPPERCASE = 2341 Constant Long SCI_LINESCROLLDOWN = 2342 Constant Long SCI_LINESCROLLUP = 2343 Constant Long SCI_DELETEBACKNOTLINE = 2344 Constant Long SCI_HOMEDISPLAY = 2345 Constant Long SCI_HOMEDISPLAYEXTEND = 2346 Constant Long SCI_LINEENDDISPLAY = 2347 Constant Long SCI_LINEENDDISPLAYEXTEND = 2348 Constant Long SCI_HOMEWRAP = 2349 Constant Long SCI_HOMEWRAPEXTEND = 2450 Constant Long SCI_LINEENDWRAP = 2451 Constant Long SCI_LINEENDWRAPEXTEND = 2452 Constant Long SCI_VCHOMEWRAP = 2453 Constant Long SCI_VCHOMEWRAPEXTEND = 2454 Constant Long SCI_LINECOPY = 2455 Constant Long SCI_MOVECARETINSIDEVIEW = 2401 Constant Long SCI_LINELENGTH = 2350 Constant Long SCI_BRACEHIGHLIGHT = 2351 Constant Long SCI_BRACEHIGHLIGHTINDICATOR = 2498 Constant Long SCI_BRACEBADLIGHT = 2352 Constant Long SCI_BRACEBADLIGHTINDICATOR = 2499 Constant Long SCI_BRACEMATCH = 2353 Constant Long SCI_GETVIEWEOL = 2355 Constant Long SCI_SETVIEWEOL = 2356 Constant Long SCI_GETDOCPOINTER = 2357 Constant Long SCI_SETDOCPOINTER = 2358 Constant Long SCI_SETMODEVENTMASK = 2359 Constant Long EDGE_NONE = 0 Constant Long EDGE_LINE = 1 Constant Long EDGE_BACKGROUND = 2 Constant Long EDGE_MULTILINE = 3 Constant Long SCI_GETEDGECOLUMN = 2360 Constant Long SCI_SETEDGECOLUMN = 2361 Constant Long SCI_GETEDGEMODE = 2362 Constant Long SCI_SETEDGEMODE = 2363 Constant Long SCI_GETEDGECOLOUR = 2364 Constant Long SCI_SETEDGECOLOUR = 2365 Constant Long SCI_MULTIEDGEADDLINE = 2694 Constant Long SCI_MULTIEDGECLEARALL = 2695 Constant Long SCI_SEARCHANCHOR = 2366 Constant Long SCI_SEARCHNEXT = 2367 Constant Long SCI_SEARCHPREV = 2368 Constant Long SCI_LINESONSCREEN = 2370 Constant Long SC_POPUP_NEVER = 0 Constant Long SC_POPUP_ALL = 1 Constant Long SC_POPUP_TEXT = 2 Constant Long SCI_USEPOPUP = 2371 Constant Long SCI_SELECTIONISRECTANGLE = 2372 Constant Long SCI_SETZOOM = 2373 Constant Long SCI_GETZOOM = 2374 Constant Long SC_DOCUMENTOPTION_DEFAULT = 0 Constant Long SC_DOCUMENTOPTION_STYLES_NONE = 1 Constant Long SC_DOCUMENTOPTION_TEXT_LARGE = 256 Constant Long SCI_CREATEDOCUMENT = 2375 Constant Long SCI_ADDREFDOCUMENT = 2376 Constant Long SCI_RELEASEDOCUMENT = 2377 Constant Long SCI_GETDOCUMENTOPTIONS = 2379 Constant Long SCI_GETMODEVENTMASK = 2378 Constant Long SCI_SETFOCUS = 2380 Constant Long SCI_GETFOCUS = 2381 Constant Long SC_STATUS_OK = 0 Constant Long SC_STATUS_FAILURE = 1 Constant Long SC_STATUS_BADALLOC = 2 Constant Long SC_STATUS_WARN_START = 1000 Constant Long SC_STATUS_WARN_REGEX = 1001 Constant Long SCI_SETSTATUS = 2382 Constant Long SCI_GETSTATUS = 2383 Constant Long SCI_SETMOUSEDOWNCAPTURES = 2384 Constant Long SCI_GETMOUSEDOWNCAPTURES = 2385 Constant Long SCI_SETMOUSEWHEELCAPTURES = 2696 Constant Long SCI_GETMOUSEWHEELCAPTURES = 2697 Constant Long SC_CURSORNORMAL = -1 Constant Long SC_CURSORARROW = 2 Constant Long SC_CURSORWAIT = 4 Constant Long SC_CURSORREVERSEARROW = 7 Constant Long SCI_SETCURSOR = 2386 Constant Long SCI_GETCURSOR = 2387 Constant Long SCI_SETCONTROLCHARSYMBOL = 2388 Constant Long SCI_GETCONTROLCHARSYMBOL = 2389 Constant Long SCI_WORDPARTLEFT = 2390 Constant Long SCI_WORDPARTLEFTEXTEND = 2391 Constant Long SCI_WORDPARTRIGHT = 2392 Constant Long SCI_WORDPARTRIGHTEXTEND = 2393 Constant Long VISIBLE_SLOP = 1 Constant Long VISIBLE_STRICT = 4 Constant Long SCI_SETVISIBLEPOLICY = 2394 Constant Long SCI_DELLINELEFT = 2395 Constant Long SCI_DELLINERIGHT = 2396 Constant Long SCI_SETXOFFSET = 2397 Constant Long SCI_GETXOFFSET = 2398 Constant Long SCI_CHOOSECARETX = 2399 Constant Long SCI_GRABFOCUS = 2400 Constant Long CARET_SLOP = 1 Constant Long CARET_STRICT = 4 Constant Long CARET_JUMPS = 16 Constant Long CARET_EVEN = 8 Constant Long SCI_SETXCARETPOLICY = 2402 Constant Long SCI_SETYCARETPOLICY = 2403 Constant Long SCI_SETPRINTWRAPMODE = 2406 Constant Long SCI_GETPRINTWRAPMODE = 2407 Constant Long SCI_SETHOTSPOTACTIVEFORE = 2410 Constant Long SCI_GETHOTSPOTACTIVEFORE = 2494 Constant Long SCI_SETHOTSPOTACTIVEBACK = 2411 Constant Long SCI_GETHOTSPOTACTIVEBACK = 2495 Constant Long SCI_SETHOTSPOTACTIVEUNDERLINE = 2412 Constant Long SCI_GETHOTSPOTACTIVEUNDERLINE = 2496 Constant Long SCI_SETHOTSPOTSINGLELINE = 2421 Constant Long SCI_GETHOTSPOTSINGLELINE = 2497 Constant Long SCI_PARADOWN = 2413 Constant Long SCI_PARADOWNEXTEND = 2414 Constant Long SCI_PARAUP = 2415 Constant Long SCI_PARAUPEXTEND = 2416 Constant Long SCI_POSITIONBEFORE = 2417 Constant Long SCI_POSITIONAFTER = 2418 Constant Long SCI_POSITIONRELATIVE = 2670 Constant Long SCI_POSITIONRELATIVECODEUNITS = 2716 Constant Long SCI_COPYRANGE = 2419 Constant Long SCI_COPYTEXT = 2420 Constant Long SC_SEL_STREAM = 0 Constant Long SC_SEL_RECTANGLE = 1 Constant Long SC_SEL_LINES = 2 Constant Long SC_SEL_THIN = 3 Constant Long SCI_SETSELECTIONMODE = 2422 Constant Long SCI_GETSELECTIONMODE = 2423 Constant Long SCI_GETMOVEEXTENDSSELECTION = 2706 Constant Long SCI_GETLINESELSTARTPOSITION = 2424 Constant Long SCI_GETLINESELENDPOSITION = 2425 Constant Long SCI_LINEDOWNRECTEXTEND = 2426 Constant Long SCI_LINEUPRECTEXTEND = 2427 Constant Long SCI_CHARLEFTRECTEXTEND = 2428 Constant Long SCI_CHARRIGHTRECTEXTEND = 2429 Constant Long SCI_HOMERECTEXTEND = 2430 Constant Long SCI_VCHOMERECTEXTEND = 2431 Constant Long SCI_LINEENDRECTEXTEND = 2432 Constant Long SCI_PAGEUPRECTEXTEND = 2433 Constant Long SCI_PAGEDOWNRECTEXTEND = 2434 Constant Long SCI_STUTTEREDPAGEUP = 2435 Constant Long SCI_STUTTEREDPAGEUPEXTEND = 2436 Constant Long SCI_STUTTEREDPAGEDOWN = 2437 Constant Long SCI_STUTTEREDPAGEDOWNEXTEND = 2438 Constant Long SCI_WORDLEFTEND = 2439 Constant Long SCI_WORDLEFTENDEXTEND = 2440 Constant Long SCI_WORDRIGHTEND = 2441 Constant Long SCI_WORDRIGHTENDEXTEND = 2442 Constant Long SCI_SETWHITESPACECHARS = 2443 Constant Long SCI_GETWHITESPACECHARS = 2647 Constant Long SCI_SETPUNCTUATIONCHARS = 2648 Constant Long SCI_GETPUNCTUATIONCHARS = 2649 Constant Long SCI_SETCHARSDEFAULT = 2444 Constant Long SCI_AUTOCGETCURRENT = 2445 Constant Long SCI_AUTOCGETCURRENTTEXT = 2610 Constant Long SC_CASEINSENSITIVEBEHAVIOUR_RESPECTCASE = 0 Constant Long SC_CASEINSENSITIVEBEHAVIOUR_IGNORECASE = 1 Constant Long SCI_AUTOCSETCASEINSENSITIVEBEHAVIOUR = 2634 Constant Long SCI_AUTOCGETCASEINSENSITIVEBEHAVIOUR = 2635 Constant Long SC_MULTIAUTOC_ONCE = 0 Constant Long SC_MULTIAUTOC_EACH = 1 Constant Long SCI_AUTOCSETMULTI = 2636 Constant Long SCI_AUTOCGETMULTI = 2637 Constant Long SC_ORDER_PRESORTED = 0 Constant Long SC_ORDER_PERFORMSORT = 1 Constant Long SC_ORDER_CUSTOM = 2 Constant Long SCI_AUTOCSETORDER = 2660 Constant Long SCI_AUTOCGETORDER = 2661 Constant Long SCI_ALLOCATE = 2446 Constant Long SCI_TARGETASUTF8 = 2447 Constant Long SCI_SETLENGTHFORENCODE = 2448 Constant Long SCI_ENCODEDFROMUTF8 = 2449 Constant Long SCI_FINDCOLUMN = 2456 Constant Long SCI_GETCARETSTICKY = 2457 Constant Long SCI_SETCARETSTICKY = 2458 Constant Long SC_CARETSTICKY_OFF = 0 Constant Long SC_CARETSTICKY_ON = 1 Constant Long SC_CARETSTICKY_WHITESPACE = 2 Constant Long SCI_TOGGLECARETSTICKY = 2459 Constant Long SCI_SETPASTECONVERTENDINGS = 2467 Constant Long SCI_GETPASTECONVERTENDINGS = 2468 Constant Long SCI_SELECTIONDUPLICATE = 2469 Constant Long SC_ALPHA_TRANSPARENT = 0 Constant Long SC_ALPHA_OPAQUE = 255 Constant Long SC_ALPHA_NOALPHA = 256 Constant Long SCI_SETCARETLINEBACKALPHA = 2470 Constant Long SCI_GETCARETLINEBACKALPHA = 2471 Constant Long CARETSTYLE_INVISIBLE = 0 Constant Long CARETSTYLE_LINE = 1 Constant Long CARETSTYLE_BLOCK = 2 Constant Long SCI_SETCARETSTYLE = 2512 Constant Long SCI_GETCARETSTYLE = 2513 Constant Long SCI_SETINDICATORCURRENT = 2500 Constant Long SCI_GETINDICATORCURRENT = 2501 Constant Long SCI_SETINDICATORVALUE = 2502 Constant Long SCI_GETINDICATORVALUE = 2503 Constant Long SCI_INDICATORFILLRANGE = 2504 Constant Long SCI_INDICATORCLEARRANGE = 2505 Constant Long SCI_INDICATORALLONFOR = 2506 Constant Long SCI_INDICATORVALUEAT = 2507 Constant Long SCI_INDICATORSTART = 2508 Constant Long SCI_INDICATOREND = 2509 Constant Long SCI_SETPOSITIONCACHE = 2514 Constant Long SCI_GETPOSITIONCACHE = 2515 Constant Long SCI_COPYALLOWLINE = 2519 Constant Long SCI_GETCHARACTERPOINTER = 2520 Constant Long SCI_GETRANGEPOINTER = 2643 Constant Long SCI_GETGAPPOSITION = 2644 Constant Long SCI_INDICSETALPHA = 2523 Constant Long SCI_INDICGETALPHA = 2524 Constant Long SCI_INDICSETOUTLINEALPHA = 2558 Constant Long SCI_INDICGETOUTLINEALPHA = 2559 Constant Long SCI_SETEXTRAASCENT = 2525 Constant Long SCI_GETEXTRAASCENT = 2526 Constant Long SCI_SETEXTRADESCENT = 2527 Constant Long SCI_GETEXTRADESCENT = 2528 Constant Long SCI_MARKERSYMBOLDEFINED = 2529 Constant Long SCI_MARGINSETTEXT = 2530 Constant Long SCI_MARGINGETTEXT = 2531 Constant Long SCI_MARGINSETSTYLE = 2532 Constant Long SCI_MARGINGETSTYLE = 2533 Constant Long SCI_MARGINSETSTYLES = 2534 Constant Long SCI_MARGINGETSTYLES = 2535 Constant Long SCI_MARGINTEXTCLEARALL = 2536 Constant Long SCI_MARGINSETSTYLEOFFSET = 2537 Constant Long SCI_MARGINGETSTYLEOFFSET = 2538 Constant Long SC_MARGINOPTION_NONE = 0 Constant Long SC_MARGINOPTION_SUBLINESELECT = 1 Constant Long SCI_SETMARGINOPTIONS = 2539 Constant Long SCI_GETMARGINOPTIONS = 2557 Constant Long SCI_ANNOTATIONSETTEXT = 2540 Constant Long SCI_ANNOTATIONGETTEXT = 2541 Constant Long SCI_ANNOTATIONSETSTYLE = 2542 Constant Long SCI_ANNOTATIONGETSTYLE = 2543 Constant Long SCI_ANNOTATIONSETSTYLES = 2544 Constant Long SCI_ANNOTATIONGETSTYLES = 2545 Constant Long SCI_ANNOTATIONGETLINES = 2546 Constant Long SCI_ANNOTATIONCLEARALL = 2547 Constant Long ANNOTATION_HIDDEN = 0 Constant Long ANNOTATION_STANDARD = 1 Constant Long ANNOTATION_BOXED = 2 Constant Long ANNOTATION_INDENTED = 3 Constant Long SCI_ANNOTATIONSETVISIBLE = 2548 Constant Long SCI_ANNOTATIONGETVISIBLE = 2549 Constant Long SCI_ANNOTATIONSETSTYLEOFFSET = 2550 Constant Long SCI_ANNOTATIONGETSTYLEOFFSET = 2551 Constant Long SCI_RELEASEALLEXTENDEDSTYLES = 2552 Constant Long SCI_ALLOCATEEXTENDEDSTYLES = 2553 Constant Long UNDO_MAY_COALESCE = 1 Constant Long SCI_ADDUNDOACTION = 2560 Constant Long SCI_CHARPOSITIONFROMPOINT = 2561 Constant Long SCI_CHARPOSITIONFROMPOINTCLOSE = 2562 Constant Long SCI_SETMOUSESELECTIONRECTANGULARSWITCH = 2668 Constant Long SCI_GETMOUSESELECTIONRECTANGULARSWITCH = 2669 Constant Long SCI_SETMULTIPLESELECTION = 2563 Constant Long SCI_GETMULTIPLESELECTION = 2564 Constant Long SCI_SETADDITIONALSELECTIONTYPING = 2565 Constant Long SCI_GETADDITIONALSELECTIONTYPING = 2566 Constant Long SCI_SETADDITIONALCARETSBLINK = 2567 Constant Long SCI_GETADDITIONALCARETSBLINK = 2568 Constant Long SCI_SETADDITIONALCARETSVISIBLE = 2608 Constant Long SCI_GETADDITIONALCARETSVISIBLE = 2609 Constant Long SCI_GETSELECTIONS = 2570 Constant Long SCI_GETSELECTIONEMPTY = 2650 Constant Long SCI_CLEARSELECTIONS = 2571 Constant Long SCI_SETSELECTION = 2572 Constant Long SCI_ADDSELECTION = 2573 Constant Long SCI_DROPSELECTIONN = 2671 Constant Long SCI_SETMAINSELECTION = 2574 Constant Long SCI_GETMAINSELECTION = 2575 Constant Long SCI_SETSELECTIONNCARET = 2576 Constant Long SCI_GETSELECTIONNCARET = 2577 Constant Long SCI_SETSELECTIONNANCHOR = 2578 Constant Long SCI_GETSELECTIONNANCHOR = 2579 Constant Long SCI_SETSELECTIONNCARETVIRTUALSPACE = 2580 Constant Long SCI_GETSELECTIONNCARETVIRTUALSPACE = 2581 Constant Long SCI_SETSELECTIONNANCHORVIRTUALSPACE = 2582 Constant Long SCI_GETSELECTIONNANCHORVIRTUALSPACE = 2583 Constant Long SCI_SETSELECTIONNSTART = 2584 Constant Long SCI_GETSELECTIONNSTART = 2585 Constant Long SCI_SETSELECTIONNEND = 2586 Constant Long SCI_GETSELECTIONNEND = 2587 Constant Long SCI_SETRECTANGULARSELECTIONCARET = 2588 Constant Long SCI_GETRECTANGULARSELECTIONCARET = 2589 Constant Long SCI_SETRECTANGULARSELECTIONANCHOR = 2590 Constant Long SCI_GETRECTANGULARSELECTIONANCHOR = 2591 Constant Long SCI_SETRECTANGULARSELECTIONCARETVIRTUALSPACE = 2592 Constant Long SCI_GETRECTANGULARSELECTIONCARETVIRTUALSPACE = 2593 Constant Long SCI_SETRECTANGULARSELECTIONANCHORVIRTUALSPACE = 2594 Constant Long SCI_GETRECTANGULARSELECTIONANCHORVIRTUALSPACE = 2595 Constant Long SCVS_NONE = 0 Constant Long SCVS_RECTANGULARSELECTION = 1 Constant Long SCVS_USERACCESSIBLE = 2 Constant Long SCVS_NOWRAPLINESTART = 4 Constant Long SCI_SETVIRTUALSPACEOPTIONS = 2596 Constant Long SCI_GETVIRTUALSPACEOPTIONS = 2597 Constant Long SCI_SETRECTANGULARSELECTIONMODIFIER = 2598 Constant Long SCI_GETRECTANGULARSELECTIONMODIFIER = 2599 Constant Long SCI_SETADDITIONALSELFORE = 2600 Constant Long SCI_SETADDITIONALSELBACK = 2601 Constant Long SCI_SETADDITIONALSELALPHA = 2602 Constant Long SCI_GETADDITIONALSELALPHA = 2603 Constant Long SCI_SETADDITIONALCARETFORE = 2604 Constant Long SCI_GETADDITIONALCARETFORE = 2605 Constant Long SCI_ROTATESELECTION = 2606 Constant Long SCI_SWAPMAINANCHORCARET = 2607 Constant Long SCI_MULTIPLESELECTADDNEXT = 2688 Constant Long SCI_MULTIPLESELECTADDEACH = 2689 Constant Long SCI_CHANGELEXERSTATE = 2617 Constant Long SCI_CONTRACTEDFOLDNEXT = 2618 Constant Long SCI_VERTICALCENTRECARET = 2619 Constant Long SCI_MOVESELECTEDLINESUP = 2620 Constant Long SCI_MOVESELECTEDLINESDOWN = 2621 Constant Long SCI_SETIDENTIFIER = 2622 Constant Long SCI_GETIDENTIFIER = 2623 Constant Long SCI_RGBAIMAGESETWIDTH = 2624 Constant Long SCI_RGBAIMAGESETHEIGHT = 2625 Constant Long SCI_RGBAIMAGESETSCALE = 2651 Constant Long SCI_MARKERDEFINERGBAIMAGE = 2626 Constant Long SCI_REGISTERRGBAIMAGE = 2627 Constant Long SCI_SCROLLTOSTART = 2628 Constant Long SCI_SCROLLTOEND = 2629 Constant Long SC_TECHNOLOGY_DEFAULT = 0 Constant Long SC_TECHNOLOGY_DIRECTWRITE = 1 Constant Long SC_TECHNOLOGY_DIRECTWRITERETAIN = 2 Constant Long SC_TECHNOLOGY_DIRECTWRITEDC = 3 Constant Long SCI_SETTECHNOLOGY = 2630 Constant Long SCI_GETTECHNOLOGY = 2631 Constant Long SCI_CREATELOADER = 2632 Constant Long SCI_FINDINDICATORSHOW = 2640 Constant Long SCI_FINDINDICATORFLASH = 2641 Constant Long SCI_FINDINDICATORHIDE = 2642 Constant Long SCI_VCHOMEDISPLAY = 2652 Constant Long SCI_VCHOMEDISPLAYEXTEND = 2653 Constant Long SCI_GETCARETLINEVISIBLEALWAYS = 2654 Constant Long SCI_SETCARETLINEVISIBLEALWAYS = 2655 Constant Long SC_LINE_END_TYPE_DEFAULT = 0 Constant Long SC_LINE_END_TYPE_UNICODE = 1 Constant Long SCI_SETLINEENDTYPESALLOWED = 2656 Constant Long SCI_GETLINEENDTYPESALLOWED = 2657 Constant Long SCI_GETLINEENDTYPESACTIVE = 2658 Constant Long SCI_SETREPRESENTATION = 2665 Constant Long SCI_GETREPRESENTATION = 2666 Constant Long SCI_CLEARREPRESENTATION = 2667 Constant Long SCI_STARTRECORD = 3001 Constant Long SCI_STOPRECORD = 3002 Constant Long SCI_SETLEXER = 4001 Constant Long SCI_GETLEXER = 4002 Constant Long SCI_COLOURISE = 4003 Constant Long SCI_SETPROPERTY = 4004 Constant Long KEYWORDSET_MAX = 8 Constant Long SCI_SETKEYWORDS = 4005 Constant Long SCI_SETLEXERLANGUAGE = 4006 Constant Long SCI_LOADLEXERLIBRARY = 4007 Constant Long SCI_GETPROPERTY = 4008 Constant Long SCI_GETPROPERTYEXPANDED = 4009 Constant Long SCI_GETPROPERTYINT = 4010 Constant Long SCI_GETLEXERLANGUAGE = 4012 Constant Long SCI_PRIVATELEXERCALL = 4013 Constant Long SCI_PROPERTYNAMES = 4014 Constant Long SC_TYPE_BOOLEAN = 0 Constant Long SC_TYPE_INTEGER = 1 Constant Long SC_TYPE_STRING = 2 Constant Long SCI_PROPERTYTYPE = 4015 Constant Long SCI_DESCRIBEPROPERTY = 4016 Constant Long SCI_DESCRIBEKEYWORDSETS = 4017 Constant Long SCI_GETLINEENDTYPESSUPPORTED = 4018 Constant Long SCI_ALLOCATESUBSTYLES = 4020 Constant Long SCI_GETSUBSTYLESSTART = 4021 Constant Long SCI_GETSUBSTYLESLENGTH = 4022 Constant Long SCI_GETSTYLEFROMSUBSTYLE = 4027 Constant Long SCI_GETPRIMARYSTYLEFROMSTYLE = 4028 Constant Long SCI_FREESUBSTYLES = 4023 Constant Long SCI_SETIDENTIFIERS = 4024 Constant Long SCI_DISTANCETOSECONDARYSTYLES = 4025 Constant Long SCI_GETSUBSTYLEBASES = 4026 Constant Long SCI_GETNAMEDSTYLES = 4029 Constant Long SCI_NAMEOFSTYLE = 4030 Constant Long SCI_TAGSOFSTYLE = 4031 Constant Long SCI_DESCRIPTIONOFSTYLE = 4032 Constant Long SC_MOD_INSERTTEXT = 1 Constant Long SC_MOD_DELETETEXT = 2 Constant Long SC_MOD_CHANGESTYLE = 4 Constant Long SC_MOD_CHANGEFOLD = 8 Constant Long SC_PERFORMED_USER = 16 Constant Long SC_PERFORMED_UNDO = 32 Constant Long SC_PERFORMED_REDO = 64 Constant Long SC_MULTISTEPUNDOREDO = 128 Constant Long SC_LASTSTEPINUNDOREDO = 256 Constant Long SC_MOD_CHANGEMARKER = 512 Constant Long SC_MOD_BEFOREINSERT = 1024 Constant Long SC_MOD_BEFOREDELETE = 2048 Constant Long SC_MULTILINEUNDOREDO = 4096 Constant Long SC_STARTACTION = 8192 Constant Long SC_MOD_CHANGEINDICATOR = 16384 Constant Long SC_MOD_CHANGELINESTATE = 32768 Constant Long SC_MOD_CHANGEMARGIN = 65536 Constant Long SC_MOD_CHANGEANNOTATION = 131072 Constant Long SC_MOD_CONTAINER = 262144 Constant Long SC_MOD_LEXERSTATE = 524288 Constant Long SC_MOD_INSERTCHECK = 1048576 Constant Long SC_MOD_CHANGETABSTOPS = 2097152 Constant Long SC_MODEVENTMASKALL = 1048575 Constant Long SC_UPDATE_CONTENT = 1 Constant Long SC_UPDATE_SELECTION = 2 Constant Long SC_UPDATE_V_SCROLL = 4 Constant Long SC_UPDATE_H_SCROLL = 8 Constant Long SCEN_CHANGE = 768 Constant Long SCEN_SETFOCUS = 512 Constant Long SCEN_KILLFOCUS = 256 Constant Long SCK_DOWN = 300 Constant Long SCK_UP = 301 Constant Long SCK_LEFT = 302 Constant Long SCK_RIGHT = 303 Constant Long SCK_HOME = 304 Constant Long SCK_END = 305 Constant Long SCK_PRIOR = 306 Constant Long SCK_NEXT = 307 Constant Long SCK_DELETE = 308 Constant Long SCK_INSERT = 309 Constant Long SCK_ESCAPE = 7 Constant Long SCK_BACK = 8 Constant Long SCK_TAB = 9 Constant Long SCK_RETURN = 13 Constant Long SCK_ADD = 310 Constant Long SCK_SUBTRACT = 311 Constant Long SCK_DIVIDE = 312 Constant Long SCK_WIN = 313 Constant Long SCK_RWIN = 314 Constant Long SCK_MENU = 315 Constant Long SCMOD_NORM = 0 Constant Long SCMOD_SHIFT = 1 Constant Long SCMOD_CTRL = 2 Constant Long SCMOD_ALT = 4 Constant Long SCMOD_SUPER = 8 Constant Long SCMOD_META = 16 Constant Long SC_AC_FILLUP = 1 Constant Long SC_AC_DOUBLECLICK = 2 Constant Long SC_AC_TAB = 3 Constant Long SC_AC_NEWLINE = 4 Constant Long SC_AC_COMMAND = 5 Constant Long SCN_STYLENEEDED = 2000 Constant Long SCN_CHARADDED = 2001 Constant Long SCN_SAVEPOINTREACHED = 2002 Constant Long SCN_SAVEPOINTLEFT = 2003 Constant Long SCN_MODIFYATTEMPTRO = 2004 Constant Long SCN_KEY = 2005 Constant Long SCN_DOUBLECLICK = 2006 Constant Long SCN_UPDATEUI = 2007 Constant Long SCN_MODIFIED = 2008 Constant Long SCN_MACRORECORD = 2009 Constant Long SCN_MARGINCLICK = 2010 Constant Long SCN_NEEDSHOWN = 2011 Constant Long SCN_PAINTED = 2013 Constant Long SCN_USERLISTSELECTION = 2014 Constant Long SCN_URIDROPPED = 2015 Constant Long SCN_DWELLSTART = 2016 Constant Long SCN_DWELLEND = 2017 Constant Long SCN_ZOOM = 2018 Constant Long SCN_HOTSPOTCLICK = 2019 Constant Long SCN_HOTSPOTDOUBLECLICK = 2020 Constant Long SCN_CALLTIPCLICK = 2021 Constant Long SCN_AUTOCSELECTION = 2022 Constant Long SCN_INDICATORCLICK = 2023 Constant Long SCN_INDICATORRELEASE = 2024 Constant Long SCN_AUTOCCANCELLED = 2025 Constant Long SCN_AUTOCCHARDELETED = 2026 Constant Long SCN_HOTSPOTRELEASECLICK = 2027 Constant Long SCN_FOCUSIN = 2028 Constant Long SCN_FOCUSOUT = 2029 Constant Long SCN_AUTOCCOMPLETED = 2030 Constant Long SCN_MARGINRIGHTCLICK = 2031 Constant Long SCN_AUTOCSELECTIONCHANGE = 2032 end variables forward prototypes public subroutine of_showlinenumbers (boolean ab_show) public function boolean of_ismodified () public function string of_gettext () public function long of_getcurrentcolumn () public function long of_getcurrentline () public function string of_getselectedtext () public function boolean of_canundo () public function boolean of_canpaste () public function boolean of_cancopy () public function long of_gettabwidth () public function long of_sendeditor (long al_msg, long al_parm1, long al_parm2) public function long of_sendeditor (long al_msg, long al_parm1) public subroutine of_enablefolding () public function long of_sendeditor (long al_msg) public function long of_sendeditor (long al_msg, long al_parm1, ref string as_parm2) public subroutine of_set_sql () public subroutine of_set_powerbuilder () public function boolean of_isovertype () public function boolean of_canredo () public function boolean of_markeractive (long al_linenumber) public function long of_markernext (long al_linenumber) public function long of_markerprev (long al_linenumber) public function long of_markeradd (long al_type, long al_line, long al_color) public subroutine of_commentselected () public subroutine of_uncommentselected () public function long of_gettextlength () public subroutine of_showwhitespace (boolean ab_show) public subroutine of_showeol (boolean ab_show) public subroutine of_emptyclipboard () public function long of_getselectedlength () public subroutine of_indentselected () public subroutine of_unindentselected () public subroutine of_changecase (textcase a_case) public subroutine of_delete () public subroutine of_wordcap () public subroutine of_clear () public subroutine of_copy () public subroutine of_cut () public subroutine of_gotoline (long al_line) public subroutine of_gotopos (long al_pos) public subroutine of_gotoprevtab () public subroutine of_markerdelete (long al_linenumber) public subroutine of_markerdeleteall () public subroutine of_paste () public subroutine of_redo () public subroutine of_selectall () public subroutine of_selecttext (long al_start, long al_length) public subroutine of_setencoding (encoding aencoding) public subroutine of_setfontbold (boolean ab_bold) public subroutine of_setfontitalic (boolean ab_italic) public subroutine of_setnotmodified () public subroutine of_setovertype (boolean ab_overtype) public subroutine of_setusepopup (boolean ab_usepopup) public subroutine of_showindentguides (boolean ab_show) public subroutine of_undo () public subroutine of_setseparator (character ac_separator) public subroutine of_setdwelltime (long al_dwelldelay) public subroutine of_zoomin () public subroutine of_zoomout () public function long of_getzoomlevel () public subroutine of_macrorecording (boolean ab_record) public function string of_stringptr (long textptr, charset textcharset) public subroutine of_setreadonly (boolean ab_readonly) public subroutine of_print (boolean ab_showdialog) public function long of_getlinefrompos (long al_caretpos) public subroutine of_markerdefine (long al_index, long al_type, long al_color) public function long of_markeradd (long al_index, long al_line) public subroutine of_markerdelete (long al_index, long al_linenumber) public subroutine of_markercolor (long al_index, long al_forecolor, long al_backcolor) public function long of_getcurrentpos () public function long of_getlexer () public function long of_getlinecount () public function long of_sendeditor (long al_msg, string as_parm1, string as_parm2) public subroutine of_inserttext (ref string as_text) public subroutine of_replaceselectedtext (ref string as_text) public subroutine of_setlanguage (string as_language) public subroutine of_settext (ref string as_text) public function long of_gettextheight (long al_line) public function long of_getwrapmode () public function long of_getwrapvisualflags () public function long of_getwhitespace () public subroutine of_setfont (string as_font) public function long of_color (string as_colorname) public function long of_gettextwidth (long al_stylenumber, ref string as_text) public subroutine of_setstyleeolfilled (long al_style, boolean ab_option) public subroutine of_setstyleitalic (long al_style, boolean ab_option) public subroutine of_setstyleunderline (long al_style, boolean ab_option) public subroutine of_setstylebold (long al_style, boolean ab_option) public subroutine of_autocshow (long al_entered, ref string as_list) public subroutine of_autocstops (string as_list) public subroutine of_setstylefont (long al_style, string as_font) public subroutine of_autoccancel () public function boolean of_autocactive () public subroutine of_autocsetseparator (character ac_separator) public function boolean of_getreadonly () public subroutine of_loadlexerlibrary (string as_library) public subroutine of_setkeywords (long al_wordset, ref string as_keywords) public subroutine of_setlexer (long al_lexer) public subroutine of_setproperty (string as_keyword, string as_value) public subroutine of_setwrapmode (long al_wrapmode) public subroutine of_setwrapvisualflags (long al_wrapvisualflags) public function long of_autocposstart () public subroutine of_autoccomplete () public subroutine of_autocsetmaxheight (long al_rowcount) public subroutine of_autocsetignorecase (boolean ab_ignorecase) public subroutine of_autocsetmaxwidth (long al_charcount) public subroutine of_autocsetautohide (boolean ab_option) public subroutine of_autocsetfillups (string as_list) public subroutine of_autocsetorder (long al_order) public subroutine of_registerimage (long al_index, ref string as_xpmdata) public subroutine of_clearregisteredimages () public subroutine of_autocsettypeseparator (character ac_separator) public subroutine of_setwordwrap (boolean ab_wordwrap) public subroutine of_set_powershell () public subroutine of_set_xml () public function long of_getstyleat (long al_pos) public function long of_getviewws () public subroutine of_userlistshow (long al_listtype, ref string as_list) public subroutine of_cleardocumentstyle () public subroutine of_setviewws (long al_wsmode) public function long of_getsyscolor (long al_index) public subroutine of_seteolmode (long al_eolmode) public subroutine of_converteols (long al_eolmode) public function long of_geteolmode () public function string of_getkeywords (long al_keyset, string as_language) public subroutine of_setfontsize (long al_size) public subroutine of_settabwidth (long al_width) public subroutine of_zoomlevel (long al_level) public subroutine of_setstylesize (long al_style, long al_size) public subroutine of_setmarginwidth (long al_margin, long al_width) public subroutine of_setmarginbackcolor (long al_color) public subroutine of_setmargintextcolor (long al_color) public subroutine of_setselectcolor (long al_color) public subroutine of_setwhitespacefore (boolean ab_option, long al_color) public subroutine of_setwhitespaceback (boolean ab_option, long al_color) public subroutine of_setstylefore (long al_style, long al_color) public subroutine of_setstyleback (long al_style, long al_color) public subroutine of_setfoldforecolor (long al_color) public subroutine of_setfoldbackcolor (long al_color) public subroutine of_set_nolanguage () public subroutine of_setbackcolor (long al_color) public subroutine of_settextcolor (long al_color) public subroutine of_righttrimselected () public subroutine of_lefttrimselected () public function boolean of_sortarray (ref string as_array[], string as_order) public subroutine of_sortselected (string as_order) public subroutine of_setcaretcolor (long al_color) public subroutine of_setcaretbackground (boolean ab_visible) public subroutine of_deleteline (long al_line) public function long of_getposfromline (long al_line) public subroutine of_registerrgbaimage (long al_index, ref blob ablb_pixels, long al_width, long al_height) public subroutine of_setedgemode (long al_mode) public subroutine of_setedgecolumn (long al_column) public subroutine of_setedgecolor (long al_color) public subroutine of_setcharacterset (long al_charset) public subroutine of_setstylecharset (long al_style, long al_charset) public subroutine of_getstylecharset (long al_style, ref long al_charsetnbr, ref string as_charsetdesc) public subroutine of_set_json () public subroutine of_setfirstvisibleline (long al_line) public function string of_getlinetextfrompos (long al_caretpos) public function boolean of_find (ref string as_findstring) public function long of_findall (ref string as_findstring) public function long of_replaceall (ref string as_findstring, ref string as_replacestring) public subroutine of_setfindoptions (boolean ab_matchcase, boolean ab_wholeword, boolean ab_wordstart, boolean ab_regex, boolean ab_backwards, boolean ab_ignorecomment) public function boolean of_iscommented (readonly long al_pos) public function long of_sendeditor (long al_msg, long al_parm1, ref blob ablb_parm2) public function long of_sendeditorlen (long al_msg, ref string as_parm2) public function long of_split (string as_text, string as_sep, ref string as_array[]) public subroutine of_showlinenumbers (boolean ab_show, integer ai_width) public subroutine of_addtext (string as_text) public subroutine of_appendtext (string as_text) end prototypes event losefocus;// losefocus Long caretPos String ls_tab = "~t" If KeyDown(KeyTab!) Then If of_GetSelectedLength() > 0 Then If KeyDown(KeyShift!) Then // unindent selected lines of_UnindentSelected() Else // indent selected lines of_IndentSelected() End If Else If KeyDown(KeyShift!) Then // move caret back by tab width of_GotoPrevTab() Else // insert a tab and move caret ahead one caretPos = of_SendEditor(SCI_GETCURRENTPOS) of_SendEditor(SCI_INSERTTEXT, caretPos, ls_tab) of_SendEditor(SCI_GOTOPOS, caretPos + 1) End If End If This.SetFocus() End If end event event getfocus;// getfocus end event event scn_marginclick(long modifiers, long position, long margin);// A margin set as sensitive was left clicked Long ll_line ll_line = of_SendEditor(SCI_LINEFROMPOSITION, Position, 0) Choose Case margin Case MARGIN_SCRIPT_FOLD_INDEX // toggle folding on the line of_SendEditor(SCI_TOGGLEFOLD, ll_line, 0) End Choose end event event scn_updateui();// update user interface end event event editchanged;// editchanged end event event scn_savepoint(boolean reached);// savepoint reached or left end event event wm_notify;scNotification scn String ls_text Char lc_char Long ll_startPos, ll_lineNumber // copy structure to local CopyNotification(scn, lparam, 96) // process notification messages Choose Case scn.code Case SCN_AUTOCCANCELLED This.Event scn_autoccancelled() Case SCN_AUTOCCHARDELETED This.Event scn_autocchardeleted() Case SCN_AUTOCCOMPLETED ls_text = of_StringPtr(scn.Text, CharsetAnsi!) lc_char = Char(scn.ch) This.Event scn_autoccompleted(scn.Position, ls_text, lc_char, scn.listCompletionMethod) Case SCN_AUTOCSELECTION ls_text = of_StringPtr(scn.Text, CharsetAnsi!) lc_char = Char(scn.ch) This.Event scn_autocselection(scn.Position, ls_text, lc_char, scn.listCompletionMethod) Case SCN_CALLTIPCLICK This.Event scn_calltipclick(scn.Position) Case SCN_CHARADDED lc_char = Char(scn.ch) This.Event scn_charadded(lc_char) Case SCN_DOUBLECLICK This.Event scn_doubleclick(scn.Position, scn.Line) Case SCN_DWELLSTART This.Event scn_dwellstart(scn.Position, scn.X, scn.Y) Case SCN_DWELLEND This.Event scn_dwellend(scn.Position, scn.X, scn.Y) Case SCN_FOCUSIN This.Event scn_focusin() Case SCN_FOCUSOUT This.Event scn_focusout() Case SCN_HOTSPOTCLICK This.Event scn_hotspotclick(scn.Position, scn.modifiers) Case SCN_HOTSPOTDOUBLECLICK This.Event scn_hotspotdoubleclick(scn.Position, scn.modifiers) Case SCN_HOTSPOTRELEASECLICK This.Event scn_hotspotreleaseclick(scn.Position, scn.modifiers) Case SCN_INDICATORCLICK This.Event scn_indicatorclick(scn.Position, scn.modifiers) Case SCN_INDICATORRELEASE This.Event scn_indicatorrelease(scn.Position, scn.modifiers) Case SCN_MACRORECORD This.Event scn_macrorecord(scn.Message, scn.wparam, scn.lparam) Case SCN_MARGINCLICK This.Event scn_marginclick(scn.modifiers, scn.Position, scn.margin) Case SCN_MARGINRIGHTCLICK This.Event scn_marginrightclick(scn.modifiers, scn.Position, scn.margin) Case SCN_MODIFIED This.Event scn_modified(scn) Case SCN_MODIFYATTEMPTRO This.Event scn_modifyattemptro() Case SCN_NEEDSHOWN This.Event scn_needshown(scn.Position, scn.Length) Case SCN_PAINTED This.Event scn_painted() Case SCN_SAVEPOINTREACHED This.Event scn_savepoint(True) Case SCN_SAVEPOINTLEFT This.Event scn_savepoint(False) Case SCN_STYLENEEDED ll_startPos = of_SendEditor(SCI_GETENDSTYLED) ll_lineNumber = of_SendEditor(SCI_LINEFROMPOSITION, ll_startPos) ll_startPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_lineNumber) This.Event scn_styleneeded(ll_startPos, scn.Position) Case SCN_UPDATEUI This.Event scn_updateui() Case SCN_USERLISTSELECTION ls_text = of_StringPtr(scn.Text, CharsetAnsi!) lc_char = Char(scn.ch) This.Event scn_userlistselection(scn.listType, ls_text, scn.Position, lc_char, scn.listCompletionMethod) Case SCN_ZOOM This.Event scn_zoom() End Choose Return 0 end event event scn_userlistselection(unsignedlong listtype, string selectedtext, long startposition, character ch, long listcompletionmethod);// user list selection end event event scn_autocselection(long startposition, string selectedtext, character ch, long listcompletionmethod);// autocompletion list item selected end event event scn_autoccancelled();// autocompletion list cancelled end event event scn_dwellstart(long position, long xpos, long ypos);// mouse dwell start end event event scn_dwellend(long position, long xpos, long ypos);// mouse dwell end end event event scn_modifyattemptro();// user attempted to change text while in readonly mode end event event scn_zoom();// the zoom level changed end event event scn_doubleclick(long position, long line);// user double clicked end event event scn_macrorecord(long msg, unsignedlong wparam, long lparam);// macro recordable event occurred end event event scn_calltipclick(long position);// call tip clicked on end event event scn_hotspotclick(long position, long modifiers);// hot spot clicked end event event scn_hotspotdoubleclick(long position, long modifiers);// hot spot double clicked end event event scn_indicatorclick(long position, long modifiers);// indicator clicked end event event scn_indicatorrelease(long position, long modifiers);// indicator released end event event scn_focusin();// focus received end event event scn_focusout();// focus lost end event event scn_autocchardeleted();// character deleted while autocompletion list was active end event event scn_charadded(character ch);// user typed a regular character end event event scn_hotspotreleaseclick(long position, long modifiers);// hot spot release clicked end event event scn_painted();// painting has just been done end event event scn_needshown(long position, long length);// a currently invisible range should be made visible end event event scn_styleneeded(long linestart, long position);// styling is needed end event event scn_modified(scnotification scn);// This notification is sent when the text or styling of the // document changes or is about to change. end event event wm_char;// Windows wm_char event Character TAB = "~t" // discard extra TAB characters If Key = TAB Then Return 1 End If Return 0 end event event scn_autoccompleted(long startposition, string selectedtext, character ch, long listcompletionmethod);// autocompletion text has been inserted end event event scn_marginrightclick(long modifiers, long position, long margin);// A margin set as sensitive was right clicked end event public subroutine of_showlinenumbers (boolean ab_show);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ShowLineNumbers // // PURPOSE: This function will toggle line numbers on/off // // ARGUMENTS: ab_show - True=Show line numbers, False=Do not show them // // RETURN: None // ----------------------------------------------------------------------------- #ShowNumbers = ab_show If #ShowNumbers Then of_SendEditor(SCI_SETMARGINWIDTHN, 0, 55) Else of_SendEditor(SCI_SETMARGINWIDTHN, 0, 0) End If end subroutine public function boolean of_ismodified ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_IsModified // // PURPOSE: This function returns whether text has been modified // // RETURN: True=Text modified, False=Text not modified // ----------------------------------------------------------------------------- If of_SendEditor(SCI_GETMODIFY) <= 0 Then Return False Else Return True End If end function public function string of_gettext ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetText // // PURPOSE: This function returns the text in the control // // RETURN: The text contained in the control // ----------------------------------------------------------------------------- String ls_text Long ll_length // get the length of the text ll_length = of_SendEditor(SCI_GETTEXTLENGTH) + 1 ls_text = Space(ll_length) of_SendEditor(SCI_GETTEXT, ll_length, ls_text) Return ls_text end function public function long of_getcurrentcolumn ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetCurrentColumn // // PURPOSE: This function returns the column that the caret is on // // RETURN: The column number // ----------------------------------------------------------------------------- Long caretPos caretPos = of_SendEditor(SCI_GETCURRENTPOS) Return of_SendEditor(SCI_GETCOLUMN, caretPos) + 1 end function public function long of_getcurrentline ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetCurrentLine // // PURPOSE: This function returns the line that the caret is on // // RETURN: The line number // ----------------------------------------------------------------------------- Long caretPos caretPos = of_SendEditor(SCI_GETCURRENTPOS) Return of_SendEditor(SCI_LINEFROMPOSITION, caretPos) + 1 end function public function string of_getselectedtext ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetSelectedText // // PURPOSE: This function returns the selected text in the control // // RETURN: The selected text // ----------------------------------------------------------------------------- String ls_text Long ll_length // get the length of the text ll_length = of_SendEditor(SCI_GETSELECTIONEND) - of_SendEditor(SCI_GETSELECTIONSTART) ls_text = Space(ll_length) of_SendEditor(SCI_GETSELTEXT, ll_length, ls_text) Return ls_text end function public function boolean of_canundo ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_CanUndo // // PURPOSE: This function determines if anything to undo // // RETURN: True=Changes to undo, False=No changes to undo // ----------------------------------------------------------------------------- If of_SendEditor(SCI_CANUNDO) = 0 Then Return False Else Return True End If end function public function boolean of_canpaste ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_CanPaste // // PURPOSE: This function determines if anything to paste // // RETURN: True=Text to paste, False=No text to paste // ----------------------------------------------------------------------------- If of_SendEditor(SCI_CANPASTE) = 0 Then Return False Else Return True End If end function public function boolean of_cancopy ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_CanCopy // // PURPOSE: This function determines if anything to copy // // RETURN: True=Text to copy, False=No text to copy // ----------------------------------------------------------------------------- Long ll_length ll_length = of_SendEditor(SCI_GETSELECTIONEND) - of_SendEditor(SCI_GETSELECTIONSTART) If ll_length > 0 Then Return True Else Return False End If end function public function long of_gettabwidth ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetTabWidth // // PURPOSE: This function will return the current tab spacing // // RETURN: Tab width // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETTABWIDTH) end function public function long of_sendeditor (long al_msg, long al_parm1, long al_parm2);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditor // // PURPOSE: This function sends a message to the control // // ARGUMENTS: al_msg - Message number // al_parm1 - Message argument #1 // al_parm2 - Message argument #2 // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Return SciSend(il_hSciWnd, al_msg, al_parm1, al_parm2) end function public function long of_sendeditor (long al_msg, long al_parm1);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditor // // PURPOSE: This function sends a message to the control // // ARGUMENTS: al_msg - Message number // al_parm1 - Message argument #1 // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Return SciSend(il_hSciWnd, al_msg, al_parm1, 0) end function public subroutine of_enablefolding ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_EnableFolding // // PURPOSE: This function turns on folding and sets various options for // how it works and looks. // // RETURN: None // ----------------------------------------------------------------------------- String ls_option ls_option = '0' of_SendEditor(SCI_SETPROPERTY, "fold.compact", ls_option) ls_option = '1' of_SendEditor(SCI_SETPROPERTY, "fold", ls_option) of_SendEditor(SCI_SETPROPERTY, "fold.comment", ls_option) of_SendEditor(SCI_SETPROPERTY, "fold.preprocessor", ls_option) of_SendEditor(SCI_SETMARGINWIDTHN, MARGIN_SCRIPT_FOLD_INDEX, 20) of_SendEditor(SCI_SETMARGINTYPEN, MARGIN_SCRIPT_FOLD_INDEX, SC_MARGIN_SYMBOL) of_SendEditor(SCI_SETMARGINMASKN, MARGIN_SCRIPT_FOLD_INDEX, SC_MASK_FOLDERS) of_SendEditor(SCI_SETFOLDFLAGS, 16) // 16 - Draw line below if not expanded of_SendEditor(SCI_SETMARGINSENSITIVEN, MARGIN_SCRIPT_FOLD_INDEX, 1) // set marker shapes of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDER, SC_MARK_BOXPLUS) of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDEROPEN, SC_MARK_BOXMINUS) of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDEREND, SC_MARK_BOXPLUSCONNECTED) of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDEROPENMID, SC_MARK_BOXMINUSCONNECTED) of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDERMIDTAIL, SC_MARK_TCORNER) of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDERSUB, SC_MARK_VLINE) of_SendEditor(SCI_MARKERDEFINE, SC_MARKNUM_FOLDERTAIL, SC_MARK_LCORNER) // set default colors if needed If il_foldforecolor = -1 Then il_foldforecolor = il_backcolor End If If il_foldbackcolor = -1 Then il_foldbackcolor = il_margintextcolor End If // set marker margin colors of_SendEditor(SCI_SETFOLDMARGINCOLOUR, 1, il_marginbackcolor) of_SendEditor(SCI_SETFOLDMARGINHICOLOUR, 1, il_marginbackcolor) // set marker foreground colors of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDER, il_foldforecolor) of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDEROPEN, il_foldforecolor) of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDEREND, il_foldforecolor) of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDEROPENMID, il_foldforecolor) of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDERMIDTAIL, il_foldforecolor) of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDERSUB, il_foldforecolor) of_SendEditor(SCI_MARKERSETFORE, SC_MARKNUM_FOLDERTAIL, il_foldforecolor) // set marker background colors of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDER, il_foldbackcolor) of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDEROPEN, il_foldbackcolor) of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDEREND, il_foldbackcolor) of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDEROPENMID, il_foldbackcolor) of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDERMIDTAIL, il_foldbackcolor) of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDERSUB, il_foldbackcolor) of_SendEditor(SCI_MARKERSETBACK, SC_MARKNUM_FOLDERTAIL, il_foldbackcolor) end subroutine public function long of_sendeditor (long al_msg);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditor // // PURPOSE: This function sends a message to the control // // ARGUMENTS: al_msg - Message number // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Return SciSend(il_hSciWnd, al_msg, 0, 0) end function public function long of_sendeditor (long al_msg, long al_parm1, ref string as_parm2);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditor // // PURPOSE: This function sends a message to the control // // ARGUMENTS: al_msg - Message number // al_parm1 - Message argument #1 // as_parm2 - Message argument #2 // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Blob lblob_parm2 Long ll_return If #Encoding = EncodingAnsi! Then Return SciSendString(il_hSciWnd, al_msg, al_parm1, as_parm2) Else lblob_parm2 = Blob(as_parm2, EncodingUTF8!) ll_return = SciSendBlob(il_hSciWnd, al_msg, al_parm1, lblob_parm2) as_parm2 = String(lblob_parm2, EncodingUTF8!) Return ll_return End If end function public subroutine of_set_sql ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Set_SQL // // PURPOSE: This function will set the language, keywords and colors // for SQL files. // // RETURN: None // ----------------------------------------------------------------------------- Constant Long SCE_SQL_DEFAULT = 0 Constant Long SCE_SQL_COMMENT = 1 Constant Long SCE_SQL_COMMENTLINE = 2 Constant Long SCE_SQL_COMMENTDOC = 3 Constant Long SCE_SQL_NUMBER = 4 Constant Long SCE_SQL_WORD = 5 Constant Long SCE_SQL_STRING = 6 Constant Long SCE_SQL_CHARACTER = 7 Constant Long SCE_SQL_WORD2 = 16 String ls_keywords, ls_datatypes this.SetRedraw(False) // set the language of_SetLanguage("sql") of_EnableFolding() // set the comment characters is_commentchar1 = "--" is_commentchar2 = "" // set the keywords ls_keywords = of_GetKeywords(0, "sql") of_SetKeyWords(0, ls_keywords) ls_datatypes = of_GetKeywords(1, "sql") of_SetKeyWords(1, ls_datatypes) // set background/default text/select color of_SetBackColor(il_backcolor) of_SetTextColor(il_forecolor) of_SetSelectColor(il_selectcolor) // set language color of_SendEditor(SCI_STYLESETFORE, SCE_SQL_DEFAULT, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_COMMENT, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_COMMENTLINE, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_COMMENTDOC, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_NUMBER, of_color("Navy")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_WORD, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_STRING, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_CHARACTER, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_SQL_WORD2, of_color("Purple")) this.SetRedraw(True) end subroutine public subroutine of_set_powerbuilder ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Set_PowerBuilder // // PURPOSE: This function will set the language, keywords and colors // for PowerBuilder files. // // RETURN: None // ----------------------------------------------------------------------------- Constant Long SCE_C_DEFAULT = 0 Constant Long SCE_C_COMMENT = 1 Constant Long SCE_C_COMMENTLINE = 2 Constant Long SCE_C_COMMENTDOC = 3 Constant Long SCE_C_NUMBER = 4 Constant Long SCE_C_WORD = 5 Constant Long SCE_C_STRING = 6 Constant Long SCE_C_CHARACTER = 7 Constant Long SCE_C_WORD2 = 16 String ls_keywords, ls_datatypes this.SetRedraw(False) // set the language of_SetLanguage("cppnocase") // set the comment characters is_commentchar1 = "//" is_commentchar2 = "/*" // set the keywords ls_keywords = of_GetKeywords(0, "pb") of_SetKeyWords(0, ls_keywords) ls_datatypes = of_GetKeywords(1, "pb") of_SetKeyWords(1, ls_datatypes) // set background/default text/select color of_SetBackColor(il_backcolor) of_SetTextColor(il_forecolor) of_SetSelectColor(il_selectcolor) // set language color of_SendEditor(SCI_STYLESETFORE, SCE_C_DEFAULT, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_C_COMMENT, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_C_COMMENTLINE, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_C_COMMENTDOC, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_C_NUMBER, of_color("Navy")) of_SendEditor(SCI_STYLESETFORE, SCE_C_WORD, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_C_STRING, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_C_CHARACTER, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_C_WORD2, of_color("Purple")) this.SetRedraw(True) end subroutine public function boolean of_isovertype ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_IsOverType // // PURPOSE: This function returns whether overtype is active // // RETURN: True=On, False=Off // ----------------------------------------------------------------------------- If of_SendEditor(SCI_GETOVERTYPE) = 1 Then Return True Else Return False End If end function public function boolean of_canredo ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_CanRedo // // PURPOSE: This function determines if anything to redo // // RETURN: True=Changes to redo, False=No changes to redo // ----------------------------------------------------------------------------- If of_SendEditor(SCI_CANREDO) = 0 Then Return False Else Return True End If end function public function boolean of_markeractive (long al_linenumber);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerActive // // PURPOSE: This function determines a marker is active on the line // // ARGUMENTS: al_linenumber - The line number to be checked // // RETURN: True=Text to paste, False=No text to paste // ----------------------------------------------------------------------------- If of_SendEditor(SCI_MARKERGET, al_linenumber - 1, MARKER_NUM) = 0 Then Return False Else Return True End If end function public function long of_markernext (long al_linenumber);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerNext // // PURPOSE: This function will find the next marker // // ARGUMENTS: al_linenumber - The line number to start searching from // // RETURN: The line number or -1 if not found // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_MARKERNEXT, al_linenumber, MARKER_MASK) + 1 end function public function long of_markerprev (long al_linenumber);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerPrev // // PURPOSE: This function will find the previous marker // // ARGUMENTS: al_linenumber - The line number to start searching from // // RETURN: The line number or -1 if not found // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_MARKERPREVIOUS, al_linenumber - 2, MARKER_MASK) + 1 end function public function long of_markeradd (long al_type, long al_line, long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerAdd // // PURPOSE: This function will add a marker to the current line // // ARGUMENTS: al_type - The marker type ( SC_MARK_* ) // al_line - The line number to be marked // al_color - The background color // // RETURN: Marker handle // ----------------------------------------------------------------------------- of_SendEditor(SCI_MARKERDEFINE, MARKER_NUM, al_type) of_SendEditor(SCI_MARKERSETBACK, MARKER_NUM, al_color) Return of_SendEditor(SCI_MARKERADD, al_line - 1, MARKER_NUM) end function public subroutine of_commentselected ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_CommentSelected // // PURPOSE: This function adds comment characters to selected lines. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line // get first selected line caretPos = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // get last selected line caretPos = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // if end of selection is start of the line, end on prior line If ll_start = ll_end Then Else If caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 End If End If of_SendEditor(SCI_BEGINUNDOACTION) // insert comment characters For ll_line = ll_start To ll_end caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_INSERTTEXT, caretPos, is_commentchar1) Next of_SendEditor(SCI_ENDUNDOACTION) // position at begining of last line of_SendEditor(SCI_SETSEL, -1, of_SendEditor(SCI_POSITIONFROMLINE, ll_end)) end subroutine public subroutine of_uncommentselected ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_UnCommentSelected // // PURPOSE: This function removes comment characters from selected lines. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line, ll_length String ls_text, ls_replace // get first selected line caretPos = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // get last selected line caretPos = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // if end of selection is start of the line, end on prior line If ll_start = ll_end Then Else If caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 End If End If of_SendEditor(SCI_BEGINUNDOACTION) // remove comment characters For ll_line = ll_start To ll_end // get line length ll_length = of_SendEditor(SCI_LINELENGTH, ll_line) // get line text ls_text = Space(ll_length) of_SendEditor(SCI_GETLINE, ll_line, ls_text) If Left(ls_text, Len(is_commentchar1)) = is_commentchar1 Then caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_SETTARGETSTART, caretPos) of_SendEditor(SCI_SETTARGETEND, caretPos + Len(is_commentchar1)) of_SendEditor(SCI_REPLACETARGET, 0, ls_replace) End If Next of_SendEditor(SCI_ENDUNDOACTION) // position at begining of last line of_SendEditor(SCI_SETSEL, -1, of_SendEditor(SCI_POSITIONFROMLINE, ll_end)) end subroutine public function long of_gettextlength ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetTextLength // // PURPOSE: This function returns the text length // // RETURN: The length of the text contained in the control // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETTEXTLENGTH) end function public subroutine of_showwhitespace (boolean ab_show);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ShowWhiteSpace // // PURPOSE: This function will toggle white space on/off // // ARGUMENTS: ab_show - True=Show white space, False=Do not show them // // RETURN: None // ----------------------------------------------------------------------------- If ab_show Then of_SendEditor(SCI_SETVIEWWS, SCWS_VISIBLEALWAYS) Else of_SendEditor(SCI_SETVIEWWS, SCWS_INVISIBLE) End If end subroutine public subroutine of_showeol (boolean ab_show);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ShowEOL // // PURPOSE: This function will toggle end-of-line marks on/off // // ARGUMENTS: ab_show - True=Show EOL marks, False=Do not show them // // RETURN: None // ----------------------------------------------------------------------------- If ab_show Then of_SendEditor(SCI_SETVIEWEOL, 1) Else of_SendEditor(SCI_SETVIEWEOL, 0) End If end subroutine public subroutine of_emptyclipboard ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_EmptyClipBoard // // PURPOSE: This function clears the contents of the clipboard // // RETURN: None // ----------------------------------------------------------------------------- If OpenClipboard(0) Then EmptyClipboard() CloseClipboard() End If end subroutine public function long of_getselectedlength ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetSelectedLength // // PURPOSE: This function returns the length of the selected text // // RETURN: The length // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETSELECTIONEND) - of_SendEditor(SCI_GETSELECTIONSTART) end function public subroutine of_indentselected ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_IndentSelected // // PURPOSE: This function adds tab characters to selected lines. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line Long ll_selstart, ll_selend, ll_length String ls_tab = "~t" // get first selected line ll_selstart = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, ll_selstart) // get last selected line ll_selend = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, ll_selend) ll_length = ll_selend - ll_selstart // if end of selection is start of the line, end on prior line If ll_selend = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 ll_length = ll_length - 1 End If of_SendEditor(SCI_BEGINUNDOACTION) // insert comment characters For ll_line = ll_start To ll_end caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_INSERTTEXT, caretPos, ls_tab) ll_length = ll_length + 1 Next of_SendEditor(SCI_ENDUNDOACTION) // reselect the text of_SelectText(ll_selstart, ll_length) end subroutine public subroutine of_unindentselected ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_UnindentSelected // // PURPOSE: This function removes tab characters to selected lines. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line, ll_len Long ll_selstart, ll_selend, ll_length String ls_tab = "~t", ls_text, ls_replace // get first selected line ll_selstart = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, ll_selstart) // get last selected line ll_selend = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, ll_selend) ll_length = ll_selend - ll_selstart // if end of selection is start of the line, end on prior line If ll_selend = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 ll_length = ll_length - 1 End If of_SendEditor(SCI_BEGINUNDOACTION) // remove comment characters For ll_line = ll_start To ll_end ll_len = of_SendEditor(SCI_LINELENGTH, ll_line) // get line text ls_text = Space(ll_len) of_SendEditor(SCI_GETLINE, ll_line, ls_text) If Left(ls_text, 1) = ls_tab Then caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_SETTARGETSTART, caretPos) of_SendEditor(SCI_SETTARGETEND, caretPos + 1) of_SendEditor(SCI_REPLACETARGET, 0, ls_replace) ll_length = ll_length - 1 End If Next of_SendEditor(SCI_ENDUNDOACTION) // reselect the text of_SelectText(ll_selstart, ll_length) end subroutine public subroutine of_changecase (textcase a_case);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ChangeCase // // PURPOSE: This function will change the case of the selected text // // ARGUMENTS: a_case - Indicates Upper or Lower case // // RETURN: None // ----------------------------------------------------------------------------- String ls_value choose case a_case case Lower! ls_value = Lower(of_GetSelectedText()) of_ReplaceSelectedText(ls_value) case Upper! ls_value = Upper(of_GetSelectedText()) of_ReplaceSelectedText(ls_value) end choose end subroutine public subroutine of_delete ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Delete // // PURPOSE: This function deletes selected text without putting in clipboard // // RETURN: None // ----------------------------------------------------------------------------- String ls_text of_ReplaceSelectedText(ls_text) end subroutine public subroutine of_wordcap ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Wordcap // // PURPOSE: This function will wordcap the selected text // // RETURN: None // ----------------------------------------------------------------------------- Long ll_idx, ll_max String ls_value, ls_lines[] ll_max = of_Split(of_GetSelectedText(), "~r~n", ls_lines) For ll_idx = 1 To ll_max ls_lines[ll_idx] = Wordcap(ls_lines[ll_idx]) If ll_idx = 1 Then ls_value = ls_lines[ll_idx] Else ls_value = ls_value + "~r~n" + ls_lines[ll_idx] End If Next of_ReplaceSelectedText(ls_value) end subroutine public subroutine of_clear ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Clear // // PURPOSE: This function deletes all text from the document // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_CLEARALL) end subroutine public subroutine of_copy ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Copy // // PURPOSE: This function copies selected text putting it in clipboard // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_COPY) end subroutine public subroutine of_cut ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Cut // // PURPOSE: This function deletes selected text putting it in clipboard // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_CUT) end subroutine public subroutine of_gotoline (long al_line);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GotoLine // // PURPOSE: This function will move the cursor to a specified line // // ARGUMENTS: al_line - The line to goto in the text // // RETURN: None // ----------------------------------------------------------------------------- // unfold if the line is hidden of_SendEditor(SCI_ENSUREVISIBLEENFORCEPOLICY, al_line - 1) // move the cursor to the specific line number of_SendEditor(SCI_GOTOLINE, al_line - 1) end subroutine public subroutine of_gotopos (long al_pos);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GotoPos // // PURPOSE: This function will move the cursor to a specified position // // ARGUMENTS: al_pos - The position to goto in the text // // RETURN: None // ----------------------------------------------------------------------------- // move the cursor to the specific position of_SendEditor(SCI_GOTOPOS, al_pos - 1) end subroutine public subroutine of_gotoprevtab ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GotoPrevTab // // PURPOSE: This function will move the caret to the previous tab location. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_line, ll_column, ll_tabwidth Long ll_newcol, ll_newpos caretPos = of_SendEditor(SCI_GETCURRENTPOS) ll_line = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) ll_column = of_SendEditor(SCI_GETCOLUMN, caretPos) ll_tabwidth = of_SendEditor(SCI_GETTABWIDTH) ll_newcol = Long((ll_column / ll_tabwidth) + .5) * ll_tabwidth ll_newpos = of_SendEditor(SCI_FINDCOLUMN, ll_line, ll_newcol - ll_tabwidth) of_SendEditor(SCI_GOTOPOS, ll_newpos) end subroutine public subroutine of_markerdelete (long al_linenumber);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerDelete // // PURPOSE: This function will delete a marker from the current line // // ARGUMENTS: al_linenumber - The line number to delete the marker from // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_MARKERDELETE, al_linenumber - 1, MARKER_NUM) end subroutine public subroutine of_markerdeleteall ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerDeleteAll // // PURPOSE: This function will delete a marker from all lines. // If al_marker = -1 Then all marker numbers are deleted. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_MARKERDELETEALL, MARKER_NUM) end subroutine public subroutine of_paste ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Paste // // PURPOSE: This function will paste text from the clipboard // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_PASTE) end subroutine public subroutine of_redo ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Redo // // PURPOSE: This function will redo the previous change // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_REDO) end subroutine public subroutine of_selectall ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SelectAll // // PURPOSE: This function will select all text in the document // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SELECTALL) end subroutine public subroutine of_selecttext (long al_start, long al_length);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SelectText // // PURPOSE: This function will select text within a range // // ARGUMENTS: al_start - The starting position // al_length - The length of the selected text // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETSELECTIONSTART, al_start) of_SendEditor(SCI_SETSELECTIONEND, al_start + al_length) end subroutine public subroutine of_setencoding (encoding aencoding);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetEncoding // // PURPOSE: This function will set the text encoding style and set the // Unicode codepage on or off as appropriate. // // ARGUMENTS: aEncoding EncodingAnsi! // EncodingUTF8! // EncodingUTF16BE! // EncodingUTF16LE! // // RETURN: None // ----------------------------------------------------------------------------- // save the encoding style #Encoding = aEncoding If #Encoding = EncodingAnsi! Then of_SendEditor(SCI_SETCODEPAGE, 0) Else of_SendEditor(SCI_SETCODEPAGE, 65001) End If end subroutine public subroutine of_setfontbold (boolean ab_bold);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFontBold // // PURPOSE: This function will toggle font bold on/off // // ARGUMENTS: ab_bold - True=Bold, False=Not bold // // RETURN: None // ----------------------------------------------------------------------------- ib_bold = ab_bold If ab_bold Then of_SendEditor(SCI_STYLESETBOLD, STYLE_DEFAULT, 1) Else of_SendEditor(SCI_STYLESETBOLD, STYLE_DEFAULT, 0) End If end subroutine public subroutine of_setfontitalic (boolean ab_italic);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFontItalic // // PURPOSE: This function will toggle font italic on/off // // ARGUMENTS: ab_italic - True=Italic, False=Not Italic // // RETURN: None // ----------------------------------------------------------------------------- ib_italic = ab_italic If ab_italic Then of_SendEditor(SCI_STYLESETITALIC, STYLE_DEFAULT, 1) Else of_SendEditor(SCI_STYLESETITALIC, STYLE_DEFAULT, 0) End If end subroutine public subroutine of_setnotmodified ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetNotModified // // PURPOSE: This function will mark the document as unchanged. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_EMPTYUNDOBUFFER) of_SendEditor(SCI_SETSAVEPOINT) end subroutine public subroutine of_setovertype (boolean ab_overtype);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetOvertype // // PURPOSE: This function will toggle overtype on/off // // ARGUMENTS: ab_overtype - True=On, False=Off // // RETURN: None // ----------------------------------------------------------------------------- If ab_overtype Then of_SendEditor(SCI_SETOVERTYPE, 1) Else of_SendEditor(SCI_SETOVERTYPE, 0) End If end subroutine public subroutine of_setusepopup (boolean ab_usepopup);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetUsePopup // // PURPOSE: This function will toggle standard Popup menu on/off // // ARGUMENTS: ab_usepopup - True=On, False=Off // // RETURN: None // ----------------------------------------------------------------------------- ib_usepopup = ab_usepopup If ab_usepopup Then of_SendEditor(SCI_USEPOPUP, SC_POPUP_ALL) Else of_SendEditor(SCI_USEPOPUP, SC_POPUP_NEVER) End If end subroutine public subroutine of_showindentguides (boolean ab_show);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ShowIndentGuides // // PURPOSE: This function will toggle indent guides on/off // // ARGUMENTS: ab_show - True=Show guides, False=Do not show them // // RETURN: None // ----------------------------------------------------------------------------- #IndentGuides = ab_show If #IndentGuides Then of_SendEditor(SCI_SETINDENTATIONGUIDES, 1) Else of_SendEditor(SCI_SETINDENTATIONGUIDES, 0) End If end subroutine public subroutine of_undo ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Undo // // PURPOSE: This function will undo the previous change // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_UNDO) end subroutine public subroutine of_setseparator (character ac_separator);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetSeparator // // PURPOSE: This function changes the separator character for the User List // and Autocomplete popup list. // // ARGUMENTS: ac_separator - The character that separates the list. // // RETURN: None // ----------------------------------------------------------------------------- SciSend(il_hSciWnd, SCI_AUTOCSETSEPARATOR, Asc(ac_separator), 0) end subroutine public subroutine of_setdwelltime (long al_dwelldelay);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetDwellTime // // PURPOSE: This function will set mouse dwell time. // // ARGUMENTS: al_dwelldelay - Time in milliseconds // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETMOUSEDWELLTIME, al_dwelldelay) end subroutine public subroutine of_zoomin ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ZoomIn // // PURPOSE: This function will zoom in the text. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_ZOOMIN) end subroutine public subroutine of_zoomout ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ZoomOut // // PURPOSE: This function will zoom out the text. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_ZOOMOUT) end subroutine public function long of_getzoomlevel ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetZoomLevel // // PURPOSE: This function will return the current zoom level. // // RETURN: Zoom Level // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETZOOM) end function public subroutine of_macrorecording (boolean ab_record);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MacroRecording // // PURPOSE: This function will toggle macro recording mode. // // ARGUMENTS: ab_record - True=Start Recording, False=Stop Recording // // RETURN: None // ----------------------------------------------------------------------------- If ab_record Then of_SendEditor(SCI_STARTRECORD, 1) Else of_SendEditor(SCI_STOPRECORD, 0) End If end subroutine public function string of_stringptr (long textptr, charset textcharset);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_StringPtr // // PURPOSE: This function returns a string from an memory address. // // ARGUMENTS: textcharset - CharsetAnsi! or CharsetUnicode! // // RETURN: None // ----------------------------------------------------------------------------- Blob lblob_text Long ll_strlen = 50 String ls_text choose case textcharset case CharsetAnsi! lblob_text = Blob(Space(ll_strlen)) CopyMemory(lblob_text, textptr, ll_strlen) ls_text = String(lblob_text, EncodingAnsi!) case else ls_text = String(lblob_text, "address") end choose Return ls_text end function public subroutine of_setreadonly (boolean ab_readonly);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetReadOnly // // PURPOSE: This function will toggle read only on/off // // ARGUMENTS: ab_readonly - True=Read Only, False=Not Read Only // // RETURN: None // ----------------------------------------------------------------------------- #ReadOnly = ab_readonly If #ReadOnly Then of_SendEditor(SCI_SETREADONLY, 1) Else of_SendEditor(SCI_SETREADONLY, 0) End If end subroutine public subroutine of_print (boolean ab_showdialog);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Print // // PURPOSE: This function will print the current control text // // ARGUMENTS: ab_showdialog - True=Show Printer Dialog // // RETURN: None // ----------------------------------------------------------------------------- String ls_source, ls_font Boolean lb_italic Integer li_size, li_weight Long ll_job SetPointer(HourGlass!) ll_job = PrintOpen("Scintilla Editor", ab_showdialog) If ll_job > 0 Then ls_font = this.#FontName li_size = this.#TextSize * -1 If this.ib_bold Then li_weight = 700 Else li_weight = 400 End If lb_italic = this.ib_italic PrintDefineFont(ll_job, 1, ls_font, li_size, li_weight, & Default!, AnyFont!, lb_italic, False) PrintSetFont(ll_job, 1) ls_source = this.of_GetText() Print(ll_job, ls_source) PrintClose(ll_job) Else MessageBox("Print", "Failed to open print job!") End If end subroutine public function long of_getlinefrompos (long al_caretpos);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetLineFromPos // // PURPOSE: This function returns the line that the caret is on // // RETURN: The line number // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_LINEFROMPOSITION, al_caretpos) + 1 end function public subroutine of_markerdefine (long al_index, long al_type, long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerDefine // // PURPOSE: This function will define a marker // // ARGUMENTS: al_index - The marker index being defined ( range 0-31 ) // al_type - The marker type ( SC_MARK_* ) // al_color - The background color // ----------------------------------------------------------------------------- of_SendEditor(SCI_MARKERDEFINE, al_index, al_type) of_SendEditor(SCI_MARKERSETBACK, al_index, al_color) end subroutine public function long of_markeradd (long al_index, long al_line);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerAdd // // PURPOSE: This function will add a marker to the current line // // ARGUMENTS: al_index - The marker index being added ( range 0-31 ) // al_line - The line number to be marked // // RETURN: Marker handle // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_MARKERADD, al_line - 1, al_index) end function public subroutine of_markerdelete (long al_index, long al_linenumber);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerDelete // // PURPOSE: This function will delete a marker from the current line // // ARGUMENTS: al_index - The marker index being deleted ( range 0-31 ) // al_linenumber - The line number to delete the marker from // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_MARKERDELETE, al_linenumber - 1, al_index) end subroutine public subroutine of_markercolor (long al_index, long al_forecolor, long al_backcolor);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_MarkerColor // // PURPOSE: This function will update a marker's colors // // ARGUMENTS: al_index - The marker index being defined ( range 0-31 ) // al_forecolor - The foreground color // al_backcolor - The background color // ----------------------------------------------------------------------------- of_SendEditor(SCI_MARKERSETFORE, al_index, al_forecolor) of_SendEditor(SCI_MARKERSETBACK, al_index, al_backcolor) end subroutine public function long of_getcurrentpos ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetCurrentPos // // PURPOSE: This function returns the current position in the buffer // // RETURN: The current position // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETCURRENTPOS) end function public function long of_getlexer ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetLexer // // PURPOSE: This function returns the lexer currently selected // see the SCLEX_... constants for the possibles values // // RETURN: The current lexer // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETLEXER) end function public function long of_getlinecount ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetLineCount // // PURPOSE: This function returns the number of lines in the control // // RETURN: The number of lines contained in the control // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETLINECOUNT) end function public function long of_sendeditor (long al_msg, string as_parm1, string as_parm2);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditor // // PURPOSE: This function sends a message to the control // // ARGUMENTS: al_msg - Message number // as_parm1 - Message argument #1 // as_parm2 - Message argument #2 // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Blob lblob_parm1, lblob_parm2 If #Encoding = EncodingAnsi! Then Return SciSendString(il_hSciWnd, al_msg, as_parm1, as_parm2) Else lblob_parm1 = Blob(as_parm1, EncodingUTF8!) lblob_parm2 = Blob(as_parm2, EncodingUTF8!) Return SciSendBlob(il_hSciWnd, al_msg, lblob_parm1, lblob_parm2) End If end function public subroutine of_inserttext (ref string as_text);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_InsertText // // PURPOSE: This function will insert text into the document // // ARGUMENTS: as_text - The text to be inserted // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_INSERTTEXT, -1, as_text) end subroutine public subroutine of_replaceselectedtext (ref string as_text);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ReplaceSelectedText // // PURPOSE: This function will replace the selected text // // ARGUMENTS: as_text - The new text that replaces the selected text // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_REPLACESEL, 0, as_text) end subroutine public subroutine of_setlanguage (string as_language);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetLanguage // // PURPOSE: This function will set the text language // // ARGUMENTS: as_language - The language code // // RETURN: None // ----------------------------------------------------------------------------- SciSendString(il_hSciWnd, SCI_SETLEXERLANGUAGE, 0, as_language) end subroutine public subroutine of_settext (ref string as_text);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetText // // PURPOSE: This function will import text into the control // // ARGUMENTS: as_text - The text to be imported // // RETURN: None // ----------------------------------------------------------------------------- Blob lblb_source Long ll_length lblb_source = Blob(as_text, EncodingUTF8!) ll_length = Len(lblb_source) of_SendEditor(SCI_TARGETWHOLEDOCUMENT) of_SendEditor(SCI_REPLACETARGET, ll_length, lblb_source) end subroutine public function long of_gettextheight (long al_line);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetTextHeight // // PURPOSE: This function will return the pixel height of a line // // ARGUMENTS: al_line - The line number // // RETURN: Pixel height // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_TEXTHEIGHT, al_line) end function public function long of_getwrapmode ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetWrapMode // // PURPOSE: This function returns the current setting of text wrapping // // RETURN: See of_SetWrapMode for values // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETWRAPMODE) end function public function long of_getwrapvisualflags ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetWrapVisualFlags // // PURPOSE: This function returns the current setting of the wrapping info // // RETURN: See of_SetWrapVisualFlags for values // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETWRAPVISUALFLAGS) end function public function long of_getwhitespace ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetWhiteSpace // // PURPOSE: This function returns the current setting of WhiteSpace // // RETURN: See of_ShowWhiteSpace for values // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETVIEWWS) end function public subroutine of_setfont (string as_font);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFont // // PURPOSE: This function will change the text font // // ARGUMENTS: as_font - The name of the font // // RETURN: None // ----------------------------------------------------------------------------- #FontName = as_font of_SendEditor(SCI_STYLESETFONT, STYLE_DEFAULT, as_font) end subroutine public function long of_color (string as_colorname);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Color // // PURPOSE: This function returns a color code for a named color. It includes // all the PowerBuilder, System, and Web colors. // // ARGUMENTS: as_colorname - Name of the color // // RETURN: Color code // ----------------------------------------------------------------------------- Long ll_color choose case Upper(as_colorname) // PowerBuilder Colors (not defined elsewhere) case "MINT" ll_color = RGB(192, 220, 192) case "SKY" ll_color = RGB(166, 202, 240) case "CREAM" ll_color = RGB(255, 251, 240) case "MEDIUM GRAY" ll_color = RGB(160, 160, 164) // System Colors case "COLOR_SCROLLBAR", "SCROLL BAR" // Scroll bar gray area. ll_color = GetSysColor(0) case "COLOR_DESKTOP", "DESKTOP" // Desktop. ll_color = GetSysColor(1) case "COLOR_ACTIVECAPTION", "ACTIVE TITLE BAR" // Active window title bar. ll_color = GetSysColor(2) case "COLOR_INACTIVECAPTION", "INACTIVE TITLE BAR" // Inactive window caption. ll_color = GetSysColor(3) case "COLOR_MENU", "MENU BAR" // Menu background. ll_color = GetSysColor(4) case "COLOR_WINDOW", "WINDOW BACKGROUND" // Window background. ll_color = GetSysColor(5) case "COLOR_WINDOWFRAME", "WINDOW FRAME" // Window frame. ll_color = GetSysColor(6) case "COLOR_MENUTEXT", "MENU TEXT" // Text in menus. ll_color = GetSysColor(7) case "COLOR_WINDOWTEXT", "WINDOW TEXT" // Text in windows. ll_color = GetSysColor(8) case "COLOR_CAPTIONTEXT", "ACTIVE TITLE BAR TEXT" // Text in caption, size box, and scroll bar arrow box. ll_color = GetSysColor(9) case "COLOR_ACTIVEBORDER", "ACTIVE BORDER" // Active window border. ll_color = GetSysColor(10) case "COLOR_INACTIVEBORDER", "INACTIVE BORDER" // Inactive window border. ll_color = GetSysColor(11) case "COLOR_APPWORKSPACE", "APPLICATION WORKSPACE" // Background color of multiple document interface (MDI) applications. ll_color = GetSysColor(12) case "COLOR_HIGHLIGHT", "HIGHLIGHT" // Item(s) selected in a control. ll_color = GetSysColor(13) case "COLOR_HIGHLIGHTTEXT", "HIGHLIGHT TEXT" // Text of item(s) selected in a control. ll_color = GetSysColor(14) case "COLOR_BTNFACE", "COLOR_3DFACE", "BUTTON FACE" // Face color for three-dimensional display elements and for dialog box backgrounds. ll_color = GetSysColor(15) case "COLOR_BTNSHADOW", "COLOR_3DSHADOW", "BUTTON SHADOW" // Shadow color for three-dimensional display elements (for edges facing away from the light source). ll_color = GetSysColor(16) case "COLOR_GRAYTEXT", "DISABLE TEXT" // Grayed (disabled) text. ll_color = GetSysColor(17) case "COLOR_BTNTEXT", "BUTTON TEXT" // Text on push buttons. ll_color = GetSysColor(18) case "COLOR_INACTIVECAPTIONTEXT", "INACTIVE TITLE BAR TEXT" // Color of text in an inactive caption. ll_color = GetSysColor(19) case "COLOR_3DHIGHLIGHT", "BUTTON HIGHLIGHT" // Highlight color for three-dimensional display elements (for edges facing the light source.) ll_color = GetSysColor(20) case "COLOR_3DDKSHADOW", "BUTTON DARK SHADOW" // Dark shadow for three-dimensional display elements. ll_color = GetSysColor(21) case "COLOR_3DLIGHT", "BUTTON LIGHT SHADOW" // Light color for three-dimensional display elements (for edges facing the light source.) ll_color = GetSysColor(22) case "COLOR_INFOTEXT", "TOOLTIP TEXT" // Text color for tooltip controls. ll_color = GetSysColor(23) case "COLOR_INFOBK", "TOOLTIP" // Background color for tooltip controls. ll_color = GetSysColor(24) case "COLOR_HOTLIGHT", "LINK" // Color for a hyperlink or hot-tracked item. ll_color = GetSysColor(26) case "COLOR_GRADIENTACTIVECAPTION" // Right side color in the color gradient of an active window's title bar. ll_color = GetSysColor(27) case "COLOR_GRADIENTINACTIVECAPTION" // Right side color in the color gradient of an inactive window's title bar. ll_color = GetSysColor(28) case "COLOR_MENUHILIGHT" // The color used to highlight menu items when the menu appears as a flat menu (see SystemParametersInfo). ll_color = GetSysColor(29) case "COLOR_MENUBAR" // The background color for the menu bar when menus appear as flat menus (see SystemParametersInfo). ll_color = GetSysColor(30) // Web Color Pinks case "PINK" ll_color = RGB(255,192,203) case "LIGHTPINK" ll_color = RGB(255,182,193) case "HOTPINK" ll_color = RGB(255,105,180) case "DEEPPINK" ll_color = RGB(255,20,147) case "PALEVIOLETRED" ll_color = RGB(219,112,147) case "MEDIUMVIOLETRED" ll_color = RGB(199,21,13) // Web Colors Red case "LIGHTSALMON" ll_color = RGB(255,160,122) case "SALMON" ll_color = RGB(250,128,114) case "DARKSALMON" ll_color = RGB(233,150,122) case "LIGHTCORAL" ll_color = RGB(240,128,128) case "INDIANRED" ll_color = RGB(205,92,92) case "CRIMSON" ll_color = RGB(220,20,60) case "FIREBRICK" ll_color = RGB(178,34,34) case "DARKRED" ll_color = RGB(139,0,0) case "RED" ll_color = RGB(255,0,0) // Web Color Oranges case "ORANGERED" ll_color = RGB(255,69,0) case "TOMATO" ll_color = RGB(255,99,71) case "CORAL" ll_color = RGB(255,127,80) case "DARKORANGE" ll_color = RGB(255,140,0) case "ORANGE" ll_color = RGB(255,165,0) // Web Color Yellows case "YELLOW" ll_color = RGB(255,255,0) case "LIGHTYELLOW" ll_color = RGB(255,255,224) case "LEMONCHIFFON" ll_color = RGB(255,250,205) case "LIGHTGOLDENRODYELLOW" ll_color = RGB(250,250,210) case "PAPAYAWHIP" ll_color = RGB(255,239,213) case "MOCCASIN" ll_color = RGB(255,228,181) case "PEACHPUFF" ll_color = RGB(255,218,185) case "PALEGOLDENROD" ll_color = RGB(238,232,170) case "KHAKI" ll_color = RGB(240,230,140) case "DARKKHAKI" ll_color = RGB(189,183,107) case "GOLD" ll_color = RGB(255,215,0) // Web Color Browns case "CORNSILK" ll_color = RGB(255,248,220) case "BLANCHEDALMOND" ll_color = RGB(255,235,205) case "BISQUE" ll_color = RGB(255,228,196) case "NAVAJOWHITE" ll_color = RGB(255,222,173) case "WHEAT" ll_color = RGB(245,222,179) case "BURLYWOOD" ll_color = RGB(222,184,135) case "TAN" ll_color = RGB(210,180,140) case "ROSYBROWN" ll_color = RGB(188,143,143) case "SANDYBROWN" ll_color = RGB(244,164,96) case "GOLDENROD" ll_color = RGB(218,165,32) case "DARKGOLDENROD" ll_color = RGB(184,134,11) case "PERU" ll_color = RGB(205,133,63) case "CHOCOLATE" ll_color = RGB(210,105,30) case "SADDLEBROWN" ll_color = RGB(139,69,19) case "SIENNA" ll_color = RGB(160,82,45) case "BROWN" ll_color = RGB(165,42,42) case "MAROON" ll_color = RGB(128,0,0) // Web Color Greens case "DARKOLIVEGREEN" ll_color = RGB(85,107,47) case "OLIVE" ll_color = RGB(128,128,0) case "OLIVEDRAB" ll_color = RGB(107,142,35) case "YELLOWGREEN" ll_color = RGB(154,205,50) case "LIMEGREEN" ll_color = RGB(50,205,50) case "LIME" ll_color = RGB(0,255,0) case "LAWNGREEN" ll_color = RGB(124,252,0) case "CHARTREUSE" ll_color = RGB(127,255,0) case "GREENYELLOW" ll_color = RGB(173,255,47) case "SPRINGGREEN" ll_color = RGB(0,255,127) case "MEDIUMSPRINGGREEN" ll_color = RGB(0,250,154) case "LIGHTGREEN" ll_color = RGB(144,238,144) case "PALEGREEN" ll_color = RGB(152,251,152) case "DARKSEAGREEN" ll_color = RGB(143,188,143) case "MEDIUMSEAGREEN" ll_color = RGB(60,179,113) case "SEAGREEN" ll_color = RGB(46,139,87) case "FORESTGREEN" ll_color = RGB(34,139,34) case "GREEN" ll_color = RGB(0,128,0) case "DARKGREEN" ll_color = RGB(0,100,0) // Web Color Cyans case "MEDIUMAQUAMARINE" ll_color = RGB(102,205,170) case "AQUA" ll_color = RGB(0,255,255) case "CYAN" ll_color = RGB(0,255,255) case "LIGHTCYAN" ll_color = RGB(224,255,255) case "PALETURQUOISE" ll_color = RGB(175,238,238) case "AQUAMARINE" ll_color = RGB(127,255,212) case "TURQUOISE" ll_color = RGB(64,224,208) case "MEDIUMTURQUOISE" ll_color = RGB(72,209,204) case "DARKTURQUOISE" ll_color = RGB(0,206,209) case "LIGHTSEAGREEN" ll_color = RGB(32,178,170) case "CADETBLUE" ll_color = RGB(95,158,160) case "DARKCYAN" ll_color = RGB(0,139,139) case "TEAL" ll_color = RGB(0,128,128) // Web Color Blues case "LIGHTSTEELBLUE" ll_color = RGB(176,196,222) case "POWDERBLUE" ll_color = RGB(176,224,230) case "LIGHTBLUE" ll_color = RGB(173,216,230) case "SKYBLUE" ll_color = RGB(135,206,235) case "LIGHTSKYBLUE" ll_color = RGB(135,206,250) case "DEEPSKYBLUE" ll_color = RGB(0,191,255) case "DODGERBLUE" ll_color = RGB(30,144,255) case "CORNFLOWERBLUE" ll_color = RGB(100,149,237) case "STEELBLUE" ll_color = RGB(70,130,180) case "ROYALBLUE" ll_color = RGB(65,105,225) case "BLUE" ll_color = RGB(0,0,255) case "MEDIUMBLUE" ll_color = RGB(0,0,205) case "DARKBLUE" ll_color = RGB(0,0,139) case "NAVY" ll_color = RGB(0,0,128) case "MIDNIGHTBLUE" ll_color = RGB(25,25,112) // Web Color Purples case "LAVENDER" ll_color = RGB(230,230,250) case "THISTLE" ll_color = RGB(216,191,216) case "PLUM" ll_color = RGB(221,160,221) case "VIOLET" ll_color = RGB(238,130,238) case "ORCHID" ll_color = RGB(218,112,214) case "FUCHSIA" ll_color = RGB(255,0,255) case "MAGENTA" ll_color = RGB(255,0,255) case "MEDIUMORCHID" ll_color = RGB(186,85,211) case "MEDIUMPURPLE" ll_color = RGB(147,112,219) case "BLUEVIOLET" ll_color = RGB(138,43,226) case "DARKVIOLET" ll_color = RGB(148,0,211) case "DARKORCHID" ll_color = RGB(153,50,204) case "DARKMAGENTA" ll_color = RGB(139,0,139) case "PURPLE" ll_color = RGB(128,0,128) case "INDIGO" ll_color = RGB(75,0,130) case "DARKSLATEBLUE" ll_color = RGB(72,61,139) case "SLATEBLUE" ll_color = RGB(106,90,205) case "MEDIUMSLATEBLUE" ll_color = RGB(123,104,238) // Web Color Whites case "WHITE" ll_color = RGB(255,255,255) case "SNOW" ll_color = RGB(255,250,250) case "HONEYDEW" ll_color = RGB(240,255,240) case "MINTCREAM" ll_color = RGB(245,255,250) case "AZURE" ll_color = RGB(240,255,255) case "ALICEBLUE" ll_color = RGB(240,248,255) case "GHOSTWHITE" ll_color = RGB(248,248,255) case "WHITESMOKE" ll_color = RGB(245,245,245) case "SEASHELL" ll_color = RGB(255,245,238) case "BEIGE" ll_color = RGB(245,245,220) case "OLDLACE" ll_color = RGB(253,245,230) case "FLORALWHITE" ll_color = RGB(255,250,240) case "IVORY" ll_color = RGB(255,255,240) case "ANTIQUEWHITE" ll_color = RGB(250,235,215) case "LINEN" ll_color = RGB(250,240,230) case "LAVENDERBLUSH" ll_color = RGB(255,240,245) case "MISTYROSE" ll_color = RGB(255,228,225) // Web Color Grays/blacks case "GAINSBORO" ll_color = RGB(220,220,220) case "LIGHTGRAY" ll_color = RGB(211,211,211) case "SILVER" ll_color = RGB(192,192,192) case "DARKGRAY" ll_color = RGB(169,169,169) case "GRAY" ll_color = RGB(128,128,128) case "DIMGRAY" ll_color = RGB(105,105,105) case "LIGHTSLATEGRAY" ll_color = RGB(119,136,153) case "SLATEGRAY" ll_color = RGB(112,128,144) case "DARKSLATEGRAY" ll_color = RGB(47,79,79) case "BLACK" ll_color = RGB(0,0,0) // Default To White case else ll_color = RGB(255, 255, 255) end choose Return ll_color end function public function long of_gettextwidth (long al_stylenumber, ref string as_text);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetTextWidth // // PURPOSE: This function will return the pixel width of a string // drawn in the given styleNumber // // ARGUMENTS: al_stylenumber - The styme number // as_text - the string to measure // // RETURN: Width of the string // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_TEXTWIDTH, al_stylenumber, as_text) end function public subroutine of_setstyleeolfilled (long al_style, boolean ab_option);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleEOLFilled // // PURPOSE: This function will toggle EOL Fill on/off for the style. // // ARGUMENTS: al_style - The number of the style // ab_option - True=Fill to EOL, False=Do not fill to EOL // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_STYLESETEOLFILLED, al_style, 1) Else of_SendEditor(SCI_STYLESETEOLFILLED, al_style, 0) End If end subroutine public subroutine of_setstyleitalic (long al_style, boolean ab_option);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleItalic // // PURPOSE: This function will toggle italic on/off for the style. // // ARGUMENTS: al_style - The number of the style // ab_option - True=Italic, False=Not Italic // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_STYLESETITALIC, al_style, 1) Else of_SendEditor(SCI_STYLESETITALIC, al_style, 0) End If end subroutine public subroutine of_setstyleunderline (long al_style, boolean ab_option);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleUnderline // // PURPOSE: This function will toggle underline on/off for the style. // // ARGUMENTS: al_style - The number of the style // ab_option - True=Underline, False=Not Underline // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_STYLESETUNDERLINE, al_style, 1) Else of_SendEditor(SCI_STYLESETUNDERLINE, al_style, 0) End If end subroutine public subroutine of_setstylebold (long al_style, boolean ab_option);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleBold // // PURPOSE: This function will toggle bold on/off for the style. // // ARGUMENTS: al_style - The number of the style // ab_option - True=Bold, False=Not Bold // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_STYLESETBOLD, al_style, 1) Else of_SendEditor(SCI_STYLESETBOLD, al_style, 0) End If end subroutine public subroutine of_autocshow (long al_entered, ref string as_list);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCShow // // PURPOSE: This function causes an autocompletion window to appear. // // ARGUMENTS: al_entered - Number of letters of the word already typed // as_list - The list of words to display // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSHOW, al_entered, as_list) end subroutine public subroutine of_autocstops (string as_list);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCStops // // PURPOSE: This function sets the characters that closes autocomplete. // // ARGUMENTS: as_list - The list of characters // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSTOPS, 0, as_list) end subroutine public subroutine of_setstylefont (long al_style, string as_font);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleFont // // PURPOSE: This function sets the font for the style. // // ARGUMENTS: al_style - The number of the style // as_font - The font name // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_STYLESETFONT, al_style, as_font) end subroutine public subroutine of_autoccancel ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCCancel // // PURPOSE: This function cancels the autocomplete window // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCCANCEL) end subroutine public function boolean of_autocactive ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCActive // // PURPOSE: This function determines if the autocomplete window is active // // RETURN: True=Active, False=Not active // ----------------------------------------------------------------------------- If of_SendEditor(SCI_AUTOCACTIVE) = 0 Then Return False Else Return True End If end function public subroutine of_autocsetseparator (character ac_separator);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetSeparator // // PURPOSE: This function sets the character that separates autocomplete // word list used by of_AutoCShow. // // ARGUMENTS: ac_separator - The separator character // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSETSEPARATOR, Asc(ac_separator), 0) end subroutine public function boolean of_getreadonly ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetReadOnly // // PURPOSE: This function will return the state of read only. // // RETURN: True=Read Only, False=Not Read Only // ----------------------------------------------------------------------------- If of_SendEditor(SCI_GETREADONLY) = 0 Then Return False Else Return True End If end function public subroutine of_loadlexerlibrary (string as_library);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_LoadLexerLibrary // // PURPOSE: This function loads an external lexer dll // // ARGUMENTS: as_library - the path to the lexer dll // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_LOADLEXERLIBRARY, 0, as_library) end subroutine public subroutine of_setkeywords (long al_wordset, ref string as_keywords);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetKeyWords // // PURPOSE: This function loads a word list in the given wordset // // ARGUMENTS: al_wordset - The number of wordset // (0 to 9 - usage is lexer-dependant) // as_keywords - A list of words. It can be blank, tab, // ~n or ~r separated // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETKEYWORDS, al_wordset, as_keywords) end subroutine public subroutine of_setlexer (long al_lexer);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetLexer // // PURPOSE: This function selects a lexer for the syntax highlighting // see the SCLEX_... constants for the possible values // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETLEXER, al_lexer, 0) end subroutine public subroutine of_setproperty (string as_keyword, string as_value);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetProperty // // PURPOSE: This function will set lexer properties // // ARGUMENTS: as_keyword - The property name // as_value - The value of the property // // RETURN: None // ----------------------------------------------------------------------------- of_Sendeditor(SCI_SETPROPERTY, as_keyword, as_value) end subroutine public subroutine of_setwrapmode (long al_wrapmode);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetWrapMode // // PURPOSE: This function will set the text wrapping mode // // ARGUMENTS: al_wrapmode - The wrapping mode: // SC_WRAP_NONE - wrapping is disabled // SC_WRAP_WORD - enable wrapping on word boundaries // SC_WRAP_CHAR - enable wrapping between any characters // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETWRAPMODE, al_wrapmode) end subroutine public subroutine of_setwrapvisualflags (long al_wrapvisualflags);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetWrapVisualFlags // // PURPOSE: This function will set the text wrapping indicators display mode. // // ARGUMENTS: al_wrapvisualflags - The display mode: // SC_WRAPVISUALFLAG_NONE - No visual flags // SC_WRAPVISUALFLAG_END - Visual flag at end of subline of // a wrapped line // SC_WRAPVISUALFLAG_START - Visual flag at begin of subline of // a wrapped line. Subline is indented by at least 1 to // make room for the flag. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETWRAPVISUALFLAGS, al_wrapvisualflags) end subroutine public function long of_autocposstart ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCPosStart // // PURPOSE: This function returns the position when of_AutoCShow was called. // // RETURN: The number of lines contained in the control // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_AUTOCPOSSTART) end function public subroutine of_autoccomplete ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCComplete // // PURPOSE: This function completes the autocomplete window // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCCOMPLETE) end subroutine public subroutine of_autocsetmaxheight (long al_rowcount);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetMaxHeight // // PURPOSE: This function sets the number of rows displayed. Default is 5. // // ARGUMENTS: al_rowcount - The number of rows // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSETMAXHEIGHT, al_rowcount) end subroutine public subroutine of_autocsetignorecase (boolean ab_ignorecase);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetIgnoreCase // // PURPOSE: This function will toggle ignore case for autocomplete // // ARGUMENTS: ab_ignorecase - True=Ignore Case, False=Do not ignore case // // RETURN: None // ----------------------------------------------------------------------------- If ab_ignorecase Then of_SendEditor(SCI_AUTOCSETIGNORECASE, 1) Else of_SendEditor(SCI_AUTOCSETIGNORECASE, 0) End If end subroutine public subroutine of_autocsetmaxwidth (long al_charcount);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetMaxWidth // // PURPOSE: This function sets the number of characters displayed. // // ARGUMENTS: al_charcount - The number of characters // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSETMAXWIDTH, al_charcount) end subroutine public subroutine of_autocsetautohide (boolean ab_option);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetAutohide // // PURPOSE: This function will toggle autocomplete Autohide option. // // ARGUMENTS: ab_option - True=Autohide on, False=Autohide off // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_AUTOCSETAUTOHIDE, 1) Else of_SendEditor(SCI_AUTOCSETAUTOHIDE, 0) End If end subroutine public subroutine of_autocsetfillups (string as_list);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetFillups // // PURPOSE: This function sets the characters that complete selection. // // ARGUMENTS: as_list - The list of characters // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSETFILLUPS, 0, as_list) end subroutine public subroutine of_autocsetorder (long al_order);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetOrder // // PURPOSE: This function sets the sort order of the autocomplete words. // // ARGUMENTS: al_order - Sort order option. Values are: // // SC_ORDER_PRESORTED (default) // SC_ORDER_PERFORMSORT // SC_ORDER_CUSTOM // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSETORDER, al_order) end subroutine public subroutine of_registerimage (long al_index, ref string as_xpmdata);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_RegisterImage // // PURPOSE: This function registers an XPM image to be used by autocomplete. // // ARGUMENTS: al_index - Index of the image. When the word list is passed // to of_AutoCShow, add ?# after each word where # // is the image index. This is referred to as type // in the documentation. // // Images can be converted here: // http://www.office-converter.com/Convert-to-XPM // // as_xpmdata - The XPM image data // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_REGISTERIMAGE, al_index, as_xpmdata) end subroutine public subroutine of_clearregisteredimages ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ClearRegisteredImages // // PURPOSE: This function clears all registered images. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_CLEARREGISTEREDIMAGES) end subroutine public subroutine of_autocsettypeseparator (character ac_separator);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AutoCSetTypeSeparator // // PURPOSE: This function sets the character that separates words from the // image index when the word list is passed to of_AutoCShow. // // ARGUMENTS: ac_separator - The separator character // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_AUTOCSETTYPESEPARATOR, Asc(ac_separator), 0) end subroutine public subroutine of_setwordwrap (boolean ab_wordwrap);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetWordWrap // // PURPOSE: This function will toggle word wrap on/off // // ARGUMENTS: ab_wordwrap - True=word wrap on, False=word wrap off // // RETURN: None // ----------------------------------------------------------------------------- #WordWrap = ab_wordwrap If #WordWrap Then of_SendEditor(SCI_SETWRAPMODE, SC_WRAP_WORD) Else of_SendEditor(SCI_SETWRAPMODE, SC_WRAP_NONE) End If end subroutine public subroutine of_set_powershell ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Set_PowerShell // // PURPOSE: This function will set the language, keywords and colors // for PowerShell files. // // RETURN: None // ----------------------------------------------------------------------------- Constant Long SCE_POWERSHELL_DEFAULT = 0 Constant Long SCE_POWERSHELL_COMMENT = 1 Constant Long SCE_POWERSHELL_STRING = 2 Constant Long SCE_POWERSHELL_CHARACTER = 3 Constant Long SCE_POWERSHELL_NUMBER = 4 Constant Long SCE_POWERSHELL_VARIABLE = 5 Constant Long SCE_POWERSHELL_OPERATOR = 6 Constant Long SCE_POWERSHELL_IDENTIFIER = 7 Constant Long SCE_POWERSHELL_KEYWORD = 8 Constant Long SCE_POWERSHELL_CMDLET = 9 Constant Long SCE_POWERSHELL_ALIAS = 10 Constant Long SCE_POWERSHELL_FUNCTION = 11 String ls_keywords, ls_datatypes this.SetRedraw(False) // set the language of_SetLanguage("powershell") of_EnableFolding() // set the comment characters is_commentchar1 = "#" is_commentchar2 = "" // set the keywords ls_keywords = of_GetKeywords(0, "ps1") of_SetKeyWords(0, ls_keywords) // Keywords ls_datatypes = of_GetKeywords(1, "ps1") of_SetKeyWords(1, ls_datatypes) // Cmdlets ls_datatypes = of_GetKeywords(2, "ps1") of_SetKeyWords(2, ls_datatypes) // Aliases ls_datatypes = of_GetKeywords(3, "ps1") of_SetKeyWords(3, ls_datatypes) // Functions // set background/default text/select color of_SetBackColor(il_backcolor) of_SetTextColor(il_forecolor) of_SetSelectColor(il_selectcolor) // set language color of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_DEFAULT, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_COMMENT, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_STRING, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_CHARACTER, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_NUMBER, of_color("Red")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_VARIABLE, of_color("Purple")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_OPERATOR, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_IDENTIFIER, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_KEYWORD, of_color("Navy")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_CMDLET, of_color("Teal")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_ALIAS, of_color("Teal")) of_SendEditor(SCI_STYLESETFORE, SCE_POWERSHELL_FUNCTION, of_color("Olive")) this.SetRedraw(True) end subroutine public subroutine of_set_xml ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Set_XML // // PURPOSE: This function will set the language, keywords and colors // for XML files. // // RETURN: None // ----------------------------------------------------------------------------- Constant Long SCE_H_DEFAULT = 0 Constant Long SCE_H_TAG = 1 Constant Long SCE_H_TAGUNKNOWN = 2 Constant Long SCE_H_ATTRIBUTE = 3 Constant Long SCE_H_ATTRIBUTEUNKNOWN = 4 Constant Long SCE_H_NUMBER = 5 Constant Long SCE_H_DOUBLESTRING = 6 Constant Long SCE_H_SINGLESTRING = 7 Constant Long SCE_H_OTHER = 8 Constant Long SCE_H_COMMENT = 9 Constant Long SCE_H_ENTITY = 10 Constant Long SCE_H_TAGEND = 11 Constant Long SCE_H_XMLSTART = 12 Constant Long SCE_H_XMLEND = 13 Constant Long SCE_H_CDATA = 17 Constant Long SCE_H_SGML_DEFAULT = 21 this.SetRedraw(False) of_SetLanguage("xml") of_EnableFolding() // set the comment characters is_commentchar1 = "" is_commentchar2 = "" // set background/default text/select color of_SetBackColor(il_backcolor) of_SetTextColor(il_forecolor) of_SetSelectColor(il_selectcolor) // set language color of_SendEditor(SCI_STYLESETFORE, SCE_H_XMLSTART, of_color("Red")) of_SendEditor(SCI_STYLESETFORE, SCE_H_XMLEND, of_color("Red")) of_SendEditor(SCI_STYLESETFORE, SCE_H_DEFAULT, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_H_COMMENT, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_H_NUMBER, of_color("Red")) of_SendEditor(SCI_STYLESETFORE, SCE_H_DOUBLESTRING, RGB(128,0,255)) of_SendEditor(SCI_STYLESETFORE, SCE_H_SINGLESTRING, RGB(128,0,255)) of_SendEditor(SCI_STYLESETFORE, SCE_H_TAG, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_H_TAGEND, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_H_TAGUNKNOWN, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_H_ATTRIBUTE, of_color("Red")) of_SendEditor(SCI_STYLESETFORE, SCE_H_ATTRIBUTEUNKNOWN, of_color("Red")) of_SendEditor(SCI_STYLESETFORE, SCE_H_SGML_DEFAULT, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_H_CDATA, RGB(255,128,0)) of_SendEditor(SCI_STYLESETFORE, SCE_H_ENTITY, of_color("Black")) this.SetRedraw(True) end subroutine public function long of_getstyleat (long al_pos);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetStyleAt // // PURPOSE: This function returns the style of the given position // // RETURN: The style number // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETSTYLEAT, al_pos) end function public function long of_getviewws ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetViewWs // // PURPOSE: This function returns the current setting of the whitespaces display // // RETURN: SCWS_INVISIBLE, SCWS_VISIBLEALWAYS or SCWS_VISIBLEAFTERINDENT // see of_SetViewWs() for further info // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETVIEWWS) end function public subroutine of_userlistshow (long al_listtype, ref string as_list);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_UserListShow // // PURPOSE: This function causes an user list window to appear. // // ARGUMENTS: al_listtype - Returned to the scn_userlistselection event // as_list - The list of words to display // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_USERLISTSHOW, al_listtype, as_list) end subroutine public subroutine of_cleardocumentstyle ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ClearDocumentStyle // // PURPOSE: This function clears all styling information and resets // the folding state. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_CLEARDOCUMENTSTYLE) end subroutine public subroutine of_setviewws (long al_wsmode);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetViewWs // // PURPOSE: This function will change the display of the whitespaces // of_ShowWhiteSpace can toggle the display // of_SetViewWs enables a little finer tuning, it is especially useful to display python code // // ARGUMENTS: al_wsmode - the type of display // Possible values : // SCWS_INVISIBLE The normal display mode with white space displayed // as an empty background colour. // SCWS_VISIBLEALWAYS White space characters are drawn as dots and arrows, // SCWS_VISIBLEAFTERINDENT White space used for indentation is displayed normally // but after the first visible character, // it is shown as dots and arrows. // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETVIEWWS, al_wsmode) end subroutine public function long of_getsyscolor (long al_index);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SysColor // // PURPOSE: This function returns the color number for a system color. // // ARGUMENTS: ai_index - The the color index. // // These are the argument values: // // Object Value Object Value // -------------------------- ----- -------------------------- ----- // Scroll Bar 0 Button Face 15 // Desktop 1 Button Shadow 16 // Active Title Bar 2 Disabled Text 17 // Inactive Title Bar 3 Button Text 18 // Menu Bar 4 Inactive Title Bar Text 19 // Window Background 5 Button Highlight 20 // Window Frame 6 Button Dark Shadow 21 // Menu Text 7 Button Light Shadow 22 // Window Text 8 Tooltip Text 23 // Active Title Bar Text 9 Tooltip Background 24 // Active Border 10 Hyperlink 26 // Inactive Border 11 Active Title Bar Gradient 27 // Application Workspace 12 Inactive Title Bar Gradient 28 // Highlight 13 Flat Menu Highlight 29 // Highlight Text 14 Flat Menu Background 30 // // RETURN: Color number. // ----------------------------------------------------------------------------- Return GetSysColor(al_index) end function public subroutine of_seteolmode (long al_eolmode);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetEOLMode // // PURPOSE: Sets the EOL characters used when the Enter key is pressed. // // ARGUMENTS: al_eolmode - SC_EOL_CRLF (0), SC_EOL_CR (1), or SC_EOL_LF (2). // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETEOLMODE, al_eolmode) end subroutine public subroutine of_converteols (long al_eolmode);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ConvertEOLS // // PURPOSE: Converts all EOL characters to be the same. // // ARGUMENTS: al_eolmode - SC_EOL_CRLF (0), SC_EOL_CR (1), or SC_EOL_LF (2). // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_CONVERTEOLS, al_eolmode) end subroutine public function long of_geteolmode ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetEOLMode // // PURPOSE: This function returns the current EOL mode. // // RETURN: EOL Mode: SC_EOL_CRLF (0), SC_EOL_CR (1), or SC_EOL_LF (2). // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_GETEOLMODE) end function public function string of_getkeywords (long al_keyset, string as_language);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetKeywords // // PURPOSE: This function will return a list of language keywords // // ARGUMENTS: ai_keyset - The keyword set number // as_language - The name of the langauge // // RETURN: Keyword list // ----------------------------------------------------------------------------- String ls_keywords choose case Lower(as_language) case "sql" choose case al_keyset case 0 // reserved words ls_keywords = "add all alter and any as asc begin between break " ls_keywords += "by call cascade case cast check checkpoint close " ls_keywords += "comment commit connect constraint continue " ls_keywords += "convert create cross current cursor dbspace " ls_keywords += "declare default delete desc distinct do drop " ls_keywords += "dynamic else elseif encrypted end endif escape " ls_keywords += "exception exec execute exists fetch first for " ls_keywords += "foreign from full grant group having holdlock " ls_keywords += "identified if in index inner inout insensitive " ls_keywords += "insert instead into is isolation join key left " ls_keywords += "like lock match membership message mode modify " ls_keywords += "natural new no noholdlock not null of off on " ls_keywords += "open option or order others out outer " ls_keywords += "passthrough precision prepare primary print " ls_keywords += "privileges procedure publication raiserror " ls_keywords += "readtext reference references release remote rename " ls_keywords += "resource restrict return revoke right rollback " ls_keywords += "save savepoint scroll select set share some " ls_keywords += "sqlcode sqlstate start stop subtransaction " ls_keywords += "synchronize syntax_error table temporary then " ls_keywords += "to top trigger truncate tsequal union " ls_keywords += "unique unknown update user using validate " ls_keywords += "values variable varying view when " ls_keywords += "where while with work writetext " case 1 // datatypes ls_keywords = "binary bit char date datetime decimal double float image " ls_keywords += "int integer long money numeric real smalldatetime smallint " ls_keywords += "smallmoney text time timestamp tinyint varbinary varchar " end choose case "pb" choose case al_keyset case 0 // reserved words ls_keywords = "alias and autoinstantiate call case catch choose " ls_keywords += "close commit connect constant continue create cursor " ls_keywords += "declare delete describe descriptor destroy disconnect " ls_keywords += "do dynamic else elseif end enumerated event execute " ls_keywords += "exit external false fetch finally first for forward " ls_keywords += "from function global goto halt if immediate indirect " ls_keywords += "insert into intrinsic is last library loop namespace " ls_keywords += "native next not of on open or parent post prepare prior " ls_keywords += "private privateread privatewrite procedure protected " ls_keywords += "protectedread protectedwrite prototypes public " ls_keywords += "readonly ref return rollback rpcfunc select " ls_keywords += "selectblob shared static step subroutine super system " ls_keywords += "systemread systemwrite then this throw throws to " ls_keywords += "trigger true try type until update updateblob using " ls_keywords += "variables while with within " case 1 // datatypes ls_keywords = "any blob boolean byte char character date datetime decimal " ls_keywords += "dec double integer int longlong long longptr real string " ls_keywords += "time unsignedinteger unsignedint uint unsignedlong ulong " end choose case "ps1" choose case al_keyset case 0 // Keywords ls_keywords = "begin break catch continue data do dynamicparam else elseif end " ls_keywords += "exit filter finally for foreach from function if in local param " ls_keywords += "private process return switch throw trap try until where while " case 1 // Cmdlets ls_keywords = "add-computer add-content add-history add-member add-pssnapin add-type " ls_keywords += "checkpoint-computer clear-content clear-eventlog clear-history clear-item " ls_keywords += "clear-itemproperty clear-variable compare-object complete-transaction " ls_keywords += "connect-wsman convert-path convertfrom-csv convertfrom-securestring " ls_keywords += "convertfrom-stringdata convertto-csv convertto-html convertto-securestring " ls_keywords += "convertto-xml copy-item copy-itemproperty debug-process disable-computerrestore " ls_keywords += "disable-psbreakpoint disable-pssessionconfiguration disable-wsmancredssp " ls_keywords += "disconnect-wsman enable-computerrestore enable-psbreakpoint enable-psremoting " ls_keywords += "enable-pssessionconfiguration enable-wsmancredssp enter-pssession exit-pssession " ls_keywords += "export-alias export-clixml export-console export-counter export-csv " ls_keywords += "export-formatdata export-modulemember export-pssession foreach-object " ls_keywords += "format-custom format-list format-table format-wide get-acl get-alias " ls_keywords += "get-authenticodesignature get-childitem get-command get-computerrestorepoint " ls_keywords += "get-content get-counter get-credential get-culture get-date get-event " ls_keywords += "get-eventlog get-eventsubscriber get-executionpolicy get-formatdata get-help " ls_keywords += "get-history get-host get-hotfix get-item get-itemproperty get-job get-location " ls_keywords += "get-member get-module get-psbreakpoint get-pscallstack get-psdrive " ls_keywords += "get-psprovider get-pssession get-pssessionconfiguration get-pssnapin " ls_keywords += "get-pfxcertificate get-process get-random get-service get-tracesource " ls_keywords += "get-transaction get-uiculture get-unique get-variable get-wsmancredssp " ls_keywords += "get-wsmaninstance get-winevent get-wmiobject group-object import-alias " ls_keywords += "import-clixml import-counter import-csv import-localizeddata import-module " ls_keywords += "import-pssession invoke-command invoke-expression invoke-history invoke-item " ls_keywords += "invoke-wsmanaction invoke-wmimethod join-path limit-eventlog measure-command " ls_keywords += "measure-object move-item move-itemproperty new-alias new-event new-eventlog " ls_keywords += "new-item new-itemproperty new-module new-modulemanifest new-object new-psdrive " ls_keywords += "new-pssession new-pssessionoption new-service new-timespan new-variable " ls_keywords += "new-wsmaninstance new-wsmansessionoption new-webserviceproxy out-default " ls_keywords += "out-file out-gridview out-host out-null out-printer out-string pop-location " ls_keywords += "push-location read-host receive-job register-engineevent register-objectevent " ls_keywords += "register-pssessionconfiguration register-wmievent remove-computer remove-event " ls_keywords += "remove-eventlog remove-item remove-itemproperty remove-job remove-module " ls_keywords += "remove-psbreakpoint remove-psdrive remove-pssession remove-pssnapin " ls_keywords += "remove-variable remove-wsmaninstance remove-wmiobject rename-item " ls_keywords += "rename-itemproperty reset-computermachinepassword resolve-path restart-computer " ls_keywords += "restart-service restore-computer resume-service select-object select-string " ls_keywords += "select-xml send-mailmessage set-acl set-alias set-authenticodesignature " ls_keywords += "set-content set-date set-executionpolicy set-item set-itemproperty set-location " ls_keywords += "set-psbreakpoint set-psdebug set-pssessionconfiguration set-service " ls_keywords += "set-strictmode set-tracesource set-variable set-wsmaninstance " ls_keywords += "set-wsmanquickconfig set-wmiinstance show-eventlog sort-object split-path " ls_keywords += "start-job start-process start-service start-sleep start-transaction " ls_keywords += "start-transcript stop-computer stop-job stop-process stop-service " ls_keywords += "stop-transcript suspend-service tee-object test-computersecurechannel " ls_keywords += "test-connection test-modulemanifest test-path test-wsman trace-command " ls_keywords += "undo-transaction unregister-event unregister-pssessionconfiguration " ls_keywords += "update-formatdata update-list update-typedata use-transaction wait-event " ls_keywords += "wait-job wait-process where-object write-debug write-error write-eventlog " ls_keywords += "write-host write-output write-progress write-verbose write-warning " case 2 // Aliases ls_keywords = "ac asnp cat cd chdir clc clear clhy cli clp cls clv compare " ls_keywords += "copy cp cpi cpp cvpa dbp del diff dir ebp echo epal epcsv " ls_keywords += "epsn erase etsn exsn fc fl foreach ft fw gal gbp gc gci " ls_keywords += "gcm gcs gdr ghy gi gjb gl gm gmo gp gps group gsn gsnp gsv " ls_keywords += "gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn " ls_keywords += "ise iwmi kill lp ls man md measure mi mount move mp mv nal " ls_keywords += "ndr ni nmo nsn nv ogv oh popd ps pushd pwd r rbp rcjb rd " ls_keywords += "rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rv rvpa " ls_keywords += "rwmi sajb sal saps sasv sbp sc select set si sl sleep sort " ls_keywords += "sp spjb spps spsv start sv swmi tee type where wjb write " case 3 // Functions ls_keywords = "clear-host disable-psremoting enable-psremoting get-verb help " ls_keywords += "importsystemmodules mkdir more prompt psedit tabexpansion " end choose end choose Return ls_keywords end function public subroutine of_setfontsize (long al_size);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFontSize // // PURPOSE: This function will change the font size // // ARGUMENTS: al_size - The font size // // RETURN: None // ----------------------------------------------------------------------------- #TextSize = al_size of_SendEditor(SCI_STYLESETSIZE, STYLE_DEFAULT, al_size) end subroutine public subroutine of_settabwidth (long al_width);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetTabWidth // // PURPOSE: This function will change the tab spacing // // ARGUMENTS: al_width - The number of characters the tab represents // // RETURN: None // ----------------------------------------------------------------------------- #TabWidth = al_width of_SendEditor(SCI_SETTABWIDTH, al_width) end subroutine public subroutine of_zoomlevel (long al_level);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ZoomLevel // // PURPOSE: This function sets the Zoom level. // // Valid range is -10 to +20. // // ARGUMENTS: al_level - The zoom level // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETZOOM, al_level) end subroutine public subroutine of_setstylesize (long al_style, long al_size);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleSize // // PURPOSE: This function sets the font size for the style. // // ARGUMENTS: al_style - The number of the style // al_size - The font size // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_STYLESETSIZE, al_style, al_size) end subroutine public subroutine of_setmarginwidth (long al_margin, long al_width);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetMarginWidth // // PURPOSE: This function will change the given margin width // // ARGUMENTS: ai_margin - The margin nulber (0..4) // ai_width - the width in pixels // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETMARGINWIDTHN, al_margin, al_width) end subroutine public subroutine of_setmarginbackcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetMarginBackColor // // PURPOSE: This function will change the margin background color // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- il_marginbackcolor = al_color of_SendEditor(SCI_STYLESETBACK, STYLE_LINENUMBER, il_marginbackcolor) end subroutine public subroutine of_setmargintextcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetMarginTextColor // // PURPOSE: This function will change the margin text color // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- il_margintextcolor = al_color of_SendEditor(SCI_STYLESETFORE, STYLE_LINENUMBER, il_margintextcolor) end subroutine public subroutine of_setselectcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetSelectColor // // PURPOSE: This function will change the back color of selected text // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- il_selectcolor = al_color If il_selectcolor > -1 Then of_SendEditor(SCI_SETSELBACK, 1, il_selectcolor) End If end subroutine public subroutine of_setwhitespacefore (boolean ab_option, long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetWhitespaceFore // // PURPOSE: This function will change the foreground color of the whitespace. // // ARGUMENTS: ab_option - True=Use the color, False=Do not use the color // al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_SETWHITESPACEFORE, 1, al_color) Else of_SendEditor(SCI_SETWHITESPACEFORE, 0, al_color) End If end subroutine public subroutine of_setwhitespaceback (boolean ab_option, long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetWhitespaceBack // // PURPOSE: This function will change the background color of the whitespace. // // ARGUMENTS: ab_option - True=Use the color, False=Do not use the color // al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- If ab_option Then of_SendEditor(SCI_SETWHITESPACEBACK, 1, al_color) Else of_SendEditor(SCI_SETWHITESPACEBACK, 0, al_color) End If end subroutine public subroutine of_setstylefore (long al_style, long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleFore // // PURPOSE: This function will change the foreground color of the style. // // ARGUMENTS: al_style - The number of the style // al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_STYLESETFORE, al_style, al_color) end subroutine public subroutine of_setstyleback (long al_style, long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleBack // // PURPOSE: This function will change the background color of the style. // // ARGUMENTS: al_style - The number of the style // al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_STYLESETBACK, al_style, al_color) end subroutine public subroutine of_setfoldforecolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFoldForeColor // // PURPOSE: This function will set the fold box background color variable. // The color is actually applied in the of_enablefolding function. // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- il_foldforecolor = al_color end subroutine public subroutine of_setfoldbackcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFoldBackColor // // PURPOSE: This function will set the fold marker color variable. The // color is actually applied in the of_enablefolding function. // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- il_foldbackcolor = al_color end subroutine public subroutine of_set_nolanguage ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Set_NoLanguage // // PURPOSE: This function will reset the language and colors. // // RETURN: None // ----------------------------------------------------------------------------- this.SetRedraw(False) // remove existing lexer of_SetLexer(SCLEX_NULL) // set the comment characters is_commentchar1 = "" is_commentchar2 = "" // set background/default text/select color of_SetBackColor(il_backcolor) of_SetTextColor(il_forecolor) of_SetSelectColor(il_selectcolor) this.SetRedraw(True) end subroutine public subroutine of_setbackcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetBackColor // // PURPOSE: This function will set the background color. // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- Long ll_style il_backcolor = al_color For ll_style = 0 To STYLE_DEFAULT of_SetStyleBack(ll_style, il_backcolor) Next end subroutine public subroutine of_settextcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetTextColor // // PURPOSE: This function will set the foreground (text) color. // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- Long ll_style il_forecolor = al_color For ll_style = 0 To STYLE_DEFAULT of_SetStyleFore(ll_style, il_forecolor) Next end subroutine public subroutine of_righttrimselected ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_RightTrimSelected // // PURPOSE: This function removes trailing spaces from selected lines. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line, ll_length String ls_text, ls_replace // get first selected line caretPos = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // get last selected line caretPos = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // if end of selection is start of the line, end on prior line If ll_start = ll_end Then Else If caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 End If End If of_SendEditor(SCI_BEGINUNDOACTION) For ll_line = ll_start To ll_end // get line length ll_length = of_SendEditor(SCI_LINELENGTH, ll_line) // get line text ls_text = Space(ll_length) of_SendEditor(SCI_GETLINE, ll_line, ls_text) // remove CR/LF from end of text If Right(ls_text, 1) = "~n" Then ls_text = Left(ls_text, Len(ls_text) - 1) End If If Right(ls_text, 1) = "~r" Then ls_text = Left(ls_text, Len(ls_text) - 1) End If // RightTrim the line If Right(ls_text, 1) = " " Then ls_replace = RightTrim(ls_text) caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_SETTARGETSTART, caretPos) of_SendEditor(SCI_SETTARGETEND, caretPos + Len(ls_text)) of_SendEditor(SCI_REPLACETARGET, -1, ls_replace) End If Next of_SendEditor(SCI_ENDUNDOACTION) // position at begining of last line of_SendEditor(SCI_SETSEL, -1, of_SendEditor(SCI_POSITIONFROMLINE, ll_end)) end subroutine public subroutine of_lefttrimselected ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_LeftTrimSelected // // PURPOSE: This function removes leading spaces from selected lines. // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line, ll_length String ls_text, ls_replace // get first selected line caretPos = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // get last selected line caretPos = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // if end of selection is start of the line, end on prior line If ll_start = ll_end Then Else If caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 End If End If of_SendEditor(SCI_BEGINUNDOACTION) For ll_line = ll_start To ll_end // get line length ll_length = of_SendEditor(SCI_LINELENGTH, ll_line) // get line text ls_text = Space(ll_length) of_SendEditor(SCI_GETLINE, ll_line, ls_text) // LeftTrim the line If Left(ls_text, 1) = " " Then ls_replace = LeftTrim(ls_text) caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_SETTARGETSTART, caretPos) of_SendEditor(SCI_SETTARGETEND, caretPos + Len(ls_text)) of_SendEditor(SCI_REPLACETARGET, -1, ls_replace) End If Next of_SendEditor(SCI_ENDUNDOACTION) // position at begining of last line of_SendEditor(SCI_SETSEL, -1, of_SendEditor(SCI_POSITIONFROMLINE, ll_end)) end subroutine public function boolean of_sortarray (ref string as_array[], string as_order);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SortArray // // PURPOSE: This function sorts the passed array using a DataStore created // on-the-fly. // // This is based on code from Real Gagnon: // http://www.rgagnon.com/pbdetails/pb-0114.html // // ARGUMENTS: as_array - Array of values to sort // as_order - The sort order: // // Order value Resulting sort order // ------------------------ --------------------------- // a, asc, ascending, ai, i Case-insensitive ascending // d, desc, descending, di Case-insensitive descending // as, s Case-sensitive ascending // ds Case-sensitive descending // // RETURN: True=Success, False=Error // ----------------------------------------------------------------------------- DataStore lds_sort String ls_source, ls_error Long ll_idx, ll_max, ll_len, ll_maxlen Integer li_rc // determine maximum length of values ll_max = UpperBound(as_array) For ll_idx = 1 To ll_max ll_len = Len(as_array[ll_idx]) If ll_len > ll_maxlen Then ll_maxlen = ll_len End If Next // build DataWindow source code ls_source = "release 6; datawindow( processing=0 ) " + & "table(column=(type=char(" + String(ll_maxlen) + & ") name=array dbname=~"array~" ) )" // create DataStore lds_sort = Create DataStore li_rc = lds_sort.Create(ls_source, ls_error) If li_rc = 1 Then // put data into DataStore lds_sort.Object.array.Current = as_array // sort the data lds_sort.SetSort("array " + as_order) lds_sort.Sort() // set array to sorted data as_array = lds_sort.Object.array.Current Else Return False End If // destroy DataStore Destroy lds_sort Return True end function public subroutine of_sortselected (string as_order);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SortSelected // // PURPOSE: This function sorts the selected lines. // // ARGUMENTS: as_order - The sort order: // // Order value Resulting sort order // ------------------------ --------------------------- // a, asc, ascending, ai, i Case-insensitive ascending // d, desc, descending, di Case-insensitive descending // as, s Case-sensitive ascending // ds Case-sensitive descending // // RETURN: None // ----------------------------------------------------------------------------- Long caretPos, ll_start, ll_end, ll_line, ll_length, ll_selected String ls_text, ls_array[] // get first selected line caretPos = of_SendEditor(SCI_GETSELECTIONSTART) ll_start = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // get last selected line caretPos = of_SendEditor(SCI_GETSELECTIONEND) ll_end = of_SendEditor(SCI_LINEFROMPOSITION, caretPos) // if end of selection is start of the line, end on prior line If ll_start = ll_end Then Else If caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_end) Then ll_end = ll_end - 1 End If End If // copy text into array For ll_line = ll_start To ll_end // get line length ll_length = of_SendEditor(SCI_LINELENGTH, ll_line) // get line text ls_text = Space(ll_length) of_SendEditor(SCI_GETLINE, ll_line, ls_text) // put line of text into array ll_selected = UpperBound(ls_array) + 1 ls_array[ll_selected] = ls_text Next // sort ascending of_SortArray(ls_array, as_order) of_SendEditor(SCI_BEGINUNDOACTION) // copy sorted array back into control ll_selected = 0 For ll_line = ll_start To ll_end // get line length ll_length = of_SendEditor(SCI_LINELENGTH, ll_line) ll_selected = ll_selected + 1 // paste in text caretPos = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) of_SendEditor(SCI_SETTARGETSTART, caretPos) of_SendEditor(SCI_SETTARGETEND, caretPos + ll_length) of_SendEditor(SCI_REPLACETARGET, -1, ls_array[ll_selected]) Next of_SendEditor(SCI_ENDUNDOACTION) // position at begining of last line of_SendEditor(SCI_SETSEL, -1, of_SendEditor(SCI_POSITIONFROMLINE, ll_end)) end subroutine public subroutine of_setcaretcolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetCaretColor // // PURPOSE: This function will set the caret line (cursor) background color. // // ARGUMENTS: al_color - The color code // // RETURN: None // ----------------------------------------------------------------------------- il_caretcolor = al_color of_SendEditor(SCI_SETCARETLINEBACK, il_caretcolor) end subroutine public subroutine of_setcaretbackground (boolean ab_visible);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetCaretBackground // // PURPOSE: This function will set toggle a background color that will // automatically show on the line where the caret (cursor) is. // // ARGUMENTS: ab_visible - True=Visible // // RETURN: None // ----------------------------------------------------------------------------- If ab_visible Then of_SendEditor(SCI_SETCARETLINEVISIBLE, 1) of_SendEditor(SCI_SETCARETLINEBACK, il_caretcolor) Else of_SendEditor(SCI_SETCARETLINEVISIBLE, 0) End If end subroutine public subroutine of_deleteline (long al_line);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_DeleteLine // // PURPOSE: This function will delete the specified line // // ARGUMENTS: al_line - The line to delete in the text // // RETURN: None // ----------------------------------------------------------------------------- Long ll_line, ll_start, ll_length ll_line = al_line - 1 // unfold if the line is hidden of_SendEditor(SCI_ENSUREVISIBLEENFORCEPOLICY, ll_line) // get starting position ll_start = of_SendEditor(SCI_POSITIONFROMLINE, ll_line) // get length of the line ll_length = of_SendEditor(SCI_LINELENGTH, ll_line) // set the target start/end of_SendEditor(SCI_SETTARGETSTART, ll_start) of_SendEditor(SCI_SETTARGETEND, ll_start + ll_length) // replace current contents with nothing of_SendEditor(SCI_REPLACETARGET, 0, 0) end subroutine public function long of_getposfromline (long al_line);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetPosFromLine // // PURPOSE: This function returns the position that the line starts on // // RETURN: The position // ----------------------------------------------------------------------------- Return of_SendEditor(SCI_POSITIONFROMLINE, al_line - 1) end function public subroutine of_registerrgbaimage (long al_index, ref blob ablb_pixels, long al_width, long al_height);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_RegisterRGBAImage // // PURPOSE: This function registers an RGBA image to be used by autocomplete. // // ARGUMENTS: al_index - Index of the image. When the word list is passed // to of_AutoCShow, add ?# after each word where # // is the image index. This is referred to as type // in the documentation. // ablb_pixels - The RGBA image data // al_width - The width of the image // al_height - The height of the image // // RETURN: None // ----------------------------------------------------------------------------- // set image width/height of_SendEditor(SCI_RGBAIMAGESETWIDTH, al_width) of_SendEditor(SCI_RGBAIMAGESETHEIGHT, al_height) // register the image of_SendEditor(SCI_REGISTERRGBAIMAGE, al_index, ablb_pixels) end subroutine public subroutine of_setedgemode (long al_mode);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetEdgeMode // // PURPOSE: This function will set the edge mode. Edge mode is used to // indicate lines that exceed a certain number fo characters. // // ARGUMENTS: al_mode - The edge mode // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETEDGEMODE, al_mode) end subroutine public subroutine of_setedgecolumn (long al_column);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetEdgeColumn // // PURPOSE: This function will set the edge column. Edge mode is used to // indicate lines that exceed a certain number fo characters. // // ARGUMENTS: al_column - The edge column // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETEDGECOLUMN, al_column) end subroutine public subroutine of_setedgecolor (long al_color);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetEdgeColor // // PURPOSE: This function will set the edge colour. Edge mode is used to // indicate lines that exceed a certain number fo characters. // // ARGUMENTS: al_color - The edge color // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETEDGECOLOUR, al_color) end subroutine public subroutine of_setcharacterset (long al_charset);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetCharacterSet // // PURPOSE: This function will set the character set for all styles. // // ARGUMENTS: al_charset - The character set // // RETURN: None // ----------------------------------------------------------------------------- Long ll_style For ll_style = 0 To STYLE_DEFAULT of_SetStyleCharset(ll_style, al_charset) Next end subroutine public subroutine of_setstylecharset (long al_style, long al_charset);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetStyleCharset // // PURPOSE: This function will set the character set for the style. // // ARGUMENTS: al_style - The style to update // al_charset - The character set // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_STYLESETCHARACTERSET, al_style, al_charset) end subroutine public subroutine of_getstylecharset (long al_style, ref long al_charsetnbr, ref string as_charsetdesc);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetStyleCharset // // PURPOSE: This function will return the character set of a style // // ARGUMENTS: al_style - The style number // al_charsetnbr - The character set number // as_charsetdesc - The character set description // // RETURN: None // ----------------------------------------------------------------------------- al_charsetnbr = of_SendEditor(SCI_STYLEGETCHARACTERSET, al_style) choose case al_charsetnbr case SC_CHARSET_ANSI as_charsetdesc = "ANSI" case SC_CHARSET_DEFAULT as_charsetdesc = "DEFAULT" case SC_CHARSET_BALTIC as_charsetdesc = "BALTIC" case SC_CHARSET_CHINESEBIG5 as_charsetdesc = "CHINESEBIG5" case SC_CHARSET_EASTEUROPE as_charsetdesc = "EASTEUROPE" case SC_CHARSET_GB2312 as_charsetdesc = "GB2312" case SC_CHARSET_GREEK as_charsetdesc = "GREEK" case SC_CHARSET_HANGUL as_charsetdesc = "HANGUL" case SC_CHARSET_MAC as_charsetdesc = "MAC" case SC_CHARSET_OEM as_charsetdesc = "OEM" case SC_CHARSET_RUSSIAN as_charsetdesc = "RUSSIAN" case SC_CHARSET_SHIFTJIS as_charsetdesc = "SHIFTJIS" case SC_CHARSET_SYMBOL as_charsetdesc = "SYMBOL" case SC_CHARSET_TURKISH as_charsetdesc = "TURKISH" case SC_CHARSET_JOHAB as_charsetdesc = "JOHAB" case SC_CHARSET_HEBREW as_charsetdesc = "HEBREW" case SC_CHARSET_ARABIC as_charsetdesc = "ARABIC" case SC_CHARSET_VIETNAMESE as_charsetdesc = "VIETNAMESE" case SC_CHARSET_THAI as_charsetdesc = "THAI" case else as_charsetdesc = String(al_charsetnbr) end choose end subroutine public subroutine of_set_json ();// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Set_JSON // // PURPOSE: This function will set the language, keywords and colors // for JSON files. // // RETURN: None // ----------------------------------------------------------------------------- Constant Long SCE_JSON_DEFAULT = 0 Constant Long SCE_JSON_NUMBER = 1 Constant Long SCE_JSON_STRING = 2 Constant Long SCE_JSON_STRINGEOL = 3 Constant Long SCE_JSON_PROPERTYNAME = 4 Constant Long SCE_JSON_ESCAPESEQUENCE = 5 Constant Long SCE_JSON_LINECOMMENT = 6 Constant Long SCE_JSON_BLOCKCOMMENT = 7 Constant Long SCE_JSON_OPERATOR = 8 Constant Long SCE_JSON_URI = 9 Constant Long SCE_JSON_COMPACTIRI = 10 Constant Long SCE_JSON_KEYWORD = 11 Constant Long SCE_JSON_LDKEYWORD = 12 Constant Long SCE_JSON_ERROR = 13 this.SetRedraw(False) of_SetLanguage("json") of_EnableFolding() // set the comment characters is_commentchar1 = "" is_commentchar2 = "" // set background/default text/select color of_SetBackColor(il_backcolor) of_SetTextColor(il_forecolor) of_SetSelectColor(il_selectcolor) // set language color of_SendEditor(SCI_STYLESETFORE, SCE_JSON_DEFAULT, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_NUMBER, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_STRING, RGB(128,0,255)) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_STRINGEOL, RGB(128,0,255)) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_PROPERTYNAME, of_color("Maroon")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_ESCAPESEQUENCE, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_LINECOMMENT, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_BLOCKCOMMENT, of_color("Green")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_OPERATOR, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_URI, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_COMPACTIRI, of_color("Black")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_KEYWORD, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_LDKEYWORD, of_color("Blue")) of_SendEditor(SCI_STYLESETFORE, SCE_JSON_ERROR, of_color("Green")) this.SetRedraw(True) end subroutine public subroutine of_setfirstvisibleline (long al_line);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFirstVisibleLine // // PURPOSE: This function will set the first visible line. // // ARGUMENTS: al_line - The line you want to be visible // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditor(SCI_SETFIRSTVISIBLELINE, al_line) end subroutine public function string of_getlinetextfrompos (long al_caretpos);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_GetLineTextFromPos // // PURPOSE: This function returns text of the line that the caret is on // // RETURN: The line number // ----------------------------------------------------------------------------- Long ll_line String ls_line ll_line = of_SendEditor(SCI_LINEFROMPOSITION, al_caretpos) ls_line = Space(4096) of_SendEditor(SCI_GETLINE, ll_line, ls_line) Return Trim(ls_line) end function public function boolean of_find (ref string as_findstring);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_Find // // PURPOSE: This function finds a string within the text // // ARGUMENTS: as_findstring - The string to look for // // RETURN: True=String found, False=String not found // ----------------------------------------------------------------------------- Boolean lb_found Long ll_flags, ll_selected, ll_pos1, ll_pos2 Long ll_TargetStart, ll_TargetEnd, ll_line // validate string length If Len(as_findstring) = 0 Then Return False // set search flags ll_flags = 0 If ib_MatchCase Then ll_flags += SCFIND_MATCHCASE End If If ib_WholeWord Then ll_flags += SCFIND_WHOLEWORD End If If ib_WordStart Then ll_flags += SCFIND_WORDSTART End If If ib_RegEx Then ll_flags += SCFIND_REGEXP End If of_SendEditor(SCI_SETSEARCHFLAGS, ll_flags) // set the search position If ib_Backwards Then ll_selected = of_SendEditor(SCI_GETSELECTIONEND) - of_SendEditor(SCI_GETSELECTIONSTART) ll_pos1 = of_SendEditor(SCI_GETCURRENTPOS) - ll_selected ll_pos2 = 0 Else ll_pos1 = of_SendEditor(SCI_GETCURRENTPOS) ll_pos2 = of_SendEditor(SCI_GETLENGTH) End If of_SendEditor(SCI_SETTARGETSTART, ll_pos1) of_SendEditor(SCI_SETTARGETEND, ll_pos2) // search for the string ll_TargetStart = of_SendEditorLen(SCI_SEARCHINTARGET, as_findstring) do while ll_TargetStart > -1 lb_found = True If ib_IgnoreComment Then If of_IsCommented(ll_TargetStart) Then lb_found = False End If End If If lb_found Then Exit If ib_Backwards Then ll_pos1 = ll_TargetStart Else ll_pos1 = of_SendEditor(SCI_GETTARGETEND) End If of_SendEditor(SCI_SETTARGETSTART, ll_pos1) of_SendEditor(SCI_SETTARGETEND, ll_pos2) ll_TargetStart = of_SendEditorLen(SCI_SEARCHINTARGET, as_findstring) loop If lb_found Then // move cursor to position of the found string of_GotoPos(ll_TargetStart) of_GotoPos(ll_TargetStart + Len(as_findstring) + 2) // select the found string ll_TargetEnd = of_SendEditor(SCI_GETTARGETEND) of_SendEditor(SCI_SETSELECTIONSTART, ll_TargetStart) of_SendEditor(SCI_SETSELECTIONEND, ll_TargetEnd) // scroll the line ll_line = of_GetCurrentLine() of_SetFirstVisibleLine(ll_line - il_FindScrollLines) End If Return lb_found end function public function long of_findall (ref string as_findstring);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_FindAll // // PURPOSE: This function finds all occurrences of a string in the text // // ARGUMENTS: as_findstring - The string to look for // // RETURN: The number of occurrences found // ----------------------------------------------------------------------------- Boolean lb_found Long ll_flags, ll_pos1, ll_pos2, ll_found, ll_hits, ll_line // validate string length If Len(as_findstring) = 0 Then Return 0 // set search flags ll_flags = 0 If ib_MatchCase Then ll_flags += SCFIND_MATCHCASE End If If ib_WholeWord Then ll_flags += SCFIND_WHOLEWORD End If If ib_WordStart Then ll_flags += SCFIND_WORDSTART End If If ib_RegEx Then ll_flags += SCFIND_REGEXP End If of_SendEditor(SCI_SETSEARCHFLAGS, ll_flags) // set the search range ll_pos1 = 0 ll_pos2 = of_SendEditor(SCI_GETLENGTH) of_SendEditor(SCI_SETTARGETSTART, ll_pos1) of_SendEditor(SCI_SETTARGETEND, ll_pos2) // search for the string ll_found = of_SendEditorLen(SCI_SEARCHINTARGET, as_findstring) do while ll_found > -1 lb_found = True If ib_IgnoreComment Then If of_IsCommented(ll_found) Then lb_found = False End If End If If lb_found Then // select the first occurrence, mark all occurrences ll_line = of_SendEditor(SCI_LINEFROMPOSITION, ll_found) of_MarkerAdd(SC_MARK_CIRCLE, ll_line + 1, of_Color("Red")) If ll_hits = 0 Then // move cursor to position of the found string of_GotoPos(ll_found) of_GotoPos(ll_found + Len(as_findstring) + 2) // select the found string If ib_RegEx Then of_SelectText(ll_found, 1) Else of_SelectText(ll_found, Len(as_findstring)) End If End If ll_hits++ End If // move start of search range If ib_RegEx Then ll_pos1 = ll_found + 1 Else ll_pos1 = ll_found + Len(as_findstring) End If ll_pos2 = of_SendEditor(SCI_GETLENGTH) of_SendEditor(SCI_SETTARGETSTART, ll_pos1) of_SendEditor(SCI_SETTARGETEND, ll_pos2) // search for the string again ll_found = of_SendEditorLen(SCI_SEARCHINTARGET, as_findstring) loop Return ll_hits end function public function long of_replaceall (ref string as_findstring, ref string as_replacestring);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ReplaceAll // // PURPOSE: This function replaces all occurrences of a string in the text // // ARGUMENTS: as_findstring - The string to look for // as_replacestring - The string to replace the find string // // RETURN: The number of occurrences replaced // ----------------------------------------------------------------------------- Boolean lb_found Long ll_flags, ll_pos1, ll_pos2 Long ll_found, ll_hits, ll_ReplaceLen // get search string length If Len(as_findstring) = 0 Then Return 0 // set search flags ll_flags = 0 If ib_MatchCase Then ll_flags += SCFIND_MATCHCASE End If If ib_WholeWord Then ll_flags += SCFIND_WHOLEWORD End If If ib_WordStart Then ll_flags += SCFIND_WORDSTART End If If ib_RegEx Then ll_flags += SCFIND_REGEXP End If of_SendEditor(SCI_SETSEARCHFLAGS, ll_flags) // set the search range ll_pos1 = 0 ll_pos2 = of_SendEditor(SCI_GETLENGTH) of_SendEditor(SCI_SETTARGETSTART, ll_pos1) of_SendEditor(SCI_SETTARGETEND, ll_pos2) // search for the string ll_found = of_SendEditorLen(SCI_SEARCHINTARGET, as_findstring) do while ll_found > -1 lb_found = True If ib_IgnoreComment Then If of_IsCommented(ll_found) Then lb_found = False End If End If If lb_found Then ll_hits++ // replace the occurrence If ib_RegEx Then ll_ReplaceLen = of_SendEditorLen(SCI_REPLACETARGETRE, as_replacestring) Else ll_ReplaceLen = of_SendEditorLen(SCI_REPLACETARGET, as_replacestring) End If End If // move start of search range ll_pos1 = ll_found + ll_ReplaceLen ll_pos2 = of_SendEditor(SCI_GETLENGTH) of_SendEditor(SCI_SETTARGETSTART, ll_pos1) of_SendEditor(SCI_SETTARGETEND, ll_pos2) // search for the string again ll_found = of_SendEditorLen(SCI_SEARCHINTARGET, as_findstring) loop Return ll_hits end function public subroutine of_setfindoptions (boolean ab_matchcase, boolean ab_wholeword, boolean ab_wordstart, boolean ab_regex, boolean ab_backwards, boolean ab_ignorecomment);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SetFindOptions // // PURPOSE: This function sets instance variables with Find/Replace options. // // ARGUMENTS: ab_matchcase - A match only occurs with text that matches the // case of the search string. // ab_wholeword - A match only occurs if the characters before // and after are not word characters. // ab_wordstart - A match only occurs if the character before is // not a word character. // ab_regex - Use Regular Expression search. // ab_backwards - Search from the back of the file to the top. // ab_ignorecomment - Hits within comments are ignored. // ----------------------------------------------------------------------------- ib_MatchCase = ab_MatchCase ib_WholeWord = ab_WholeWord ib_WordStart = ab_WordStart ib_RegEx = ab_RegEx ib_Backwards = ab_Backwards ib_IgnoreComment = ab_IgnoreComment end subroutine public function boolean of_iscommented (readonly long al_pos);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_IsCommented // // PURPOSE: This function will determine if there are comment characters // on the same line as the found text. // // ARGUMENTS: al_position - Position of the found text. // // RETURN: True=Commented, False=Not Commented // ----------------------------------------------------------------------------- Char lc_chars[] Long ll_pos, ll_idx, ll_max, ll_char String ls_line // get characters prior to the hit that are on the same line For ll_pos = al_pos - 1 To 0 Step -1 ll_char = of_SendEditor(SCI_GETCHARAT, ll_pos) If (ll_char < 32) And (ll_char <> 9) Then Exit End If ll_idx = ll_idx + 1 lc_chars[ll_idx] = Char(ll_char) Next // convert backwards array to forward string ll_max = UpperBound(lc_chars) For ll_idx = ll_max To 1 Step -1 ls_line += String(lc_chars[ll_idx]) Next // look for the comment characters If is_commentchar1 <> "" Then If Pos(ls_line, is_commentchar1) > 0 Then Return True End If End If If is_commentchar2 <> "" Then If Pos(ls_line, is_commentchar2) > 0 Then Return True End If End If Return False end function public function long of_sendeditor (long al_msg, long al_parm1, ref blob ablb_parm2);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditor // // PURPOSE: This function sends a message to the control // // ARGUMENTS: al_msg - Message number // al_parm1 - Message argument #1 // ablb_parm2 - Message argument #2 // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Return SciSendBlob(il_hSciWnd, al_msg, al_parm1, ablb_parm2) end function public function long of_sendeditorlen (long al_msg, ref string as_parm2);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_SendEditorLen // // PURPOSE: This function sends a message to the control where parm1 // is the length of parm2. // // ARGUMENTS: al_msg - Message number // al_parm1 - Message argument #1 // as_parm2 - Message argument #2 // // RETURN: Value returned from message // ----------------------------------------------------------------------------- Blob lblob_parm2 Long ll_return, ll_length If #Encoding = EncodingAnsi! Then ll_length = Len(as_parm2) Return SciSendString(il_hSciWnd, al_msg, ll_length, as_parm2) Else lblob_parm2 = Blob(as_parm2, EncodingUTF8!) ll_length = Len(lblob_parm2) // send the string as UTF8 blob ll_return = SciSendBlob(il_hSciWnd, al_msg, ll_length, lblob_parm2) // update the argument if the command changed it as_parm2 = String(lblob_parm2, EncodingUTF8!) Return ll_return End If end function public function long of_split (string as_text, string as_sep, ref string as_array[]);// ----------------------------------------------------------------------------- // SCRIPT: of_Split // // PURPOSE: This function splits a string into an array. // // ARGUMENTS: as_text - The text to be split // as_sep - The separator characters // as_array - By ref output array // // RETURN: The number of items in the array // // DATE CHANGED BY DESCRIPTION OF CHANGE / REASON // ---------- ---------- ----------------------------------------------------- // 10/19/2016 RolandS Initial creation // ----------------------------------------------------------------------------- String ls_empty[], ls_work Long ll_pos as_array = ls_empty If IsNull(as_text) Or as_text = "" Then Return 0 ll_pos = Pos(as_text, as_sep) DO WHILE ll_pos > 0 ls_work = Trim(Left(as_text, ll_pos - 1)) as_text = Trim(Mid(as_text, ll_pos + Len(as_sep))) as_array[UpperBound(as_array) + 1] = ls_work ll_pos = Pos(as_text, as_sep) LOOP If Len(as_text) > 0 Then as_array[UpperBound(as_array) + 1] = as_text End If Return UpperBound(as_array) end function public subroutine of_showlinenumbers (boolean ab_show, integer ai_width);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_ShowLineNumbers // // PURPOSE: This function will toggle line numbers on/off // // ARGUMENTS: ab_show - True=Show line numbers, False=Do not show them // // RETURN: None // ----------------------------------------------------------------------------- #ShowNumbers = ab_show If #ShowNumbers Then of_SendEditor(SCI_SETMARGINWIDTHN, 0, ai_width) Else of_SendEditor(SCI_SETMARGINWIDTHN, 0, 0) End If end subroutine public subroutine of_addtext (string as_text);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AddText // // PURPOSE: This function inserts the text at the current position. // // ARGUMENTS: as_text - The text to be inserted // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditorLen(SCI_ADDTEXT, as_text) end subroutine public subroutine of_appendtext (string as_text);// ----------------------------------------------------------------------------- // SCRIPT: u_scilexer.of_AppendText // // PURPOSE: This function will append the text to the end of the document. // // ARGUMENTS: as_text - The new text that is appended // // RETURN: None // ----------------------------------------------------------------------------- of_SendEditorLen(SCI_APPENDTEXT, as_text) end subroutine on uo_scilexer.create end on on uo_scilexer.destroy end on event constructor;Long ll_hWindow // get handle to the editor window ll_hWindow = Handle(This) il_hSciWnd = Send(ll_hWindow, SCI_GETDIRECTPOINTER, 0, 0) // set properties as defined on the layout panel of_SetEncoding(#Encoding) of_SetFont(#FontName) of_SetFontSize(#TextSize) of_ShowIndentGuides(#IndentGuides) of_SetReadOnly(#Readonly) of_ShowLineNumbers(#ShowNumbers) of_SetWordWrap(#WordWrap) of_SetTabWidth(#TabWidth) of_SetMarginBackColor(GetSysColor(4)) of_SetMarginTextColor(il_margintextcolor) end event event rbuttondown;// show custom popup menu end event |
Find Projects On Github click here
Source code update and fix from pbcomment.
Good Luck!
Subscribe
Login
0 Comments
Oldest