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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Documentation for LCL (Lazarus Component Library) and LazUtils (Lazarus
Utilities) are published under the Creative Commons Attribution-ShareAlike 4.0
International public license.
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/docs/cc-by-sa-4-0.txt
Copyright (c) 1997-2025, by the Lazarus Development Team.
-->
<fpdoc-descriptions>
<package name="lcl">
<!--
====================================================================
ValEdit
====================================================================
-->
<module name="ValEdit">
<short>Implements the TValueListEditor grid control.</short>
<descr>
<p>
<file>valedit.pas</file> contains classes and types needed for the
TValueListEditor control. It is a specialized 2-column grid control used to
display and edit key / value pairs.
</p>
<p>
The following components are added to the Additional tab in the Lazarus IDE
component palette:
</p>
<ul>
<li>TValueListEditor</li>
</ul>
</descr>
<!-- unresolved reference Visibility: default -->
<element name="SysUtils"/>
<element name="Classes"/>
<element name="Contnrs"/>
<element name="Variants"/>
<element name="Controls"/>
<element name="StdCtrls"/>
<element name="Grids"/>
<element name="LResources"/>
<element name="Dialogs"/>
<element name="LCLType"/>
<element name="LCLStrConsts"/>
<element name="Laz2_XMLCfg"/>
<element name="TEditStyle">
<short>
Indicates the editor style for items in TValueListEditor.
</short>
<descr>
<p>
<var>TEditStyle</var> is an enumeration type with values that indicate the
editor style used for an item in <var>TValueListEditor</var>. TEditStyle is
the type used for the <var>TItemProp.EditStyle</var> property.
</p>
</descr>
<seealso>
<link id="TItemProp.EditStyle">TItemProp.EditStyle</link>
</seealso>
</element>
<element name="TEditStyle.esSimple">
<short>Displays an editor without decoration for the cell.</short>
</element>
<element name="TEditStyle.esEllipsis">
<short>Displays an ellipsis button next to the cell editor.</short>
</element>
<element name="TEditStyle.esPickList">
<short>Displays a pick list for the cell editor.</short>
</element>
<element name="TVleSortCol">
<short>
Indicates the sort order for items in TValueListEditor.
</short>
<descr>
<p>
<var>TVleSortCol</var> is an enumeration type with values that indicate the
sort order for items in <var>TValueListEditor</var>. Values in TVleSortCol
refer to the ordinal position of the column used in the
<var>TValueListEditor.Sort</var> method.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Sort">TValueListEditor.Sort</link>
</seealso>
</element>
<element name="TVleSortCol.colKey">
<short>The Key column is used to sort items.</short>
</element>
<element name="TVleSortCol.colValue">
<short>The Value column is used to sort items.</short>
</element>
<element name="TItemProp">
<short>
Represents items in the TValueListEditor control.
</short>
<descr>
<p>
<var>TItemProp</var> is a <var>TPersistent</var> descendant that represents
items in the <var>TValueListEditor</var> control. TItemProp provides
properties and methods to define the editor used for a Key-Value pair. These
include the editor style, editing mask, maximum length, pick list values, and
read-only status for the item.
</p>
<p>
TItemProp maintains a reference to the TValueListEditor for the item, and
allows access to the properties, methods, and events for the grid control.
</p>
<p>
TItemProp is the type used for items in the <var>TItemPropList</var>
container, and
stored in the <var>TValueListEditor.ItemProps</var> property.
</p>
</descr>
<seealso>
<link id="TItemPropList">TItemPropList</link>
<link id="TValueListEditor.ItemProps">TValueListEditor.ItemProps</link>
<link id="#rtl.classes.TPersistent">TPersistent</link>
</seealso>
</element>
<element name="TItemProp.FGrid"/>
<element name="TItemProp.FEditMask"/>
<element name="TItemProp.FEditStyle"/>
<element name="TItemProp.FPickList"/>
<element name="TItemProp.FMaxLength"/>
<element name="TItemProp.FReadOnly"/>
<element name="TItemProp.FKeyDesc"/>
<element name="TItemProp.GetPickList">
<short>Gets the value for the PickList property.</short>
<descr/>
<seealso>
<link id="TItemProp.PickList"/>
</seealso>
</element>
<element name="TItemProp.GetPickList.Result">
<short>Value for the property.</short>
</element>
<element name="TItemProp.PickListChange">
<short>
Implements the OnChange event handler for the PickList property.
</short>
<descr></descr>
<seealso>
<link id="TItemProp.PickList"/>
</seealso>
</element>
<element name="TItemProp.PickListChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TItemProp.SetEditMask">
<short>Sets the value for the EditMask property.</short>
<seealso>
<link id="TItemProp.EditMask"/>
</seealso>
</element>
<element name="TItemProp.SetEditMask.AValue">
<short>New value for the property.</short>
</element>
<element name="TItemProp.SetMaxLength">
<short>Sets the value for the MaxLength property.</short>
<seealso>
<link id="TItemProp.MaxLength"/>
</seealso>
</element>
<element name="TItemProp.SetMaxLength.AValue">
<short>New value for the property.</short>
</element>
<element name="TItemProp.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<seealso>
<link id="TItemProp.ReadOnly"/>
</seealso>
</element>
<element name="TItemProp.SetReadOnly.AValue">
<short>New value for the property.</short>
</element>
<element name="TItemProp.SetEditStyle">
<short>Sets the value for the EditStyle property.</short>
<seealso>
<link id="TItemProp.EditStyle"/>
</seealso>
</element>
<element name="TItemProp.SetEditStyle.AValue">
<short>New value for the property.</short>
</element>
<element name="TItemProp.SetPickList">
<short>Sets the value for the PickList property.</short>
<seealso>
<link id="TItemProp.PickList"/>
</seealso>
</element>
<element name="TItemProp.SetPickList.AValue">
<short>New value for the property.</short>
</element>
<element name="TItemProp.SetKeyDesc">
<short>Sets the value for the KeyDesc property.</short>
<seealso>
<link id="TItemProp.KeyDesc"/>
</seealso>
</element>
<element name="TItemProp.SetKeyDesc.AValue">
<short>New value for the property.</short>
</element>
<element name="TItemProp.AssignTo">
<short>
Stores property values to the specified persistent object.
</short>
<descr>
<p>
<var>AssignTo</var> is a procedure used to store property values in the class
instance to the specified persistent object. AssignTo ensures that
<var>Dest</var> is a <var>ItemProp</var> class instance prior to storing the
following properties in the target:
</p>
<ul>
<li>EditMask</li>
<li>EditStyle</li>
<li>KeyDesc</li>
<li>PickList</li>
<li>MaxLength</li>
<li>ReadOnly</li>
</ul>
<p>
If Dest is not a TItemProp class instance, the inherited AssignTo method is
called.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TPersistent.Assign">TPersistent.Assign</link>
</seealso>
</element>
<element name="TItemProp.AssignTo.Dest">
<short>Persistent object to receive values from the class.</short>
</element>
<element name="TItemProp.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance, and calls the
inherited method. Create ensures that the <var>TValueListEditor</var>
instance in <var>AOwner</var> is used as the owner of the item.
</p>
</descr>
<seealso>
<link id="TValueListEditor"/>
</seealso>
</element>
<element name="TItemProp.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TItemProp.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
<var>Destroy</var> is the destructor for the class instance. Destroy frees
resources allocated for the <var>PickList</var> property, and calls the
inherited Destroy method.
</p>
</descr>
<seealso>
<link id="TItemProp.PickList"/>
</seealso>
</element>
<element name="TItemProp.EditMask">
<short>
Specifies the edit mask used when editing the value for the item.
</short>
<descr>
<p>
<var>EditMask</var> is a <var>String</var> property which specifies the edit
mask used when editing an item in <var>TValueListEditor</var>. EditMask can
contain the edit mask notation used in <var>TMaskEdit</var>, such as:
</p>
<dl>
<dt><b>\</b></dt>
<dd>
Quotes the following character; i. e. '\-' inserts the literal '-' character
</dd>
<dt><b><</b></dt>
<dd>Converts following characters to upper case</dd>
<dt><b>></b></dt>
<dd>Converts following characters to lower case</dd>
<dt><b>l</b></dt>
<dd>Allows an optional letter value [A-Z][a-z]</dd>
<dt><b>L</b></dt>
<dd>Requires a letter value [A-Z][a-z]</dd>
<dt><b>a</b></dt>
<dd>Optional alphanumeric character [A-Z][a-z][0-9]</dd>
<dt><b>A</b></dt>
<dd>Required alphanumeric character [A-Z][a-z][0-9]</dd>
<dt><b>c</b></dt>
<dd>Optional UTF-8-encoded character [#32-#255]</dd>
<dt><b>C</b></dt>
<dd>Required UTF-8-encoded character [#32-#255]</dd>
<dt><b>9</b></dt>
<dd>Optional numeric value [0-9]</dd>
<dt><b>0</b></dt>
<dd>Required numeric value [0-9]</dd>
<dt><b>#</b></dt>
<dd>Optional sign or numeric value [+-][0-9]</dd>
<dt><b>:</b></dt>
<dd>Inserts the hour/minute time separator [:]</dd>
<dt><b>/</b></dt>
<dd>Inserts the date separator [/]</dd>
<dt><b>h</b></dt>
<dd>Optional hexadecimal character [0-9][A-F]</dd>
<dt><b>H</b></dt>
<dd>Required hexadecimal character [0-9][A-F]</dd>
<dt><b>b</b></dt>
<dd>Optional binary character</dd>
<dt><b>B</b></dt>
<dd>Required binary character</dd>
<dt><b>!</b></dt>
<dd>Trims leading space characters</dd>
</dl>
<p>
Changing the value in EditMask causes the TValueListEditor (which owns the
item) to be redrawn when its EditorMode property is <b>True</b>.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomStringGrid.EditorMode">TCustomStringGrid.EditorMode</link>
</seealso>
</element>
<element name="TItemProp.EditStyle">
<short>
Identifies the type of editor used for the item value.
</short>
<descr>
<p>
<var>EditStyle</var> is a <var>TEditStyle</var> property which indicates the
editor style to use for the item value. See <var>TEditStyle</var> for more
information about the enumeration values and their meanings.
</p>
<p>
Changing the value in EditStyle causes the <var>TValueListEditor</var> (which
owns the item) to be redrawn when its EditorMode property is set to
<b>True</b>.
</p>
<remark>
At run-time, adding values to the <var>PickList</var> overrides use of
<var>esSimple</var> in EditStyle; the value <var>esPickList</var> will
automatically be used.
</remark>
</descr>
<seealso>
<link id="TEditStyle">TEditStyle</link>
<link id="TItemProp.PickList">TItemProp.PickList</link>
<link id="#lcl.grids.TCustomStringGrid.EditorMode">TCustomStringGrid.EditorMode</link>
</seealso>
</element>
<element name="TItemProp.KeyDesc">
<short>
Describes the Key for the item in TValueListEditor.
</short>
<descr>
<p>
<var>KeyDesc</var> is a <var>String</var> property that describes the Key
portion of the Key-Value pair in <var>TValueListEditor</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Keys"/>
<link id="TValueListEditor.ItemProps"/>
</seealso>
</element>
<element name="TItemProp.PickList">
<short>
Values that can be selected for the item in TValueListEditor.
</short>
<descr>
<p>
<var>PickList</var> is a <var>TStrings</var> property which contains values
that can be selected for the item in <var>TValueListEditor</var>. Values in
PickList are displayed using a combo-box-style drop down when editing the
item.
</p>
<p>
Reading the value in PickList ensures that a TStringList class instance is
assigned for the property. Its OnChange event handler is set to the private
PickListChange method which adjusts the EditStyle to match the intended usage
for the item. In other words, an EditStyle of esSimple is changed to
esPickList when it contains values.
</p>
<p>
Assigning a new TStringList to PickList causes existing values to be
overwritten. The TValueListEditor (which owns the item) is redrawn when its
EditorMode property is <b>True</b>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.ItemProps"/>
<link id="TValueListEditor.Values"/>
<link id="TItemProp.EditStyle">TItemProp.EditStyle</link>
<link id="#lcl.grids.TCustomStringGrid.EditorMode">TCustomStringGrid.EditorMode</link>
</seealso>
</element>
<element name="TItemProp.MaxLength">
<short>
Specifies the maximum length of the item value.
</short>
<descr>
<p>
<var>MaxLength</var> is an <var>Integer</var> property that specifies the
maximum length of the item value in <var>TValueListEditor</var>. Changing the
value in MaxLength causes the TValueListEditor (which owns the item) to be
redrawn when its EditorMode property is set to <b>True</b>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.ItemProps"/>
<link id="TValueListEditor.Values"/>
<link id="#lcl.grids.TCustomStringGrid.EditorMode">TCustomStringGrid.EditorMode</link>
</seealso>
</element>
<element name="TItemProp.ReadOnly">
<short>Indicates if the value for the item can be changed.</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the
value for the item can be changed in <var>TValueListEditor</var>. When
ReadOnly is <b>True</b>, the value for the item cannot be changed. Changing
the value in ReadOnly causes the TValueListEditor (which owns the item) to be
redrawn when its <var>EditorMode</var> is <b>True</b>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.ItemProps"/>
<link id="TValueListEditor.Values"/>
<link id="#lcl.grids.TCustomStringGrid.EditorMode">TCustomStringGrid.EditorMode</link>
</seealso>
</element>
<element name="TItemPropList">
<short>
Implements a storage container for items added to TValueListEditor.
</short>
<descr>
<p>
<var>TItemPropList</var> is a class which implements a storage container for
items added to <var>TValueListEditor</var>. TItemPropList uses a
TFPObjectList member to store the TItemProp instances in the list. A
TValueListStrings member is used for the owner of the list.
</p>
<p>
Properties and Methods are provided to add or maintain the items in the list.
Use <var>Items</var> (the default property for the container) to read or
write the items defined in the list.
</p>
</descr>
<seealso>
<link id="TItemProp">TItemProp</link>
<link id="TItemPropList.Items">TItemPropList.Items</link>
<link id="TValueListStrings">TValueListStrings</link>
</seealso>
</element>
<element name="TItemPropList.FList"/>
<element name="TItemPropList.FStrings"/>
<element name="TItemPropList.GetCount">
<short>Gets the value for the Count property.</short>
<seealso>
<link id="TItemPropList.Count"/>
</seealso>
</element>
<element name="TItemPropList.GetCount.Result">
<short>Value for the property.</short>
</element>
<element name="TItemPropList.GetItem">
<short>Gets the value for the indexed Items property.</short>
<seealso>
<link id="TItemPropList.Items"/>
</seealso>
</element>
<element name="TItemPropList.GetItem.Index">
<short>Ordinal position in the container with the property value.</short>
</element>
<element name="TItemPropList.GetItem.Result">
<short>Value for the indexed property.</short>
</element>
<element name="TItemPropList.SetItem">
<short>Sets the value for the indexed Items property.</short>
<seealso>
<link id="TItemPropList.Items"/>
</seealso>
</element>
<element name="TItemPropList.SetItem.Index">
<short>Ordinal position in the container with the property value.</short>
</element>
<element name="TItemPropList.SetItem.AValue">
<short>New value for the indexed property.</short>
</element>
<element name="TItemPropList.Add">
<short>
Appends the specified item to the list.
</short>
<descr>
<p>
<var>Add</var> is a procedure used to append the specified item to the list.
Add appends the <var>TItemProp</var> value in <var>AValue</var> to the
internal list for the container. Use <var>Items</var> to access the items in
the list by their ordinal position.
</p>
<p>
Use <var>Insert</var> to insert a new item at a specific ordinal position in
the list. Use <var>Delete</var> to remove an item in the container. Use
<var>Clear</var> to remove all items in the container.
</p>
</descr>
<seealso>
<link id="TItemPropList.Insert"/>
<link id="TItemPropList.Delete"/>
<link id="TItemPropList.Clear"/>
</seealso>
</element>
<element name="TItemPropList.Add.AValue">
<short>Item to add to the container.</short>
</element>
<element name="TItemPropList.Assign">
<short>
Sets the items in the container to the specified values.
</short>
<descr>
<p>
<var>Assign</var> is a procedure which sets the items in the container to the
values specified in Source. Assign iterates over the TItemProp instances in
Source, and creates new TItemProp instances and calls Assign to update the
persistent objects. The newly created items are added to the internal list in
the container.
</p>
<p>
No actions are performed in the method when Source is unassigned (contains
<var>Nil</var>).
</p>
</descr>
<seealso>
<link id="TItemProp"/>
</seealso>
</element>
<element name="TItemPropList.Assign.Source">
<short>New values to store in the list for the container.</short>
</element>
<element name="TItemPropList.Clear">
<short>
Removes all items in the container.
</short>
<descr>
<p>
<var>Clear</var> is a procedure used to remove all items in the container.
Clear calls the TFPObjectList.Clear method to remove all TItemProp instances
stored in the list.
</p>
<p>
Use Delete or Insert to append or insert a new item for the list.
</p>
</descr>
<seealso>
<link id="TItemPropList.Delete"/>
<link id="TItemPropList.Insert"/>
</seealso>
</element>
<element name="TItemPropList.Delete">
<short>
Removes an item in the container at the specified position.
</short>
<descr>
<p>
<var>Delete</var> is a procedure used to remove an item in the container at
the specified position. Index is the ordinal position for the item in the
range <var>0..Count-1</var>.
</p>
<p>
Use Clear to remove all items in the container.
</p>
<p>
Use Add or Insert to store an item in the container.
</p>
</descr>
<seealso>
<link id="TItemPropList.Clear"/>
<link id="TItemPropList.Add"/>
<link id="TItemPropList.Insert"/>
</seealso>
</element>
<element name="TItemPropList.Delete.Index">
<short>Ordinal position for the item.</short>
</element>
<element name="TItemPropList.Exchange">
<short>
Swaps the items at the specified positions.
</short>
<descr>
<p>
<var>Exchange</var> is a procedure used to swap the items at the specified
positions in the list. Exchange calls the corresponding method in
TFPObjectList using Index1 and Index2 as arguments. Exchange is used in the
implementation of the TValueListStrings.Exchange method.
</p>
</descr>
<seealso>
<link id="TFPObjectList.Exchange">TFPObjectList.Exchange</link>
<link id="TValueListStrings.Exchange">TValueListStrings.Exchange</link>
</seealso>
</element>
<element name="TItemPropList.Exchange.Index1">
<short>Ordinal position for the item to be swapped.</short>
</element>
<element name="TItemPropList.Exchange.Index2">
<short>Ordinal position for the item to be swapped.</short>
</element>
<element name="TItemPropList.Insert">
<short>
Inserts the new item at the specified position in the container.
</short>
<descr>
<p>
<var>Insert</var> is a procedure used to insert the new item in the container
at the specified position. Index specifies the ordinal position in the range
<var>0..Count-1</var> where the item will be stored. AValue is the TItemProp
instance to store at the specified position. Insert calls the corresponding
method in TFPObjectList using Index and AValue as arguments.
</p>
<p>
Use Add to append a new item to the container.
</p>
</descr>
<seealso>
<link id="TItemPropList.Add"/>
</seealso>
</element>
<element name="TItemPropList.Insert.Index">
<short>Ordinal position for the new item.</short>
</element>
<element name="TItemPropList.Insert.AValue">
<short>New item to insert into the list.</short>
</element>
<element name="TItemPropList.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for the container. Create stores the
value in AOwner as the owner of the container. Create allocates the internal
TFPObjectList instance used to store Items in the list; objects in the list
are owner by the container.
</p>
</descr>
<seealso>
<link id="TItemPropList.Items"/>
<link id="TItemPropList.Destroy"/>
</seealso>
</element>
<element name="TItemPropList.Create.AOwner">
<short>Owner for the container class instance.</short>
</element>
<element name="TItemPropList.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
<var>Destroy</var> is the destructor for the class instance. Destroy ensures
that resources allocated to the internal list are freed; the Items in the
list are freed as well. Destroy calls the inherited destructor.
</p>
</descr>
<seealso>
<link id="TItemPropList.Items"/>
<link id="TItemPropList.Create"/>
</seealso>
</element>
<element name="TItemPropList.Count">
<short>
Number of items in the list for the container.
</short>
<descr>
<p>
<var>Count</var> is a read-only Integer property that indicates the number of
Items in the internal list for the container. Count returns the value from
the TFPObjectList.Count property.
</p>
</descr>
<seealso>
<link id="TItemPropList.Items"/>
</seealso>
</element>
<element name="TItemPropList.Items">
<short>
Provides access to items in the container by their ordinal position.
</short>
<descr>
<p>
<var>Items</var> is an indexed <var>TItemProp</var> property that provides
access to items in the container by their ordinal position. Index is the
ordinal position in the container in the range <var>0..Count-1</var>.
</p>
<p>
Items is the default property for the class.
</p>
<p>
Use Add to append a new item in the container. Use Insert to insert an item
in the list at a specific position.
</p>
<p>
Use Delete to remove an item at a specific position in the container. Use
Clear to remove all items in the container.
</p>
</descr>
<seealso>
<link id="TItemPropList.Add"/>
<link id="TItemPropList.Insert"/>
<link id="TItemPropList.Delete"/>
<link id="TItemPropList.Clear"/>
<link id="TItemPropList.Count"/>
</seealso>
</element>
<element name="TValueListStrings">
<short>
Stores values and item definitions used in TValueListEditor.
</short>
<descr>
<p>
<var>TValueListStrings</var> is a <var>TStringList</var> descendant used to
store keys, values, and item definitions used in TValueListEditor.
TValueListStrings provides methods needed to add, maintain, and sort the
content in the class instance.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.Keys"/>
<link id="TValueListEditor.Values"/>
<link id="TValueListEditor.ItemProps"/>
<link id="#rtl.classes.TStringList">TStringList</link>
</seealso>
</element>
<element name="TValueListStrings.FGrid"/>
<element name="TValueListStrings.FItemProps"/>
<element name="TValueListStrings.GetItemProp">
<short>
Gets the item definition for the specified key name or index position.
</short>
<descr>
<p>
GetItemProp is a <var>TItemProp</var> function used to get an item definition
for the specified key name or index position in the AKeyOrIndex argument.
AKeyOrIndex is a variant type and contains the string with the name for a
key, or the Integer row number for the item.
</p>
<p>
When a String value is used, the IndexOfName method is called to get the
ordinal position for the key name. An Exception is raised if the key name
does not exist in the string list.
</p>
<p>
The item definition in the associated grid control is retrieved using the
ordinal position, and stored in the return value. An Exception is raised if
the item definition in the list has not been assigned (contains <b>Nil</b>).
</p>
<p>
No actions are performed in the method when Count is zero (0), or when
UpdateCount contains a non-zero value. The return value is <b>Nil</b> for
either case.
</p>
</descr>
<errors>
<p>
Raises an Exception if a key with the specified name was not found in the
item property list for the grid control.
</p>
<p>
Raises an Exception if the item property for the key name in unassigned
(contains <b>Nil</b>).
</p>
</errors>
</element>
<element name="TValueListStrings.GetItemProp.AKeyOrIndex">
<short>Key name or index position for the item definition.</short>
</element>
<element name="TValueListStrings.GetItemProp.Result">
<short>
TItemProp instance with the definition for the requested key name or index.
</short>
</element>
<element name="TValueListStrings.QuickSortStringsAndItemProps">
<short>
Performs a quick sort for the string and TItemProp instances in the list.
</short>
<descr>
<p>
Duplicates the functionality of TStringList.QuickSort, but also sorts the
ItemProps.
</p>
</descr>
</element>
<element name="TValueListStrings.QuickSortStringsAndItemProps.L">
<short>Index position for the first value in the sort.</short>
</element>
<element name="TValueListStrings.QuickSortStringsAndItemProps.R">
<short>Index position for the second value in the sort.</short>
</element>
<element name="TValueListStrings.QuickSortStringsAndItemProps.CompareFn">
<short>Compare function used to implement the sort routine.</short>
</element>
<element name="TValueListStrings.CanHideShowingEditorAtIndex">
<short>
Indicates if the cell editor for the control is visible but not focused.
</short>
</element>
<element name="TValueListStrings.CanHideShowingEditorAtIndex.Index">
<short>Index for the non-title row in the associated grid control.</short>
</element>
<element name="TValueListStrings.CanHideShowingEditorAtIndex.Result">
<short>
<b>True</b> when the cell editor for the control is visible but not focused.
</short>
</element>
<element name="TValueListStrings.InsertItem">
<short>
Inserts an item with the specified value at the position in Index.
</short>
<descr>
<p>
<var>InsertItem</var> is an overloaded procedure used to insert an item with
the specified value(s) at the position in <var>Index</var>.
</p>
<p>
InsertItem hides a visible cell editor in the control during the insert
operation. InsertItem calls the <var>TItemPropList.Insert</var> method to
insert a new item definition at the position in Index. A visible cell editor
is restored after the item has been inserted.
</p>
</descr>
<seealso>
<link id="TItemPropList.Insert"/>
<link id="#rtl.classes.TStringList">TStringList</link>
</seealso>
</element>
<element name="TValueListStrings.InsertItem.Index">
<short>Ordinal position for the new item and value.</short>
</element>
<element name="TValueListStrings.InsertItem.S">
<short>Value for the new item.</short>
</element>
<element name="TValueListStrings.InsertItem.AObject">
<short>Object with the definition for the new item.</short>
</element>
<element name="TValueListStrings.Put">
<short>
Sets the value for the indexed Strings property.
</short>
<descr>
<p>
<var>Put</var> is a procedure used to store a value at the specified ordinal
position. Put ensures that the <var>TValueListEditor</var> which owns the
class instance hides a visible cell editor at the specified ordinal position.
Put calls the inherited method to store the value in <var>S</var> at the
position in <var>Index</var>. A visible cell editor in TValueListEditor is
restored when needed.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TStrings.Strings">TStrings.Strings</link>
<link id="#rtl.classes.TStringList">TStringList</link>
</seealso>
</element>
<element name="TValueListStrings.Put.Index">
<short>Ordinal position for the value.</short>
</element>
<element name="TValueListStrings.Put.S">
<short>Value to store at the specified position.</short>
</element>
<element name="TValueListStrings.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. Create calls the
inherited constructor. Create uses the value in <var>AOwner</var> as the
owner of the class instance. Create allocates resources need for the internal
<var>TItemPropList</var> used for item definitions in the control.
</p>
</descr>
<seealso>
<link id="TItemPropList"/>
</seealso>
</element>
<element name="TValueListStrings.Create.AOwner">
<short>TValueListEditor that owns the class instance.</short>
</element>
<element name="TValueListStrings.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
<var>Destroy</var> is the destructor for the class instance. Destroy ensures
that resources allocated for the internal item definitions are freed. Destroy
calls the inherited destructor.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TStringList.Destroy">TStringList.Destroy</link>
</seealso>
</element>
<element name="TValueListStrings.Assign">
<short>
Stores properties from Source in the current class instance.
</short>
<descr>
<p>
<var>Assign</var> is an overridden procedure used to store properties from
<var>Source</var> in the current class instance.
</p>
<p>
Assign uses the <var>TValueListEditor</var> which own the class instance to
invalidate cached rows in the control. Assign calls Clear to remove any
existing values and to prevent an exception when sorting values. Assign calls
the inherited method using <var>Source</var> as an argument. If Source is a
<var>TValueListStrings</var> instance, its internal item definitions are
stored in the current class instance.
</p>
</descr>
<seealso>
<link id="TValueListEditor"/>
<link id="TValueListStrings"/>
<link id="#rtl.classes.TStrings.Assign">TStrings.Assign</link>
</seealso>
</element>
<element name="TValueListStrings.Assign.Source">
<short>
Persistent object with properties copied into the current class instance.
</short>
</element>
<element name="TValueListStrings.Clear">
<short>
Removes all item values and definitions in the class instance.
</short>
<descr>
<p>
<var>Clear</var> is an overridden procedure used to remove all item names,
values, and item definitions in the class instance. Clear uses the
<var>TValueListEditor</var> which owns the class instance to clear its cached
rows, and to hide a visible editor in the control. Clear calls the inherited
method, and clears the internal list of item definitions for the class.
TValueListEditor restores a visible editor when needed.
</p>
</descr>
<seealso>
<link id="TValueListEditor"/>
<link id="#rtl.classes.TStringList.Clear">TStringList.Clear</link>
</seealso>
</element>
<element name="TValueListStrings.CustomSort">
<short>
Provides access to the QuickSortStringsAndItemProps method.
</short>
<descr>
<p>
<var>CustomSort</var> is an overridden procedure re-implemented to provide
access to the inherited QuickSortStringsAndItemProps method.
</p>
</descr>
<seealso>
<link id="TValueListStrings.CustomSort"/>
</seealso>
</element>
<element name="TValueListStrings.CustomSort.Compare">
<short>Comparison routine for the sorting operation.</short>
</element>
<element name="TValueListStrings.Delete">
<short>
Deletes the item value and definition at the specified position.
</short>
<descr>
<p>
<var>Delete</var> is a procedure used to delete the item value and definition
at the specified ordinal position.
</p>
<p>
Delete uses the <var>TValueListEditor</var> owner to invalidate any cached
rows in the control. A visible editor in the control is also hidden. Delete
calls the inherited method using <var>Index</var> as an argument. Deletes
removes the internal item definition at the position specified in Index. A
visible editor in TValueListEditor is restored when needed.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TValueListStrings.Delete.Index">
<short>Ordinal position of the value and definition to delete.</short>
</element>
<element name="TValueListStrings.Exchange">
<short>
Swaps the values and item definitions at the specified positions.
</short>
<descr>
<p>
<var>Exchange</var> is a procedure used to swap the values and item
definitions at the specified positions.
</p>
<p>
Exchange uses the <var>TValueListEditor</var> that owns the class to
invalidate any cached rows in the control. A visible editor in the control is
also hidden. Exchange calls the inherited method using the values in
<var>Index1</var> and <var>Index2</var> as arguments. Exchange swaps the item
definitions at the specified positions as well. A visible editor in
TValueListEditor is restored when needed.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TValueListStrings.Exchange.Index1">
<short>Position of the item value and definition to swap.</short>
</element>
<element name="TValueListStrings.Exchange.Index2">
<short>Position of the item value and definition to swap.</short>
</element>
<element name="TKeyValuePair">
<short>
Stores Key and Value information used for items in TValueListEditor.
</short>
<descr>
<p>
<var>TKeyValuePair</var> is a record type used to store Key and Value
information for the rows in TValueListEditor. TKeyValuePair is used when an
editor is activated for a row in <var>TValueListEditor</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor"/>
</seealso>
</element>
<element name="TKeyValuePair.Key">
<short>Key data a row.</short>
</element>
<element name="TKeyValuePair.Value">
<short>Value data for a row.</short>
</element>
<element name="TDisplayOption">
<short>
Represents display capabilities in TValueListEditor.
</short>
<descr>
<p>
<var>TDisplayOption</var> is an enumeration type with values that define
display capabilities available in TValueListEditor. TDisplayOption values are
stored in the TDisplayOptions set type.
</p>
</descr>
<seealso>
<link id="TDisplayOptions">TDisplayOptions</link>
<link id="TValueListEditor.DisplayOptions">TValueListEditor.DisplayOptions</link>
</seealso>
</element>
<element name="TDisplayOption.doColumnTitles">
<short>Displays column titles.</short>
</element>
<element name="TDisplayOption.doAutoColResize">
<short>Automatically resizes columns to the width of its content.</short>
</element>
<element name="TDisplayOption.doKeyColFixed">
<short>Displays the Key names column as a fixed caption column.</short>
</element>
<element name="TDisplayOptions">
<short>
Set type used to store TDisplayOption enumeration values.
</short>
<descr>
<p>
<var>TDisplayOptions</var> is a set type used to store values from the
<var>TDisplayOption</var> enumeration. TDisplayOptions is the type used for
the <var>TValueListEditor.DisplayOptions</var> property.
</p>
</descr>
<seealso>
<link id="TDisplayOption">TDisplayOption</link>
<link id="TValueListEditor.DisplayOptions">TValueListEditor.DisplayOptions</link>
</seealso>
</element>
<element name="TKeyOption">
<short>Represents Key actions used in TValueListEditor.</short>
<descr>
<p>
<var>TKeyOption</var> is an enumeration type with values that control key
actions allowed for Key-Value data in <var>TValueListEditor</var>. TKeyOption
values are stored in the <var>TKeyOptions</var> set type.
</p>
</descr>
<seealso>
<link id="TKeyOptions">TKeyOptions</link>
<link id="TValueListEditor.KeyOptions">TValueListEditor.KeyOptions</link>
</seealso>
</element>
<element name="TKeyOption.keyEdit">
<short>Allows editing of Key data.</short>
</element>
<element name="TKeyOption.keyAdd">
<short>Allows adding new Key data.</short>
</element>
<element name="TKeyOption.keyDelete">
<short>Allows deleting Key data.</short>
</element>
<element name="TKeyOption.keyUnique">
<short>Key data must be unique.</short>
</element>
<element name="TKeyOptions">
<short>
Stores values from the TKeyOption enumeration.
</short>
<descr>
<p>
<var>TKeyOptions</var> is a set type used to store values from the
<var>TKeyOption</var> enumeration. TKeyOptions is the type used to implement
the <var>TValueListEditor.KeyOptions</var> property.
</p>
</descr>
<seealso>
<link id="TKeyOptions">TKeyOptions</link>
<link id="TValueListEditor.KeyOptions">TValueListEditor.KeyOptions</link>
</seealso>
</element>
<element name="TGetPickListEvent">
<short>
Specifies an event handler signalled when loading the PickList for an item in
TValueListEditor.
</short>
<descr>
<p>
<var>TGetPickListEvent</var> is an object procedure which specifies an event
handler signalled when loading the PickList for an item in
<var>TValueListEditor</var>. TGetPickListEvent allows the application to
provide custom values in the PickList for an item using the esPickList editor
style.
</p>
<p>
TGetPickListEvent is the type used for the
<var>TValueListEditor.OnGetPickList</var> event handler.
</p>
</descr>
<seealso>
<link id="TValueListEditor.OnGetPickList">TValueListEditor.OnGetPickList</link>
</seealso>
</element>
<element name="TGetPickListEvent.Sender">
<short>TValueListEditor for the event notification.</short>
</element>
<element name="TGetPickListEvent.KeyName">
<short>Key name for the selected row.</short>
</element>
<element name="TGetPickListEvent.Values">
<short>Pick list values for the selected row.</short>
</element>
<element name="TOnValidateEvent">
<short>
Specifies an event handler signalled to validate a changed row in
TValueListEditor.
</short>
<descr>
<p>
<var>TOnValidateEvent</var> is an object procedure type that specifies an
event handler signalled when changes to a row in <var>TValueListEditor</var>
are validated. Arguments passed to the event handler identify the control,
column and row numbers, and the Key name and value.
</p>
<p>
TOnValidateEvent is the type used to implement the
<var>TValueListEditor.OnValidate</var> event handler.
</p>
</descr>
<seealso>
<link id="TValueListEditor.OnValidate">TValueListEditor.OnValidate</link>
</seealso>
</element>
<element name="TOnValidateEvent.Sender">
<short>TValueListEditor instance for the event notification.</short>
</element>
<element name="TOnValidateEvent.ACol">
<short>Column number in the control.</short>
</element>
<element name="TOnValidateEvent.ARow">
<short>Row number on the control.</short>
</element>
<element name="TOnValidateEvent.KeyName">
<short>Key name for the modified row.</short>
</element>
<element name="TOnValidateEvent.KeyValue">
<short>Key data for the modified row.</short>
</element>
<element name="TValueListEditor">
<short>
A visual grid control for editing Key-Value pairs.
</short>
<descr>
<p>
<var>TValueListEditor</var> is a <var>TCustomStringGrid</var> descendant
which implements a grid-style editor control for Key-Value pairs.
TValueListEditor displays a two column grid where the first column is
read-only, and lists the key names. The second column is for editing the
associated values for the key names.
</p>
<p>
TValueListEditor provides properties with the Keys and Values displayed in
the rows and columns for the control. The Cells property allows access using
the familiar column and row number mechanism used in grid controls. The
Strings property allows access to the strings used for the Key and Value in a
row.
</p>
<remark>
Since version 2.2.0, Keys will no longer allow the name/value separator used
in the Strings property to be entered as a value in the Key column. When
entered, focus is moved to the Value column. If pasted into the Key column,
the value is silently discarded.
</remark>
<p>
The ItemProps property is used to configure the cell editors used for the
Keys and Values. This includes setting the editor style, edit mask, maximum
length for the value, a list of selectable pick list values, and a read-only
flag. Descriptive text for the Key name can also be stored in the ItemProps.
</p>
<p>
Features and behavior for the control can be specified using the Options,
DisplayOptions, and KeyOptions properties.
</p>
<p>
TValueListEditor implements methods used to perform editing actions in the
control, including:
</p>
<ul>
<li>Clear</li>
<li>DeleteRow</li>
<li>DeleteColRow</li>
<li>FindRow</li>
<li>InsertRow</li>
<li>InsertRowWithValues</li>
<li>Sort</li>
</ul>
</descr>
<seealso>
<link id="TItemPropList"/>
<link id="TItemProp"/>
<link id="#lcl.grids.tcustomstringgrid">TCustomStringGrid</link>
</seealso>
</element>
<element name="TValueListEditor.FTitleCaptions"/>
<element name="TValueListEditor.FStrings"/>
<element name="TValueListEditor.FKeyOptions"/>
<element name="TValueListEditor.FDisplayOptions"/>
<element name="TValueListEditor.FDropDownRows"/>
<element name="TValueListEditor.FOnGetPickList"/>
<element name="TValueListEditor.FOnStringsChange"/>
<element name="TValueListEditor.FOnStringsChanging"/>
<element name="TValueListEditor.FOnValidate"/>
<element name="TValueListEditor.FRowTextOnEnter"/>
<element name="TValueListEditor.FLastEditedRow"/>
<element name="TValueListEditor.FUpdatingKeyOptions"/>
<element name="TValueListEditor.GetItemProp">
<short>Gets the value for the indexed ItemProps property.</short>
<descr></descr>
<seealso>
<link id="TValueListEditor.ItemProps"/>
</seealso>
</element>
<element name="TValueListEditor.GetItemProp.AKeyOrIndex">
<short>Key name or position for the item definition.</short>
</element>
<element name="TValueListEditor.GetItemProp.Result">
<short>Item definition for the specified key name or position.</short>
</element>
<element name="TValueListEditor.SetItemProp">
<short>Sets the value for the indexed ItemProps property.</short>
<descr></descr>
<seealso>
<link id="TValueListEditor.ItemProps"/>
</seealso>
</element>
<element name="TValueListEditor.SetItemProp.AKeyOrIndex">
<short>Key name or position for the item definition.</short>
</element>
<element name="TValueListEditor.SetItemProp.AValue">
<short>New value for the property.</short>
</element>
<element name="TValueListEditor.StringsChange">
<short>Implements the OnChange event handler for the Strings property.</short>
<descr></descr>
<seealso>
<link id="TValueListEditor.Strings"/>
</seealso>
</element>
<element name="TValueListEditor.StringsChange.Sender">
<short>Control triggering the event notification.</short>
</element>
<element name="TValueListEditor.StringsChanging">
<short>
Implements the OnChanging event handler in the Strings property.
</short>
<descr></descr>
<seealso>
<link id="TValueListEditor.Strings"/>
</seealso>
</element>
<element name="TValueListEditor.StringsChanging.Sender">
<short>Control triggering the event notification.</short>
</element>
<element name="TValueListEditor.GetOptions">
<short>Gets the value for the Options property.</short>
<descr></descr>
<errors></errors>
<seealso>
<link id="TValueListEditor.Options"/>
</seealso>
</element>
<element name="TValueListEditor.GetOptions.Result">
<short>Value for the property.</short>
</element>
<element name="TValueListEditor.GetKey">
<short>Gets the value for the indexed Keys property.</short>
<descr></descr>
<seealso>
<link id="TValueListEditor.Key"/>
</seealso>
</element>
<element name="TValueListEditor.GetKey.Result">
<short>Value for the property.</short>
</element>
<element name="TValueListEditor.GetKey.Index">
<short>Position for the Key name in Keys.</short>
</element>
<element name="TValueListEditor.GetValue">
<short>Gets the value for the indexed Values property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.Values"/>
</seealso>
</element>
<element name="TValueListEditor.GetValue.Result">
<short>Value for the property.</short>
</element>
<element name="TValueListEditor.GetValue.Key">
<short>Key name to find in the method.</short>
</element>
<element name="TValueListEditor.SetDisplayOptions">
<short>Sets the values in the DisplayOptions property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.DisplayOptions"/>
</seealso>
</element>
<element name="TValueListEditor.SetDisplayOptions.AValue">
<short>New values for the property.</short>
</element>
<element name="TValueListEditor.SetDropDownRows">
<short>Sets the value in the DropDownRows property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.DropDownRows"/>
</seealso>
</element>
<element name="TValueListEditor.SetDropDownRows.AValue">
<short>New value for the property.</short>
</element>
<element name="TValueListEditor.SetKeyOptions">
<short>Sets the values in the KeyOptions property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.KeyOptions"/>
</seealso>
</element>
<element name="TValueListEditor.SetKeyOptions.AValue">
<short>New values for the property.</short>
</element>
<element name="TValueListEditor.SetKey">
<short>Sets the value in the indexed Keys property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.Keys"/>
</seealso>
</element>
<element name="TValueListEditor.SetKey.Index">
<short>Position of the Key name in the item definitions.</short>
</element>
<element name="TValueListEditor.SetKey.Value">
<short>New value for the Key name.</short>
</element>
<element name="TValueListEditor.SetValue">
<short>Sets the value in the indexed Values property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.Values"/>
</seealso>
</element>
<element name="TValueListEditor.SetValue.Key">
<short>Key name for the specified value.</short>
</element>
<element name="TValueListEditor.SetValue.Value">
<short>New value for the specified Key name.</short>
</element>
<element name="TValueListEditor.SetOptions">
<short>Sets the values in the Options property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.Options"/>
</seealso>
</element>
<element name="TValueListEditor.SetOptions.AValue">
<short>New value for the property.</short>
</element>
<element name="TValueListEditor.SetStrings">
<short>Sets the values in the Strings property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.Strings"/>
</seealso>
</element>
<element name="TValueListEditor.SetStrings.AValue">
<short>New values for the property.</short>
</element>
<element name="TValueListEditor.SetTitleCaptions">
<short>Sets the values in the TitleCaptions property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.TitleCaptions"/>
</seealso>
</element>
<element name="TValueListEditor.SetTitleCaptions.AValue">
<short>New values for the property.</short>
</element>
<element name="TValueListEditor.UpdateTitleCaptions">
<short>
Updates TitleCaptions with the captions for the key and value columns.
</short>
<descr>
<p>
Clears existing values in TitleCaptions.
</p>
</descr>
<seealso>
<link id="TValueListEditor.TitleCaptions"/>
</seealso>
</element>
<element name="TValueListEditor.UpdateTitleCaptions.KeyCap">
<short>Caption used for the Key column.</short>
</element>
<element name="TValueListEditor.UpdateTitleCaptions.ValCap">
<short>Caption used for the Value column.</short>
</element>
<element name="TValueListEditor.WSRegisterClass">
<short>Registers the class type for the widget set.</short>
<descr/>
<seealso>
<link id="#lcl.grids.TCustomGrid.WSRegisterClass">TCustomGrid.WSRegisterClass</link>
</seealso>
</element>
<element name="TValueListEditor.SetFixedCols">
<short>
Sets the value for the FixedCols property.
</short>
<descr>
<p>
<var>SetFixedCols</var> is a procedure used to set the value for the
<var>FixedCols</var> property.
</p>
</descr>
<seealso>
<link id="TValueListEditor.FixedCols"/>
</seealso>
</element>
<element name="TValueListEditor.SetFixedCols.AValue">
<short>New value for the property.</short>
</element>
<element name="TValueListEditor.ShowColumnTitles">
<short>
Assigns and displays the column titles for the Key and Value columns.
</short>
<descr>
<p>
<var>ShowColumnTitles</var> is a procedure used to assign and display the
column titles for the Key and Value columns in the control. ShowColumnTitles
requires column titles to be enabled by including the value
<var>doColumnTitles</var> in the <var>DisplayOptions</var> property. No
actions are performed in the method if column titles have not been enabled.
</p>
<p>
The text used in column titles is derived from resource strings, or values in
the <var>TitleCaptions</var> property (when assigned). The default column
titles are:
</p>
<dl>
<dt>rsVLEKey</dt>
<dd>Resource string with the caption for the Key column</dd>
<dt>rsVLEValue</dt>
<dd>Resource string with the caption for the Value column</dd>
</dl>
<p>
Values in TitleCaptions are used when the property contains a values at the
following ordinal positions:
</p>
<dl>
<dt>0</dt>
<dd>Value used as the caption for the Key column</dd>
<dt>1</dt>
<dd>Value used as the caption for the Value column</dd>
</dl>
<p>
ShowColumnTitles stores the column titles to the first row in the grid
control using the <var>Cells</var> property.
</p>
<p>
ShowColumnTitles is called automatically when the control is created, and
when values in <var>DisplayOptions</var> or <var>TitleCaptions</var> are
changed.
</p>
</descr>
<seealso>
<link id="TValueListEditor.DisplayOptions"/>
<link id="TValueListEditor.TitleCaptions"/>
<link id="TDisplayOption"/>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
</seealso>
</element>
<element name="TValueListEditor.AdjustRowCount">
<short>
Sets the number of visible rows for the control.
</short>
<descr>
<p>
<var>AdjustRowCount</var> is a procedure used to set the number of visible
rows for the control. AdjustRowCount uses the <var>Strings</var> property to
get the total number of rows needed for the control, including the fixed
caption row (if needed). When the value differs from <var>RowCount</var>, the
<var>Row</var> and RowCount properties are updated.
</p>
<p>
AdjustRowCount is called from event handlers when values in Strings or
<var>TitleCaptions</var> are changed, and when values are included in or
excluded from <var>DisplayOptions</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.TitleCaptions"/>
<link id="TValueListEditor.DisplayOptions"/>
<link id="TValueListEditor.RowCount"/>
<link id="#lcl.grids.TCustomDrawGrid.Row">TCustomDrawGrid.Row</link>
</seealso>
</element>
<element name="TValueListEditor.ColRowExchanged">
<short>
Exchanges row values at the specified positions.
</short>
<descr>
<p>
<var>ColRowExchanged</var> is a procedure used to exchange row values at the
specified positions. ColRowExchanged extends the inherited method by applying
the changes to the <var>Strings</var> property after adjusting the index
positions for the number of FixedRows in the control. ColRowExchanged calls
the inherited method using <var>IsColumn</var>, <var>Index</var>, and
<var>WithIndex</var> as arguments.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomDrawGrid.ColRowExchanged">TCustomDrawGrid.ColRowExchanged</link>
</seealso>
</element>
<element name="TValueListEditor.ColRowExchanged.IsColumn">
<short>
Indicates if the exchange applies to the column only or the entire row.
</short>
</element>
<element name="TValueListEditor.ColRowExchanged.Index">
<short>First position to be swapped.</short>
</element>
<element name="TValueListEditor.ColRowExchanged.WithIndex">
<short>Second position to be swapped.</short>
</element>
<element name="TValueListEditor.ColRowDeleted">
<short>
Performs actions needed when a row is deleted in the control.
</short>
<descr>
<p>
<var>ColRowDeleted</var> is an overridden procedure used to perform actions
needed when a Key-Value row is deleted in the control. ColRowDeleted ensures
that <var>EditorMode</var> is set to <b>False</b>, and deletes the active row
in the <var>Strings</var> property. ColRowDeleted calls the inherited method
using <var>IsColumn</var> and <var>Index</var> as arguments.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomDrawGrid.ColRowDeleted">TCustomDrawGrid.ColRowDeleted</link>
</seealso>
</element>
<element name="TValueListEditor.ColRowDeleted.IsColumn">
<short>Indicates the action is for a column (and not a row).</short>
</element>
<element name="TValueListEditor.ColRowDeleted.Index">
<short>Ordinal position of the affected item.</short>
</element>
<element name="TValueListEditor.DefineCellsProperty">
<short>
Not used in the current implementation.
</short>
<descr>
<remark>
<var>DefineCellsProperty</var> has an empty implementation in
<var>TValueListEditor</var> to prevent reading and writing the
<var>Cells</var> property as defined in an ancestor class.
</remark>
</descr>
<seealso>
<link id="#lcl.grids.TCustomStringGrid.DefineCellsProperty">TCustomStringGrid.DefineCellsProperty</link>
</seealso>
</element>
<element name="TValueListEditor.DefineCellsProperty.Filer">
<short>Component streamer for the class.</short>
</element>
<element name="TValueListEditor.InvalidateCachedRow">
<short>
Resets the last edited row number for the control.
</short>
<descr>
<p>
<var>InvalidateCachedRow</var> is a procedure used to invalidate the internal
member variable used to track the last row edited in the control. When
<var>Strings</var> contains data, the internal tracker is set to -1. When
Strings has no data (length is 0), the internal tracker defaults to the first
visible non-fixed row. The editing buffers for both the key and value are
cleared.
</p>
<p>
InvalidateCachedRow is called when the <var>TValueListStrings</var> instance
in <var>Strings</var> performs <var>Add</var>, <var>Delete</var>,
<var>Insert</var>, and <var>Sort</var> operations.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings">TValueListEditor.Strings</link>
<link id="TValueListStrings">TValueListStrings</link>
</seealso>
</element>
<element name="TValueListEditor.GetAutoFillColumnInfo">
<short>
Gets the display priority for an auto-fill column.
</short>
<descr>
<p>
<var>GetAutoFillColumnInfo</var> is used to get the minimum and maximum
width, and relative display priority, for an automatically sized column in
the grid. GetAutoFillColumnInfo overrides the behavior from the ancestor
class to account for the two column limit for the grid.
</p>
<p>
<var>Index</var> is the column number examined in the method. When Index is 1
(the Value column), the relative priority is set to 1. When Index is 0 (the
Key column), <var>DisplayOptions</var> is used to determine if the Key column
is fixed. The priority is set to 0 when fixed, or 1 when DisplayOptions does
not include the value <var>doKeyColFixed</var>.
</p>
<remark>
Values in the aMin and aMax arguments are not used; they were used in an
ancestor class, but are not required in TValueListEditor.
</remark>
</descr>
<seealso>
<link id="#lcl.grids.TCustomGrid.GetAutoFillColumnInfo">TCustomGrid.GetAutoFillColumnInfo</link>
</seealso>
</element>
<element name="TValueListEditor.GetAutoFillColumnInfo.Index">
<short>Column number examined in the method.</short>
</element>
<element name="TValueListEditor.GetAutoFillColumnInfo.aMin">
<short>Not used in TValueListEditor.</short>
</element>
<element name="TValueListEditor.GetAutoFillColumnInfo.aMax">
<short>Not used in TValueListEditor.</short>
</element>
<element name="TValueListEditor.GetAutoFillColumnInfo.aPriority">
<short>Relative display priority for the column.</short>
</element>
<element name="TValueListEditor.GetEditText">
<short>
Gets the value used in the editor for the specified cell.
</short>
<descr>
<p>
<var>GetEditText</var> is a <var>String</var> function used to get the value
used in the editor for the cell at the specified coordinates. The return
value contains the content in <var>Cells</var> stored at the coordinates in
<var>ACol</var> and <var>ARow</var>.
</p>
<p>
GetEditText signals the <var>OnGetEditText</var> event handler (when
assigned) to allow a custom value to be provided to the cell editor.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TValueListEditor.GetEditText.Result">
<short>Value for the cell editor.</short>
</element>
<element name="TValueListEditor.GetEditText.ACol">
<short>Column number.</short>
</element>
<element name="TValueListEditor.GetEditText.ARow">
<short>Row number.</short>
</element>
<element name="TValueListEditor.GetCells">
<short>
Gets the value in Cells at the specified row and column numbers.
</short>
<descr>
<p>
<var>GetCells</var> is a <var>String</var> function used to get the value in
the Cells property at the specified row and column numbers. GetCells extends
the behavior from the ancestor class by using the Strings property as the
source of data in the control.
</p>
<p>
When <var>ACol</var> contains 0 (the Key column), the <var>Names</var>
property in <var>Strings</var> is used to get the value for the current row.
When ACol contains 1 (the Value column), the <var>ValueFromIndex</var> method
in Strings is used to get the value for the current row.
</p>
<p>
The return value is an empty string (<b>''</b>) when ARow is 0 (zero) and
column titles are enabled in <var>DisplayOptions</var>. Use the
<var>TitleCaptions</var> property to set the values displayed when
DisplayOptions includes the value <var>doColumnTitles</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.TitleCaptions"/>
<link id="#rtl.classes.TStrings.Names">TStrings.Names</link>
<link id="#rtl.classes.TStrings.ValueFromIndex">TStrings.ValueFromIndex</link>
</seealso>
</element>
<element name="TValueListEditor.GetCells.Result">
<short>Value for the cell at the specified row and column number.</short>
</element>
<element name="TValueListEditor.GetCells.ACol">
<short>Column number to read in Cells.</short>
</element>
<element name="TValueListEditor.GetCells.ARow">
<short>Row number to read in Cells.</short>
</element>
<element name="TValueListEditor.GetDefaultEditor">
<short>Gets the editor control for the specified column number.</short>
<descr>
<p>
<var>GetDefaultEditor</var> is a <var>TWinControl</var> function used to get
the editor control for the specified column number. The return value is the
TWinControl used as the editor for the cell in the specified column number.
</p>
<p>
GetDefaultEditor saves the current contents in Cells for the selected Row
number to allow use of RestoreCurrentRow. GetDefaultEditor calls the
inherited method to enable the logic implemented in the ancestor class.
</p>
<p>
KeyOptions is used to determine if the <var>VK_Delete</var> key needs to be
be handled in the editor control. EditorOptions is updated to include or
exclude the value <var>EO_HOOKKEYDOWN</var> based on the presence of
KeyDelete in KeyOptions.
</p>
<p>
When Column contains 1 (the Value column), the item definition in ItemProps
is used to configure the default editor. Its EditStyle is applied by calling
the EditorByStyle method. For a PickList-style editor, pick list values in
the item definition are assigned to the combo-box editor control and its
drop-down row count is set to the value in DropDownRows. The OnGetPickList
event handler is signalled (when assigned) to get user-defined values in the
editor control. The read-only status for the editor is updated to reflect the
value in the item definition.
</p>
<p>
When Column contains 0 (the Key column), the editor is marked as read-only
when <var>KeyOptions</var> does <b>not</b> include the value
<var>KeyEdit</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.KeyOptions"/>
<link id="TValueListEditor.ItemProps"/>
<link id="TValueListEditor.OnGetPickList"/>
<link id="TItemProp.EditStyle"/>
<link id="TItemProp.ReadOnly"/>
<link id="#lcl.grids.TCustomGrid.EditorOptions">TCustomGrid.EditorOptions</link>
</seealso>
</element>
<element name="TValueListEditor.GetDefaultEditor.Column">
<short>Column number for the editor control.</short>
</element>
<element name="TValueListEditor.GetDefaultEditor.Result">
<short>Editor control for the specified column number.</short>
</element>
<element name="TValueListEditor.GetRowCount">
<short>Gets the value for the RowCount property.</short>
<descr/>
<seealso>
<link id="TValueListEditor.RowCount"/>
<link id="#lcl.grids.TCustomGrid.RowCount">TCustomGrid.RowCount</link>
</seealso>
</element>
<element name="TValueListEditor.GetRowCount.Result">
<short>Row count for the grid control.</short>
</element>
<element name="TValueListEditor.KeyDown">
<short>
Provides support for special keys used in the control.
</short>
<descr>
<p>
<var>KeyDown</var> is a procedure used to provide support for special keys
used in the control. KeyDown calls the inherited method. The
<var>KeyOptions</var> property is used to determine if actions are performed
for keystrokes, including:
</p>
<dl>
<dt>KeyAdd (<var>VK_INSERT</var>)</dt>
<dd>
Inserts a row at the current position. by calling InsertRow. Key is set to #0.
</dd>
<dt>KeyDelete (<var>Ctrl + VK_DELETE</var>)</dt>
<dd>
Deletes the row at the current position by calling DeleteRow. Key is set to
#0.
</dd>
<dt>(<var>VK_ESCAPE</var>)</dt>
<dd>
Restores the values for the current row by calling RestoreCurrentRow. Key is
set to #0.
</dd>
</dl>
</descr>
<seealso>
<link id="TValueListEditor.KeyOptions">TValueListEditor.KeyOptions</link>
</seealso>
</element>
<element name="TValueListEditor.KeyDown.Key">
<short>Key code for the key down event.</short>
</element>
<element name="TValueListEditor.KeyDown.Shift">
<short>Shift / Ctrl / Alt modifier for the key down event.</short>
</element>
<element name="TValueListEditor.KeyPress">
<short>Handles special key presses for the control.</short>
<descr>
<p>
KeyPress is an overridden method in TValueListEditor which handles key press
events for special characters used in the control.
</p>
<p>
It calls the inherited method on entry to handle the character value in Key.
If not handled in the ancestor class, it prevents the name/value separator
used in Strings from being entered in the Name column for the control. If
detected, Key is set to #0 and the focus is changed to the Value column and
its editor is activated.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.Keys"/>
<link id="TValueListEditor.Values"/>
</seealso>
</element>
<element name="TValueListEditor.KeyPress.Key">
<short>Key value examined in the method.</short>
</element>
<element name="TValueListEditor.LoadContent">
<short>
Loads configuration and content from the specified XML configuration file.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TValueListEditor.LoadContent.Cfg">
<short>XML configuration file with values loaded in the method.</short>
</element>
<element name="TValueListEditor.LoadContent.Version">
<short>Control version for the stored content.</short>
</element>
<element name="TValueListEditor.ResetDefaultColWidths">
<short>
Resets grid columns to their default widths.
</short>
<descr>
<p>
<var>ResetDefaultColWidths</var> is a procedure used to reset grid columns to
their default widths. ResetDefaultColWidths uses values in the
<var>AutoFillColumns</var> and <var>DisplayOptions</var> properties to
determine the actions needed in the method. When AutoFillColumns is
<b>False</b>, the inherited <var>ResetDefaultColWidths</var> method is called
to set the default column widths.
</p>
<p>
Otherwise, DisplayOptions is used to determine if the Key column is displayed
as a fixed column. When DisplayOptions contains the value
<var>doKeyColFixed</var>, the Key column (column 0) is resized to fit the
longest value in the <var>Keys</var> property and the control is redrawn.
</p>
<p>
No actions are performed in the method when AutoFillColumns is <b>True</b>
and <var>DisplayOptions</var> does not include the value
<var>doKeyColFixed</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.DisplayOptions"/>
<link id="#lcl.grids.TCustomDrawGrid.AutoFillColumns">TCustomDrawGrid.AutoFillColumns</link>
</seealso>
</element>
<element name="TValueListEditor.SaveContent">
<short>
Saves configuration and content in the control to the specified XML
configuration file.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TValueListEditor.SaveContent.Cfg">
<short>XML configuration file where values are stored in the method.</short>
</element>
<element name="TValueListEditor.SetCells">
<short>
Sets the value in the Cells property at the specified position.
</short>
<descr>
<p>
<var>SetCells</var> is an overridden procedure used to set the value in the
Cells property at the specified row and column position. SetCells ensures
that values written to the Cells property are also stored in the Strings
property using the "Key=Value" convention used in the control. The new cell
value in AValue is applied to either the Key or the Value based on the column
number in ACol (0 is for Key, 1 is for Value).
</p>
<p>
Cells with a row number of 0 (zero) are used for fixed title captions when
they are enabled in the DisplayOptions for the control. When DisplayOptions
contains the value <var>doColumnTitles</var>, the inherited SetCells method
is called to display the new title caption entered at run-time. Use
<var>TitleCaptions</var> to set the text for column title captions at
design-time.
</p>
<p>
Use <var>Cells</var> to read or write a value in the property.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings">TValueListEditor.Strings</link>
<link id="TValueListEditor.DisplayOptions">TValueListEditor.DisplayOptions</link>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
<link id="#lcl.grids.TCustomStringGrid.SetCells">TCustomStringGrid.SetCells</link>
<link id="#lcl.grids.TCustomGrid.KeyPress">TCustomGrid.KeyPress</link>
</seealso>
</element>
<element name="TValueListEditor.SetCells.ACol">
<short>Column number for the new cell value.</short>
</element>
<element name="TValueListEditor.SetCells.ARow">
<short>Row number for the new cell value.</short>
</element>
<element name="TValueListEditor.SetCells.AValue">
<short>New value for the cell.</short>
</element>
<element name="TValueListEditor.SetColCount">
<short>Sets the value for the ColCount property.</short>
<descr>
<p>
SetColCount is an overridden method in TValueListEditor used to set the value
for the ColCount property. It raises an EGridException exception if the
property is set to any value other than 2.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomGrid.ColCount">TCustomGrid.ColCount</link>
<link id="#lcl.grids.TCustomGrid.SetColCount">TCustomGrid.SetColCount</link>
</seealso>
</element>
<element name="TValueListEditor.SetColCount.AValue">
<short>New value for the ColCount property.</short>
</element>
<element name="TValueListEditor.SetEditText">
<short>
Sets the cell value at the specified position.
</short>
<descr>
<p>
<var>SetEditText</var> is an overridden procedure used to set the value for
the cell at the specified column and row position. SetEditText calls the
inherited method, and stores the string in AValue in the <var>Cells</var>
property.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
<link id="#lcl.grids.TCustomStringGrid.SetEditText">TCustomStringGrid.SetEditText</link>
</seealso>
</element>
<element name="TValueListEditor.SetEditText.ACol">
<short>Column number for the new value.</short>
</element>
<element name="TValueListEditor.SetEditText.ARow">
<short>Row number for the new value.</short>
</element>
<element name="TValueListEditor.SetEditText.Value">
<short>Value to store in the Cells for the control.</short>
</element>
<element name="TValueListEditor.SetFixedRows">
<short>
Sets the value in the FixedRows property.
</short>
<descr>
<p>
<var>SetFixedRows</var> is a procedure used to set the value in the FixedRows
property. SetFixedRows is overridden in <var>TValueListEditor</var> to update
the <var>DisplayOptions</var> for the control when the property value is
changed.
</p>
<p>
<var>AValue</var> is the number of fixed rows to use for title captions in
the control. No actions are performed in the method when AValue contains a
value other than 0 or 1.
</p>
<p>
When <var>AValue</var> is 0, the value doColumnTitles is excluded from the
DisplayOptions property. When AValue is 1, the value
<var>doColumnTitles</var> is included in the DisplayOptions property.
</p>
<p>
Use <var>TitleCaptions</var> to set the title captions for columns at
design-time. Use DisplayOptions to enable or disable title captions for the
control.
</p>
</descr>
<seealso>
<link id="TValueListEditor.DisplayOptions"/>
<link id="TValueListEditor.TitleCaptions"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
</seealso>
</element>
<element name="TValueListEditor.SetFixedRows.AValue">
<short>New value for the property.</short>
</element>
<element name="TValueListEditor.SetRowCount">
<short>
Sets the value in the RowCount property.
</short>
<descr>
<p>
<var>SetRowCount</var> is an overridden procedure used to set the value in
the <var>RowCount</var> property. <var>AValue</var> contains the new value
for the property.
</p>
<p>
AValue cannot contain a value smaller than the number of <var>FixedRows</var>
for the grid control. An <var>EGridException</var> exception is raised when
AValue is less than the number of FixedRows for the control.
</p>
<p>
SetRowCount uses the <var>RowCount</var> value inherited from the grid to
determine if any actions are required in the method. No actions are performed
in the method when the inherited RowCount contains the same value as AValue.
</p>
<p>
SetRowCount ensures that the <var>Strings</var> property contains the number
of entries needed for the new property value minus the FixedRows for the
grid. Lines are added to or deleted from Strings until the number of entries
matches the needed value.
</p>
</descr>
<errors>
Raises an EGridException exception with the message in rsFixedRowsTooBig when
the number of FixedRows is larger than the new value for the property.
</errors>
<seealso>
<link id="TValueListEditor.RowCount"/>
<link id="TValueListEditor.Strings"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
<link id="#lcl.grids.TCustomDrawGrid.RowCount">TCustomDrawGrid.RowCount</link>
<link id="#lcl.grids.EGridException">EGridException</link>
</seealso>
</element>
<element name="TValueListEditor.SetRowCount.AValue">
<short>New value for the property.</short>
</element>
<element name="TValueListEditor.Sort">
<short>
Sorts the values in Strings.
</short>
<descr>
<p>
<var>Sort</var> is a procedure used to sort the values in Strings. Sort
disables an active editor in the control prior to sorting values when
<var>Options</var> includes the value <var>goAlwaysShowEditor</var>. The
active editor is restored when the sorting operation is completed.
</p>
<p>
Sort calls the inherited method using the values in Index, IndxFrom, and
IndxTo as arguments. Please note that the <var>ColSorting</var> argument is
not actually used in the sort operation; <b>True</b> is always used for
column sorting.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomGrid.Sort">TCustomGrid.Sort</link>
</seealso>
</element>
<element name="TValueListEditor.Sort.ColSorting">
<short>Not used n the current implementation.</short>
</element>
<element name="TValueListEditor.TitlesChanged">
<short>
Event handler signalled when TitleCaptions is changed.
</short>
<descr>
<p>
<var>TitlesChanged</var> is a procedure which provides a default
implementation for the event handler signalled when values in
<var>TitleCaptions</var> are changed. TitlesChanged calls
<var>ShowColumnTitles</var> and <var>AdjustRowCount</var> methods, and calls
<var>Invalidate</var> to force the control to be redrawn.
</p>
<p>
TitlesChanged is assigned to the <var>OnChange</var> event handler in
<var>TitleCaptions</var> when the control is created.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TValueListEditor.TitlesChanged.Sender">
<short>Control triggering the event notification.</short>
</element>
<element name="TValueListEditor.ValidateEntry">
<short>
Validates data entered in a cell in the control.
</short>
<descr>
<p>
<var>ValidateEntry</var> is an overridden <b>Boolean</b> function used to
validate data entered in a cell in the control. The return value is
<b>True</b> if NewValue is acceptable for use in the cell at the specified
coordinates.
</p>
<p>
ValidateEntry calls the inherited method, which signals the
<var>OnValidateEntry</var> event handler (when assigned). ValidateEntry
checks for duplicate names in the Key column when the value
<var>KeyUnique</var> is included in the <var>KeyOptions</var> property.
</p>
<p>
The return value is <b>False</b> if a duplicate Key name is found in
<var>Strings</var>. A dialog message is displayed with the message in
<var>rsVLEDuplicateKey</var>, and the Editor re-selects the content in the
control.
</p>
</descr>
<seealso/>
</element>
<element name="TValueListEditor.ValidateEntry.ACol">
<short>Column number for the new value.</short>
</element>
<element name="TValueListEditor.ValidateEntry.ARow">
<short>Row number for the new value.</short>
</element>
<element name="TValueListEditor.ValidateEntry.OldValue">
<short>The old value for the cell.</short>
</element>
<element name="TValueListEditor.ValidateEntry.NewValue">
<short>The new value for the cell.</short>
</element>
<element name="TValueListEditor.ValidateEntry.Result">
<short><b>True</b> if the cell value is valid.</short>
</element>
<element name="TValueListEditor.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. Create allocates
resources for the <var>Strings</var> and <var>TitleCaptions</var> properties,
and calls the inherited constructor. Create sets the event handlers in
Strings and TitleCaptions to methods in the class instance. Create sets the
default values for the following properties:
</p>
<dl>
<dt>ColCount</dt>
<dd>2</dd>
<dt>RowCount</dt>
<dd>2</dd>
<dt>FixedCols</dt>
<dd>0</dd>
<dt>Options</dt>
<dd>[ goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goColSizing,
goEditing, goAlwaysShowEditor, goThumbTracking ]</dd>
<dt>Col</dt>
<dd>1</dd>
<dt>DropDownRows</dt>
<dd>8</dd>
<dt>AutoFillColumns</dt>
<dd>True</dd>
</dl>
<p>
Create initializes the value for internal member used to track the last row
edited in the control.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Destroy"/>
</seealso>
</element>
<element name="TValueListEditor.Create.AOwner">
<short>Owner of the control instance.</short>
</element>
<element name="TValueListEditor.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
<var>Destroy</var> is the destructor for the class instance. Destroy frees
resources allocated to the <var>Strings</var> and <var>TitleCaptions</var>
properties, and calls the inherited Destroy method.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Create"/>
</seealso>
</element>
<element name="TValueListEditor.Clear">
<short>
Removes the content in the control.
</short>
<descr>
<p>
<var>Clear</var> is a procedure used to remove the content in the control.
Clear calls the Clear method in <var>Strings</var> to remove all Key / Value
information stored in the property. This action also frees the item
definitions stored in an internal list in Strings.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TItemPropList.Clear"/>
<link id="TItemProp"/>
</seealso>
</element>
<element name="TValueListEditor.DeleteColRow">
<short>
Deletes the column or row at the specified position.
</short>
<descr>
<p>
<var>DeleteColRow</var> is a procedure used to delete the column or row at
the specified position.
</p>
<p>
<var>IsColumn</var> indicates whether the action is intended for a column or
a row. <var>Index</var> is the ordinal position for the column or row removed
in the method.
</p>
<p>
When IsColumn is <b>True</b>, the <var>DeleteCol</var> method is called. This
results in an exception being raised in DeleteCol; columns cannot be removed
in TValueListEditor. Otherwise, the <var>DeleteRow</var> method is called to
remove the specified row number.
</p>
</descr>
<seealso>
<link id="TValueListEditor.DeleteRow"/>
<link id="TValueListEditor.DeleteCol"/>
</seealso>
</element>
<element name="TValueListEditor.DeleteColRow.IsColumn">
<short><b>True</b> when a column is affected in the method.</short>
</element>
<element name="TValueListEditor.DeleteColRow.Index">
<short>Position of the row or column in the control.</short>
</element>
<element name="TValueListEditor.DeleteRow">
<short>
Deletes the row at the specified position.
</short>
<descr>
<p>
<var>DeleteRow</var> is an overridden procedure used to delete the row at the
specified position in the control. DeleteRow ensures that the row in
<var>Index</var> is not a fixed row with title captions, and that
<var>Strings</var> contains data. No actions are performed in the method when
these conditions are not met.
</p>
<p>
DeleteRow calls the inherited method to remove the specified row number in
the grid.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
<link id="#lcl.grids.TCustomDrawGrid.DeleteRow">TCustomDrawGrid.DeleteRow</link>
</seealso>
</element>
<element name="TValueListEditor.DeleteRow.Index">
<short>Position of the row to be deleted.</short>
</element>
<element name="TValueListEditor.DeleteCol">
<short>
Prevents column deletion in control.
</short>
<descr>
<p>
<var>DeleteCol</var> is an overridden procedure in
<var>TValueListEditor</var>.
Deleting a column is not a valid operation in TValueListEditor, and is
overridden to block access to the inherited method.
</p>
<p>
DeleteCol raises an <var>EGridException</var> exception with the message in
<var>rsVLEInvalidRowColOperation</var>.
</p>
</descr>
<errors>
<p>
Raises an EGridException exception with the message in
rsVLEInvalidRowColOperation.
</p>
</errors>
<seealso>
<link id="EGridException"/>
<link id="rsVLEInvalidRowColOperation"/>
</seealso>
</element>
<element name="TValueListEditor.DeleteCol.Index">
<short>Position of the column to be deleted.</short>
</element>
<element name="TValueListEditor.FindRow">
<short>
Locates the row with the specified Key name.
</short>
<descr>
<p>
<var>FindRow</var> is a <var>Boolean</var> function used to locate the row
with the specified Key name.
</p>
<p>
<var>aRow</var> contains the relative row number where <var>KeyName</var> was
located. The row number is relative to the fixed title caption row (when
visible).The value in aRow is not updated if <var>KeyName</var> is not found
in <var>Strings</var>.
</p>
<p>
The return value is <b>True</b> when KeyName exists in the Strings property.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
<link id="#rtl.classes.TStrings.IndexOfName">TStrings.IndexOfName</link>
</seealso>
</element>
<element name="TValueListEditor.FindRow.KeyName">
<short>Key name to locate in the method.</short>
</element>
<element name="TValueListEditor.FindRow.aRow">
<short>Relative row number for the specified key name.</short>
</element>
<element name="TValueListEditor.FindRow.Result">
<short><b>True</b> when the key name exists in the control.</short>
</element>
<element name="TValueListEditor.InsertColRow">
<short>
Inserts a column or a row at the specified position.
</short>
<descr>
<p>
<var>InsertColRow</var> is a procedure used to add a column or a row at the
specified position in the control.
</p>
<p>
<var>IsColumn</var> indicates if a column is being inserted in the method.
When IsColumn contains <b>False</b>, a row is inserted at the specified
position. <var>Index</var> contains the row number where a blank item is
inserted in Strings. Index is relative the number of FixedRows in the
control; ie. when FixedRows = 1 and Index = 1, the item is inserted at
position 0 in Strings. When FixedRows = 0 and Index = 1, the item is inserted
at position 1 in Strings.
</p>
<p>
When IsColumn is <b>True</b>, an <var>EGridException</var> exception is
raised with the message in rsVLEInvalidRowColOperation. Inserting a column is
not a valid operation in <var>TValueListEditor</var>.
</p>
</descr>
<errors>
<p>
Raises an EGridException exception with the message in
rsVLEInvalidRowColOperation when adding a column in the control.
</p>
</errors>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListStrings.InsertItem"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
</seealso>
</element>
<element name="TValueListEditor.InsertColRow.IsColumn">
<short><b>False</b> if the insert operation is for a row.</short>
</element>
<element name="TValueListEditor.InsertColRow.Index">
<short>Relative position for the inserted column.</short>
</element>
<element name="TValueListEditor.InsertRow">
<short>
Inserts a row at the specified position.
</short>
<descr>
<p>
<var>InsertRow</var> is an <var>Integer</var> function used to insert a row
with the specified <var>KeyName</var> and <var>Value</var> at the current
<var>Row</var> in the control.
</p>
<p>
<var>Append</var> indicates if the inserted row is added after the current
Row in the control. When Append is <b>False</b>, the values in KeyName and
Value are inserted at the current row. Row is updated to reflect the row
number for the inserted values.
</p>
<p>
The return value contains the row number relative to the fixed title captions
where the KeyName and Value were inserted.
</p>
<p>
Use <var>InsertRowWithValues</var> to insert a new row with the key and value
passed in an array argument.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.InsertRowWithValues"/>
<link id="TValueListStrings.InsertItem"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
<link id="#lcl.grids.TCustomDrawGrid.Row">TCustomDrawGrid.Row</link>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
</seealso>
</element>
<element name="TValueListEditor.InsertRow.KeyName">
<short>Key name to use in the new row.</short>
</element>
<element name="TValueListEditor.InsertRow.Value">
<short>Value to use in the new row.</short>
</element>
<element name="TValueListEditor.InsertRow.Append">
<short><b>True</b> if a row is inserted after the current row.</short>
</element>
<element name="TValueListEditor.InsertRow.Result">
<short>Relative row number for the inserted row.</short>
</element>
<element name="TValueListEditor.InsertRowWithValues">
<short>
Inserts a row with the specified values at the specified position.
</short>
<descr>
<p>
<var>InsertRowWithValues</var> is a procedure used to insert a row with the
specified values at the specified row number in the control. <var>Index</var>
contains the position in <var>Strings</var> where the new row is inserted.
</p>
<p>
<var>Values</var> is an array of <var>Strings</var> with the Key name and
value for the inserted row. Values should contain two elements in the array.
The first is the key name. The second is the item value. The second array
element can be omitted, and defaults to an empty string (<b>''</b>).
Additional elements present in the array are <b>not</b> used in the method.
</p>
<p>
InsertRowWithValues inserts the key name and value in Strings at the
specified position using the "Key=Value" convention used in the control.
</p>
<p>
Use <var>InsertRow</var> to insert a new row using separate key and item
value parameters.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.InsertRow"/>
</seealso>
</element>
<element name="TValueListEditor.InsertRowWithValues.Index">
<short>Position for the inserted row.</short>
</element>
<element name="TValueListEditor.InsertRowWithValues.Values">
<short>Array with the key name and value for the inserted row.</short>
</element>
<element name="TValueListEditor.ExchangeColRow">
<short>
Swaps the columns or rows at the specified positions.
</short>
<descr>
<p>
<var>ExchangeColRow</var> is an overridden procedure used to swap the columns
or rows at the specified positions in the control.
</p>
<p>
<var>IsColumn</var> indicates if the exchanged values are in a column or in a
row in the control. The two-column layout in TValueListEditor prevents
exchanging column values. When IsColumn is <b>True</b>, an
<var>EGridException</var> exception is raised with the message in
<var>rsVLEInvalidRowColOperation</var>.
</p>
<p>
When IsColumn is <b>False</b>, the inherited ExchangeColRow method is called
using <var>Index</var> and <var>WithIndex</var> as arguments.
</p>
</descr>
<errors>
<p>
An EGridException exception is raised with the message in
rsVLEInvalidRowColOperation when trying to exchange column values in the
control.
</p>
</errors>
<seealso></seealso>
</element>
<element name="TValueListEditor.ExchangeColRow.IsColumn">
<short><b>False</b> when exchanging row values.</short>
</element>
<element name="TValueListEditor.ExchangeColRow.Index">
<short>Position for one of the exchanged values.</short>
</element>
<element name="TValueListEditor.ExchangeColRow.WithIndex">
<short>Position for one of the exchanged values.</short>
</element>
<element name="TValueListEditor.IsEmptyRow">
<short>
Indicates if the specified row is empty.
</short>
<descr>
<p>
<var>IsEmptyRow</var> is an overloaded <var>Boolean</var> function used to
determine the Key name and Value for a row contain empty string values
(<b>''</b>). One variant omits the row number parameter, and assumes the
current <var>Row</var> is used for the comparison. The other variant includes
the row number parameter and performs the check for empty values.
</p>
<p>
The return value is <b>True</b> when <var>Strings</var> contains no entries,
or when <var>Cells</var> for the specified row number have empty string
values (<b>''</b>) in both columns.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="#lcl.grids.TCustomDrawGrid.Row">TCustomDrawGrid.Row</link>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
</seealso>
</element>
<element name="TValueListEditor.IsEmptyRow.aRow">
<short>Row number to examine in the method.</short>
</element>
<element name="TValueListEditor.IsEmptyRow.Result">
<short>
<b>True</b> if the specified row has empty key name and value cells.
</short>
</element>
<element name="TValueListEditor.LoadFromCSVStream">
<short>
Loads the content for the control from the comma-separated values in the
specified stream.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TValueListEditor.LoadFromCSVStream.AStream">
<short>TStream instance with the values loaded in the method.</short>
</element>
<element name="TValueListEditor.LoadFromCSVStream.ADelimiter">
<short>Delimiter between cell values; default is Comma (',').</short>
</element>
<element name="TValueListEditor.LoadFromCSVStream.UseTitles">
<short>
Indicates whether title captions included as the first row in the CSV data.
</short>
</element>
<element name="TValueListEditor.LoadFromCSVStream.FromLine">
<short>
Initial line number in the stream loaded in the method.
</short>
</element>
<element name="TValueListEditor.LoadFromCSVStream.SkipEmptyLines">
<short>
Indicates whether empty lines are ignored when loading the content for the
control.
</short>
</element>
<element name="TValueListEditor.MoveColRow">
<short>
Moves the specified column or row to the new position.
</short>
<descr>
<p>
<var>MoveColRow</var> is a procedure used to move the specified column or row
to the new position. <var>IsColumn</var> indicates if the positions are in a
column or in a row in the control. The two-column layout in TValueListEditor
prevents moving column values. When IsColumn is <b>True</b>, an
<var>EGridException</var> exception is raised with the message in
<var>rsVLEInvalidRowColOperation</var>.
</p>
<p>
When IsColumn is <b>False</b>, the values in <var>Strings</var> stored at the
relative position in <var>FromIndex</var> are deleted. The values are
re-inserted in Strings at the relative position in <var>ToIndex</var>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="EGridException"/>
</seealso>
</element>
<element name="TValueListEditor.MoveColRow.IsColumn">
<short><b>True</b> if the operation affects a column.</short>
</element>
<element name="TValueListEditor.MoveColRow.FromIndex">
<short>Original position of the row or column.</short>
</element>
<element name="TValueListEditor.MoveColRow.ToIndex">
<short>Target position for the row or column.</short>
</element>
<element name="TValueListEditor.RestoreCurrentRow">
<short>
Restores pre-editing values in the current row.
</short>
<descr>
<p>
<var>RestoreCurrentRow</var> is a Boolean function used to restore the values
for the current row to their state prior to editing in the control. If an
editor has been assigned and has focus, it is hidden by calling EditorHide.
</p>
<p>
Values in the internal TKeyValuePair for the last row edited are restored in
the Cells for the current Row. The EditorShow method is called to show the
active editor after the row values are restored.
</p>
<p>
The return value is <b>True</b> if the pre-editing values were successfully
restored in the current Row. The return is <b>False</b> if values were not
edited, or an editor was not assigned and focused in the control.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TValueListEditor.RestoreCurrentRow.Result">
<short>
<b>True</b> if the values were successfully restored in the current row.
</short>
</element>
<element name="TValueListEditor.Sort">
<short>
Sorts column values in the control.
</short>
<descr>
<p>
<var>Sort</var> is an overloaded procedure used to sort column values in the
grid control. The overloaded variants provide different parameters for the
sort operation.
</p>
<p>
<var>ACol</var> is a <var>TVleSortCol</var> value that indicates whether key
names or values are sorted in the method. When the variant with aACol is
used, the <var>SortColRow</var> method is called to perform the sort.
</p>
<p>
Index contain the position for the column sorted in the method.
</p>
<p>
IndxFrom and IndxTo specify the starting and ending row numbers affected by
the sort operation. When the variant with column and row indexes is used, the
inherited <var>Sort</var> method is called to perform the sort.
</p>
<p>
Sort hides a visible cell editor during the sort operation. The cell editor
is restored (when needed) prior to exiting from the method.
</p>
</descr>
<seealso>
<link id="TVleSortCol"/>
<link id="#lcl.grids.TCustomGrid.Sort">TCustomGrid.Sort</link>
<link id="#lcl.grids.TCustomDrawGrid.SortColRow">TCustomDrawGrid.SortColRow</link>
</seealso>
</element>
<element name="TValueListEditor.Sort.Index">
<short>Ordinal position of the column sorted in the method.</short>
</element>
<element name="TValueListEditor.Sort.IndxFrom">
<short>Row with the initial value included in the sort.</short>
</element>
<element name="TValueListEditor.Sort.IndxTo">
<short>Row with the final value included in the sort.</short>
</element>
<element name="TValueListEditor.Sort.ACol">
<short>Column used for the sort operation.</short>
</element>
<element name="TValueListEditor.Modified">
<short>
Indicates if changes have been made to items in the control.
</short>
<descr>
<p>
<var>Modified</var> is a <var>Boolean</var> property which indicates if items
in the control have been modified. The value in Modified is updated when the
<var>OnChange</var> event handler for the <var>Strings</var> property is
signalled.
</p>
<p>
Use the <var>OnStringsChange</var> event handler to perform actions needed
when the property value has been changed. This event occurs after updating
Modified and RowCount, and redrawing the control.
</p>
<p>
Use the <var>OnStringsChanging</var> event handler to perform actions needed
prior to storing changes in the Strings property.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.RowCount"/>
<link id="TValueListEditor.OnStringsChanging"/>
<link id="TValueListEditor.OnStringsChange"/>
<link id="#lcl.grids.TCustomStringGrid.Modified">TCustomStringGrid.Modified</link>
</seealso>
</element>
<element name="TValueListEditor.Keys">
<short>
Provides indexed access to Key names in the control.
</short>
<descr>
<p>
<var>Keys</var> is an indexed <var>String</var> property which provides
access to key names in the control.
</p>
<p>
<var>Index</var> specifies the ordinal row number in <var>Cells</var> used to
read or write the value for the property. The column number in Cells is
always 0 (the Key column).
</p>
<p>
Use <var>Values</var> to access the value for a specific Key name in the
control.
</p>
<remark>
Since version 2.2.0, Keys will no longer allow the name/value separator used
in the Strings property to be used as a value in the property.
</remark>
</descr>
<seealso>
<link id="TValueListEditor.Values"/>
<link id="TValueListEditor.Strings"/>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
</seealso>
</element>
<element name="TValueListEditor.Keys.Index">
<short>Row number for the Key name in the control.</short>
</element>
<element name="TValueListEditor.Values">
<short>
Provides indexed access to Values stored in the control.
</short>
<descr>
<p>
<var>Values</var> is an indexed <var>String</var> property which provides
access to values for Key names in the control.
</p>
<p>
<var>Key</var> is a <var>String</var> value with the key name to locate in
the <var>Strings</var> for the control. The property value is read from and
written to the <var>Cells</var> property in the Value column (1). If Key does
not already exist during write access, a new Key/Value pair is added to
Strings.
</p>
<p>
Use <var>Keys</var> to read or write key name values used for the items in
the control.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Keys"/>
<link id="TValueListEditor.Strings"/>
<link id="#lcl.grids.TCustomStringGrid.Cells">TCustomStringGrid.Cells</link>
</seealso>
</element>
<element name="TValueListEditor.Values.Key">
<short>Key name for the specified value.</short>
</element>
<element name="TValueListEditor.ItemProps">
<short>
Provides indexed access to item definitions in the control.
</short>
<descr>
<p>
<var>ItemProps</var> is an indexed <var>TItemProp</var> property which
provides access to item definitions used in the control. ItemProps provides
access to the properties and methods used to define the editor for a
Key-Value pair. These include the editor style, editing mask, maximum length,
pick list values, and read-only status for the item.
</p>
<p>
<var>AKeyOrIndex</var> is a <var>Variant</var> value that specifies the key
name (String) or the ordinal position (Integer) for the TItemProp instance in
the property. Read and write access to instances in ItemProps is redirected
to the <var>TItemPropList</var> member in the <var>Strings</var> property.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TItemProp"/>
<link id="TItemPropList"/>
</seealso>
</element>
<element name="TValueListEditor.ItemProps.AKeyOrIndex">
<short>Key name or position for the item definition.</short>
</element>
<element name="TValueListEditor.Align" link="#lcl.controls.TControl.Align"/>
<element name="TValueListEditor.AlternateColor" link="#lcl.grids.TCustomGrid.AlternateColor"/>
<element name="TValueListEditor.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TValueListEditor.AutoAdvance" link="#lcl.grids.TCustomGrid.AutoAdvance"/>
<element name="TValueListEditor.AutoEdit" link="#lcl.grids.TCustomGrid.AutoEdit"/>
<element name="TValueListEditor.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TValueListEditor.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TValueListEditor.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TValueListEditor.Color" link="#lcl.controls.TControl.Color"/>
<element name="TValueListEditor.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TValueListEditor.DefaultColWidth" link="#lcl.grids.TCustomGrid.DefaultColWidth"/>
<element name="TValueListEditor.DefaultDrawing" link="#lcl.grids.TCustomGrid.DefaultDrawing"/>
<element name="TValueListEditor.DefaultRowHeight" link="#lcl.grids.TCustomGrid.DefaultRowHeight"/>
<element name="TValueListEditor.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
<element name="TValueListEditor.DragKind" link="#lcl.controls.TControl.DragKind"/>
<element name="TValueListEditor.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TValueListEditor.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TValueListEditor.ExtendedSelect" link="#lcl.grids.TCustomGrid.ExtendedSelect"/>
<element name="TValueListEditor.FixedColor" link="#lcl.grids.TCustomGrid.FixedColor"/>
<element name="TValueListEditor.FixedCols">
<short>
The number of fixed columns on the control.
</short>
<descr>
<p>
<var>FixedCols</var> is a published <var>Integer</var> property in
<var>TValueListEditor</var>. It contains the fixed column count for the
control. The default value for the property is 0, and causes both the Key and
Value columns on the control to be displayed using the background color
specified in Color (or ParentColor when enabled).
</p>
<p>
FixedCols can be changed to 1 to force the Key column to be displayed using
the FixedColor and TitleStyle for the control. A value other than 0 or 1
assigned to the property is ignored. Fixed columns are normally displayed on
the left edge of the grid and become part of the control which is not scrolled
horizontally.
</p>
<p>
When set to 1, a cell in the Key column cannot be edited using a cell editor
at run-time. A cell in the Key column cannot be edited if keyEdit has not been
included in KeyOptions - even when FixedCols is set to 0. The cell value can
be modified using the Keys property for all combinations of FixedCols and
KeyOptions.
</p>
<p>
Setting a new value for the FixedCols property causes several actions to be
performed:
</p>
<ul>
<li>
The values in FixedCols and FixedRows are verified by calling CheckFixedCount,
which can raise an exception if either value is not in range for the grid
control.
</li>
<li>
EditorMode is set to <b>False</b> to hide a visible cell Editor on the control.
</li>
<li>
If Columns has been Enabled, UpdateSelectionRange is called to refresh the
selection rectangle for the control. ColumnsChanged is called to apply the
visual change to the control. If Columns has not been Enabled,
MoveNextSelectable and UpdateSelectionRange are called to refresh the cells on the control.
</li>
</ul>
<p>
Use FixedRows to get or set the number of fixed rows displayed for the grid
control.
</p>
<p>
Use the Keys property to maintain a key name displayed in a specific row on
the control. Use Values to maintain the value associated with a specific key
name. Or, use Strings to access key / value pairs on the control.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Keys"/>
<link id="TValueListEditor.Values"/>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.InsertColRow"/>
<link id="TValueListEditor.InsertRow"/>
<link id="TValueListEditor.InsertRowWithValues"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedCols">TCustomDrawGrid.FixedCols</link>
<link id="#lcl.grids.TCustomDrawGrid.FixedCols">TCustomDrawGrid.FixedRows</link>
<link id="#lcl.grids.TCustomGrid.FixedCols">TCustomGrid.FixedCols</link>
</seealso>
</element>
<element name="TValueListEditor.Flat" link="#lcl.grids.TCustomGrid.Flat"/>
<element name="TValueListEditor.Font" link="#lcl.controls.TControl.Font"/>
<element name="TValueListEditor.GridLineWidth" link="#lcl.grids.TCustomGrid.GridLineWidth"/>
<element name="TValueListEditor.HeaderHotZones" link="#lcl.grids.TCustomGrid.HeaderHotZones"/>
<element name="TValueListEditor.HeaderPushZones" link="#lcl.grids.TCustomGrid.HeaderPushZones"/>
<element name="TValueListEditor.MouseWheelOption" link="#lcl.grids.TCustomGrid.MouseWheelOption"/>
<element name="TValueListEditor.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TValueListEditor.ParentColor">
<short>
Uses the Color from the Parent control, when enabled.
</short>
<descr>
<p>
ParentColor determines if the control should use the Color from the Parent
control, when enabled. The default value for the property is <b>False</b> in
TValueListEditor.
</p>
<p>
When this property is <b>True</b>, all changes to the Color of the parent
will also be applied to the Color of the control, ensuring that they both
contain same value. If the Color of the control is changed by the
application, then ParentColor will be automatically set to <b>False</b>.
</p>
<p>
Using ParentColor when the Color value is clDefault can cause problems in
resolving the actual color value. To obtain the Color property of a control
while taking into account clDefault and ParentColor, use the
GetColorResolvingParent method. This method might return a non-RGB color, but
will never return clDefault. To obtain a purely RGB result use the
GetRGBColorResolvingParent method.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.ParentColor">TControl.ParentColor</link>
<link id="#lcl.controls.TControl.GetColorResolvingParent">TControl.GetColorResolvingParent</link>
<link id="#lcl.controls.TControl.GetRGBColorResolvingParent">TControl.GetRGBColorResolvingParent</link>
</seealso>
</element>
<element name="TValueListEditor.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TValueListEditor.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TValueListEditor.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element name="TValueListEditor.RowCount">
<short>Gets the number of rows for the control.</short>
<descr>
<p>
Read and write access specifiers for the <var>RowCount</var> property are
re-implemented in <var>TValueListEditor</var>. They are redirected to the
inherited property value, and additional validation is performed when setting
a new value for the property. See <link
id="TValueListEditor.SetRowCount">SetRowCount</link>.
</p>
</descr>
<seealso>
<link id="TValueListEditor.GetRowCount"/>
<link id="TValueListEditor.SetRowCount"/>
<link id="#lcl.grids.TCustomDrawGrid.RowCount">TCustomDrawGrid.RowCount</link>
</seealso>
</element>
<element name="TValueListEditor.ScrollBars" link="#lcl.grids.TCustomGrid.ScrollBars"/>
<element name="TValueListEditor.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TValueListEditor.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TValueListEditor.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TValueListEditor.TitleFont" link="#lcl.grids.TCustomGrid.TitleFont"/>
<element name="TValueListEditor.TitleImageList" link="#lcl.grids.TCustomGrid.TitleImageList"/>
<element name="TValueListEditor.TitleStyle" link="#lcl.grids.TCustomGrid.TitleStyle"/>
<element name="TValueListEditor.UseXORFeatures" link="#lcl.grids.TCustomGrid.UseXORFeatures"/>
<element name="TValueListEditor.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TValueListEditor.VisibleColCount" link="#lcl.grids.TCustomGrid.VisibleColCount"/>
<element name="TValueListEditor.VisibleRowCount" link="#lcl.grids.TCustomGrid.VisibleRowCount"/>
<element name="TValueListEditor.OnBeforeSelection" link="#lcl.grids.TCustomGrid.OnBeforeSelection"/>
<element name="TValueListEditor.OnButtonClick" link="#lcl.grids.TCustomGrid.OnButtonClick"/>
<element name="TValueListEditor.OnChangeBounds" link="#lcl.controls.TControl.OnChangeBounds"/>
<element name="TValueListEditor.OnCheckboxToggled" link="#lcl.grids.TCustomGrid.OnCheckboxToggled"/>
<element name="TValueListEditor.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TValueListEditor.OnColRowDeleted" link="#lcl.grids.TCustomDrawGrid.OnColRowDeleted"/>
<element name="TValueListEditor.OnColRowExchanged" link="#lcl.grids.TCustomDrawGrid.OnColRowExchanged"/>
<element name="TValueListEditor.OnColRowInserted" link="#lcl.grids.TCustomDrawGrid.OnColRowInserted"/>
<element name="TValueListEditor.OnColRowMoved" link="#lcl.grids.TCustomDrawGrid.OnColRowMoved"/>
<element name="TValueListEditor.OnCompareCells" link="#lcl.grids.TCustomDrawGrid.OnCompareCells"/>
<element name="TValueListEditor.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TValueListEditor.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
<element name="TValueListEditor.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
<element name="TValueListEditor.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TValueListEditor.OnDrawCell" link="#lcl.grids.TCustomGrid.OnDrawCell"/>
<element name="TValueListEditor.OnEditButtonClick">
<short>Deprecated.</short>
<descr>
Use OnButtonClick instead.
</descr>
<seealso>
<link id="TValueListEditor.OnButtonClick"/>
</seealso>
</element>
<element name="TValueListEditor.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TValueListEditor.OnEndDock" link="#lcl.controls.TControl.OnEndDock"/>
<element name="TValueListEditor.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
<element name="TValueListEditor.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TValueListEditor.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TValueListEditor.OnGetEditMask" link="#lcl.grids.TCustomDrawGrid.OnGetEditMask"/>
<element name="TValueListEditor.OnGetEditText" link="#lcl.grids.TCustomDrawGrid.OnGetEditText"/>
<element name="TValueListEditor.OnHeaderClick" link="#lcl.grids.TCustomDrawGrid.OnHeaderClick"/>
<element name="TValueListEditor.OnHeaderSized" link="#lcl.grids.TCustomDrawGrid.OnHeaderSized"/>
<element name="TValueListEditor.OnHeaderSizing" link="#lcl.grids.TCustomDrawGrid.OnHeaderSizing"/>
<element name="TValueListEditor.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TValueListEditor.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TValueListEditor.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TValueListEditor.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TValueListEditor.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TValueListEditor.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TValueListEditor.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TValueListEditor.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TValueListEditor.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TValueListEditor.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TValueListEditor.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TValueListEditor.OnMouseWheelHorz" link="#lcl.controls.TControl.OnMouseWheelHorz"/>
<element name="TValueListEditor.OnMouseWheelLeft" link="#lcl.controls.TControl.OnMouseWheelLeft"/>
<element name="TValueListEditor.OnMouseWheelRight" link="#lcl.controls.TControl.OnMouseWheelRight"/>
<element name="TValueListEditor.OnPickListSelect" link="#lcl.grids.TCustomGrid.OnPickListSelect"/>
<element name="TValueListEditor.OnPrepareCanvas" link="#lcl.grids.TCustomGrid.OnPrepareCanvas"/>
<element name="TValueListEditor.OnResize" link="#lcl.controls.TControl.OnResize"/>
<element name="TValueListEditor.OnSelectEditor" link="#lcl.grids.TCustomGrid.OnSelectEditor"/>
<element name="TValueListEditor.OnSelection" link="#lcl.grids.TCustomGrid.OnSelection"/>
<element name="TValueListEditor.OnSelectCell" link="#lcl.grids.TCustomDrawGrid.OnSelectCell"/>
<element name="TValueListEditor.OnSetEditText" link="#lcl.grids.TCustomDrawGrid.OnSetEditText"/>
<element name="TValueListEditor.OnShowHint" link="#lcl.controls.TControl.OnShowHint"/>
<element name="TValueListEditor.OnStartDock" link="#lcl.controls.TControl.OnStartDock"/>
<element name="TValueListEditor.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
<element name="TValueListEditor.OnTopLeftChanged" link="#lcl.grids.TCustomGrid.OnTopLeftChanged"/>
<element name="TValueListEditor.OnUserCheckboxBitmap" link="#lcl.grids.TCustomGrid.OnUserCheckboxBitmap"/>
<element name="TValueListEditor.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TValueListEditor.OnValidateEntry" link="#lcl.grids.TCustomGrid.OnValidateEntry"/>
<element name="TValueListEditor.DisplayOptions">
<short>
Enables or disables display features and behaviors in the control.
</short>
<descr>
<p>
<var>DisplayOptions</var> is a <var>TDisplayOptions</var> property which
enables or disables display features and behaviors in the control.
DisplayOptions is a set type, and can store 0 (zero) or more
<var>TDisplayOption</var> values. The default value for the property includes
the following enumeration values:
</p>
<dl>
<dt>doColumnTitles</dt>
<dd>Displays column titles</dd>
<dt>doAutoColResize</dt>
<dd>Automatically resizes column widths</dd>
<dt>doKeyColFixed</dt>
<dd>Displays the Key as a fixed caption column</dd>
</dl>
<p>
Changing the value in DisplayOptions may cause updates to the
<var>RowCount</var> and <var>FixedRows</var> properties; they are adjusted to
reflect use of <var>doColumnTitles</var> in the property. In addition, the
<var>AutoFillColumns</var> property is updated to reflect use of
<var>doAutoColResize</var> in the property.
</p>
<p>
The value in DisplayOptions is updated when the value in FixedRows is changed.
</p>
</descr>
<seealso>
<link id="TValueListEditor.RowCount"/>
<link id="TDisplayOptions"/>
<link id="TDisplayOption"/>
<link id="#lcl.grids.TCustomDrawGrid.FixedRows">TCustomDrawGrid.FixedRows</link>
<link id="#lcl.grids.TCustomDrawGrid.AutoFillColumns">TCustomDrawGrid.AutoFillColumns</link>
</seealso>
</element>
<element name="TValueListEditor.DoubleBuffered" link="#lcl.controls.TWinControl.DoubleBuffered"/>
<element name="TValueListEditor.DropDownRows">
<short>
Number of rows displayed for an item with a PickList editor style.
</short>
<descr>
<p>
<var>DropDownRows</var> is an <var>Integer</var> property with the number of
rows displayed for an item with a PickList editor style. The default value
for the property is 8.
</p>
<p>
DropDownRows is used in the <var>GetDefaultEditor</var> method to configure
the TComboBox control used for the editor style.
</p>
<p>
Use the indexed ItemProps property to maintain an item definition used in the
grid control.
</p>
</descr>
<seealso>
<link id="TValueListEditor.GetDefaultEditor"/>
<link id="TValueListEditor.ItemProps"/>
<link id="TItemProp.EditStyle"/>
<link id="TItemProp.PickList"/>
</seealso>
</element>
<element name="TValueListEditor.KeyOptions">
<short>
Controls actions that can be performed for Keys in the control.
</short>
<descr>
<p>
<var>KeyOptions</var> is a <var>TKeyOptions</var> property used to control
actions that can be performed for keys in the control. KeyOptions is a set
type, and can contain 0 (zero) or more values from the TKeyOption
enumeration. The default value for the property is an empty set (<b>[]</b>).
</p>
<p>
Settings the values in KeyOptions causes the internal UpdatingKeyOptions flag
to be set. Including the value <var>KeyAdd</var> in KeyOptions requires
<var>KeyEdit</var> to be added as well. The <var>Options</var> property may
also be updated to include or exclude the value <var>goAutoAddRows</var>
based on use of KeyAdd in the property. The internal
<var>UpdatingKeyOptions</var> flag is cleared prior to exiting from the
method.
</p>
<p>
Values in KeyOptions are used in the <var>GetDefaultEditor</var> method to
configure the cell editor for an item.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Options"/>
<link id="TValueListEditor.GetDefaultEditor"/>
<link id="TKeyOptions"/>
</seealso>
</element>
<element name="TValueListEditor.Options">
<short>
Specifies the options enabled for the Key-Value grid.
</short>
<descr>
<p>
<var>Options</var> is a <var>TGridOptions</var> property used to specify the
options enabled for the two-column grid displayed in the control. Options is
a set type that can contain 0 (zero) or more <var>TGridOption</var> values.
By default, the property includes the following enumeration values:
</p>
<ul>
<li>goFixedVertLine</li>
<li>goFixedHorzLine</li>
<li>goVertLine</li>
<li>goHorzLine</li>
<li>goColSizing</li>
<li>goEditing</li>
<li>goAlwaysShowEditor</li>
<li>goThumbTracking</li>
</ul>
<p>
See <link id="#lcl.grids.TGridOption">TGridOption</link> for more information
about values and meanings in the enumeration.
</p>
<p>
Changing the value in Options causes additional validation to be performed:
</p>
<ul>
<li>
<var>goColMoving</var> is always excluded from the property value; column
moving is not a valid operation in TValueListEditor.
</li>
<li>
<var>goAutoAddRowsSkipContentCheck</var> is also excluded from the property.
</li>
<li>
If the internal UpdatingKeyOptions flag has not been set, and component
streaming has completed, the <var>KeyOptions</var> property is updated to
include <var>goAutoAddRows</var>.
</li>
</ul>
</descr>
<seealso>
<link id="TValueListEditor.KeyOptions"/>
<link id="#lcl.grids.TGridOption">TGridOption</link>
<link id="#lcl.grids.TGridOptions">TGridOptions</link>
</seealso>
</element>
<element name="TValueListEditor.Strings">
<short>
Stores the keys, values, and item definitions in the control.
</short>
<descr>
<p>
<var>Strings</var> is a <var>TValueListStrings</var> property which provides
storage for the <var>Keys</var>, <var>Values</var>, and item definitions in
the control. Strings uses the "Key=Value" convention to store the string data
needed for the Keys and Values properties.
</p>
<p>
Use the Keys property to read and write key names by their ordinal position
in the control. Use Values to read or write the data stored for a specific
Key name.
</p>
<p>
Strings also contains an internal <var>TItemPropList</var> member used to
store the item definitions for the control. Use <var>ItemProps</var> to
maintain the item definitions in the control.
</p>
<p>
</p>
</descr>
<seealso>
<link id="TValueListEditor.ItemProps"/>
<link id="TValueListEditor.Keys"/>
<link id="TValueListEditor.Values"/>
<link id="TValueListStrings"/>
<link id="TItemPropList"/>
<link id="TItemProp"/>
</seealso>
</element>
<element name="TValueListEditor.TitleCaptions">
<short>
Title captions used for columns in the control.
</short>
<descr>
<p>
<var>TitleCaptions</var> is a <var>TStrings</var> property with the title
captions used for columns in the control. TitleCaptions should have 2 lines
with the titles used for the Key and Value columns in the grid.
</p>
<p>
When TitleCaptions is empty (0 lines), the values in <var>rsVLEKey</var> and
<var>rsVLEValue</var> are used as the captions for the respective columns. If
a line is omitted in TitleCaptions, the corresponding resource string is used
as the default value for the caption.
</p>
<p>
TitleCaptions is used in the <var>ShowColumnTitles</var> method to assign and
display the column titles. Values in TitleCaptions are updated when
<var>LoadContent</var> or <var>LoadFromCSVStream</var> is called. Changing
values in TitleCaptions causes the control to be redrawn.
</p>
</descr>
<seealso>
<link id="TValueListEditor.ShowColumnTitles"/>
<link id="TValueListEditor.LoadContent"/>
<link id="TValueListEditor.LoadFromCSVStream"/>
<link id="rsVLEKey"/>
<link id="rsVLEValue"/>
</seealso>
</element>
<element name="TValueListEditor.OnGetPickList">
<short>
Event handler signalled to load values for the PickList in an item.
</short>
<descr>
<p>
<var>OnGetPickList</var> is a <var>TGetPickListEvent</var> property with the
event handler signalled to load the PickList for the item with a specific key
name.
OnGetPickList allows the application to provide custom selectable values for
an item which uses the <var>esPickList</var> editor style.
</p>
<p>
OnGetPickList is signalled from the <var>GetDefaultEditor</var> method when
an item definition in <var>ItemProps</var> uses <var>esPickList</var> in its
<var>EditStyle</var> property.
</p>
<p>
An application must implement and assign a routine to the event handler to
respond to the notification. The arguments for the event handler include the
control instance, the key name for the item, and a TStrings instance where
the values for the pick list can be stored. Existing values in the pick list
can be modified or replaced entirely.
</p>
</descr>
<seealso>
<link id="TValueListEditor.GetDefaultEditor"/>
<link id="TValueListEditor.ItemProps"/>
<link id="TGetPickListEvent"/>
<link id="TItemProp.EditStyle"/>
<link id="TItemProp.PickList"/>
<link id="TEditStyle"/>
</seealso>
</element>
<element name="TValueListEditor.OnStringsChange">
<short>
Event handler signalled when values in the Strings property are changed.
</short>
<descr>
<p>
<var>OnStringsChange</var> is a <var>TNotifyEvent</var> property with the
event handler signalled when values in the <var>Strings</var> property are
changed. Applications can assign a procedure to the event handler to perform
actions needed in the control.
</p>
<p>
OnStringsChange is triggered in the <var>StringsChange</var> method after
updating the row count and redrawing the control.
</p>
<p>
Use <var>OnStringsChanging</var> to perform actions needed prior to setting
values in Strings.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.OnStringsChanging"/>
</seealso>
</element>
<element name="TValueListEditor.OnStringsChanging">
<short>Event handler signalled prior to updating the Strings property.</short>
<descr>
<p>
<var>OnStringsChanging</var> is a <var>TNotifyEvent</var> property with the
event handler signalled prior to updating values in the <var>Strings</var>
property. Applications can assign a procedure to the event handler to respond
to the event notification.
</p>
<p>
OnStringsChanging is triggered in the <var>StringsChanging</var> method.
</p>
<p>
Use <var>OnStringsChange</var> to perform actions needed after values are
updated in Strings.
</p>
</descr>
<seealso>
<link id="TValueListEditor.Strings"/>
<link id="TValueListEditor.OnStringsChange"/>
</seealso>
</element>
<element name="TValueListEditor.OnValidate">
<short>Not used in the current implementation.</short>
<descr>
<p>
<var>OnValidate</var> is a <var>TOnValidateEvent</var> property that
implements the event handler signalled to validate a modified value in the
grid. Not used in the current implementation.
</p>
</descr>
<seealso>
<link id="#lcl.grids.TCustomGrid.OnValidateEntry">TCustomGrid.OnValidateEntry</link>
<link id="#lcl.grids.TCustomGrid.ValidateEntry">TCustomGrid.ValidateEntry</link>
</seealso>
</element>
<element name="rsVLEDuplicateKey">
<short>
Message displayed when a duplicate Key name is found.
</short>
</element>
<element name="rsVLEKey">
<short>
Default caption for the Key column; value is 'Key'
</short>
</element>
<element name="rsVLEValue">
<short>
Default caption for the Value column; value is 'Value'
</short>
</element>
<element name="rsVLEInvalidRowColOperation">
<short>
Exception message for an invalid row or column operation.
</short>
</element>
<element name="rsVLENoRowCountFound">
<short>
Error message displayed when a row count is not found when loading content in
TValueListEditor.
</short>
</element>
<element name="rsVLERowIndexOutOfBounds">
<short>
Error message displayed when an invalid row number is found when loading
content in TValueListEditor.
</short>
</element>
<element name="rsVLEColIndexOutOfBounds">
<short>
Error message displayed when an invalid column number is found when loading
content in TValueListEditor.
</short>
</element>
<element name="rsVLEIllegalColCount">
<short>
Error message displayed when an invalid column count is found when loading
content in TValueListEditor; column count is always 2 in TValueListEditor.
</short>
</element>
<element name="Register">
<short>Register components for use in the Lazarus IDE.</short>
<descr>
<p>
<var>Register</var> is the procedure used to register components for use in
the Lazarus IDE. Register adds the following components to the Lazarus IDE
component palette:
</p>
<p>
<b>Additional</b> Tab
</p>
<ul>
<li>TValueListEditor</li>
</ul>
</descr>
</element>
</module>
<!-- ValEdit -->
</package>
</fpdoc-descriptions>
|