1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775
|
<?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">
<!--
====================================================================
EditBtn
====================================================================
-->
<module name="EditBtn">
<short>
Implements specialized edit controls with attached speed buttons.
</short>
<descr>
<p>
<file>editbtn.pas</file> contains specialized edit controls with an attached
speed button used to perform an action when it is clicked. The following
components are added to the Lazarus IDE Component Palette:
</p>
<p>
<b>Misc</b> tab
</p>
<ul>
<li>TEditButton</li>
<li>TFileNameEdit</li>
<li>TDirectoryEdit</li>
<li>TDateEdit</li>
<li>TTimeEdit</li>
<li>TCalcEdit</li>
</ul>
<p>
<file>editbtn.pas</file> is part of the LCL (Lazarus Component Library).
</p>
</descr>
<!-- unresolved type references -->
<element name="Classes"/>
<element name="SysUtils"/>
<element name="LCLProc"/>
<element name="LResources"/>
<element name="LCLStrConsts"/>
<element name="Types"/>
<element name="LCLType"/>
<element name="LMessages"/>
<element name="Graphics"/>
<element name="Controls"/>
<element name="Forms"/>
<element name="LazFileUtils"/>
<element name="LazUTF8"/>
<element name="Dialogs"/>
<element name="StdCtrls"/>
<element name="Buttons"/>
<element name="Calendar"/>
<element name="ExtDlgs"/>
<element name="GroupedEdit"/>
<element name="CalendarPopup"/>
<element name="MaskEdit"/>
<element name="Menus"/>
<element name="StrUtils"/>
<element name="DateUtils"/>
<element name="TimePopup"/>
<element name="CalcForm"/>
<element name="ImgList"/>
<element name="Math"/>
<element name="NullDate">
<short>Represents a TDateTime type without date and time values.</short>
<descr>
<p>
<var>NullDate</var> is actually a writeable constant. This is used for
compatibility reasons. It is however a bad idea to change the value to
anything that is an actual date that is withing the range for the TDateEdit
control.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
</seealso>
<version>
The value was modified in LCL version 3.0.
</version>
</element>
<element name="NullTime">
<short>Represents a TDateTime type without a time value assigned.</short>
<descr/>
<seealso>
<link id="TTimeEdit.Time"/>
</seealso>
<version>
Added in LCL version 3.0.
</version>
</element>
<element name="TEbEdit">
<short>
Implements the embedded edit control used in TCustomEditButton.
</short>
<descr>
<p>
<var>TEbEdit</var> is a <var>TGEEdit</var> descendant which implements the
embedded edit control used in <var>TCustomEditButton</var>. TEbEdit provides
overridden methods to alter the behavior of the control when handling
<var>OnEnter</var> and <var>OnExit</var> notifications.
</p>
</descr>
<seealso>
<link id="#lcl.groupededit.TGEEdit">TGEEdit</link>
</seealso>
</element>
<element name="TEbEdit.DoEnter">
<short>Performs actions needed when the control is entered.</short>
<descr>
<p>
Ensures that the button visibility and spacing for the Owner control are
handled when the Owner is derived from TCustomEditButton. Calls the inherited
method prior to exit.
</p>
</descr>
<seealso>
<link id="#lcl.maskedit.TCustomMaskEdit.DoEnter">TCustomMaskEdit.DoEnter</link>
</seealso>
</element>
<element name="TEbEdit.DoExit">
<short>Performs actions needed when the control is exited.</short>
<descr>
<p>
Ensures that the button visibility and spacing for the Owner control are
handled when the Owner is derived from TCustomEditButton. Calls the inherited
method prior to exit.
</p>
</descr>
<seealso>
<link id="#lcl.maskedit.TCustomMaskEdit.DoExit">TCustomMaskEdit.DoExit</link>
</seealso>
</element>
<element name="TEditSpeedButton">
<short>Implements a speed button used in TCustomEditButton.</short>
<descr>
<p>
<var>TEditSpeedButton</var> is a <var>TSpeedButton</var> descendant which
provides support for change notifications for Glyphs used on the Button in
<var>TCustomEditButton</var>.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Button"/>
</seealso>
</element>
<element name="TEditSpeedButton.GlyphChanged">
<short>
Performs actions needed when the glyph has changed for the Button.
</short>
<descr>
<p>
Calls the corresponding method in the owner control when it is derived from
TCustomEditButton.
</p>
</descr>
<seealso>
<link id="#lcl.buttons.TCustomSpeedButton.GlyphChanged">TCustomSpeedButton.GlyphChanged</link>
<link id="TCustomEditButton.GlyphChanged">TCustomEditButton.GlyphChanged</link>
</seealso>
</element>
<element name="TEditSpeedButton.GlyphChanged.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TCustomEditButton">
<short>
<var>TCustomEditButton</var> - base class for <var>TEditButton</var>, an Edit
Box with attached Speed Button.
</short>
<descr>
<p>
<var>TCustomEditButton</var> is a <var>TCustomAbstractGroupedEdit</var>
descendant which implements a composite control with both an <var>Edit</var>
and a <var>Button</var>. It provides overridden methods which extend or
re-implement those found in the ancestor classMost of the properties in the
class are declared as protected, and must be exposed as public or published
properties in an ancestor class like <var>TEditButton</var>.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Edit"/>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.OnButtonClick"/>
<link id="TEditButton"/>
</seealso>
</element>
<element name="TCustomEditButton.FButtonOnlyWhenFocused"/>
<element name="TCustomEditButton.FFlat"/>
<element name="TCustomEditButton.GetFocusOnButtonClick">
<short>Gets the value for the FocusOnButtonClick property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.FocusOnButtonClick"/>
</seealso>
</element>
<element name="TCustomEditButton.GetFocusOnButtonClick.Result">
<short>Value for the FocusOnButtonClick property.</short>
</element>
<element name="TCustomEditButton.GetOnButtonClick">
<short>Gets the value for the OnButtonClick property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.OnButtonClick"/>
</seealso>
</element>
<element name="TCustomEditButton.GetOnButtonClick.Result">
<short>Value for the OnButtonClick property.</short>
</element>
<element name="TCustomEditButton.GetButton">
<short>Gets the value for the Button property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.Button"/>
</seealso>
</element>
<element name="TCustomEditButton.GetButton.Result">
<short>Value for the Button property.</short>
</element>
<element name="TCustomEditButton.GetGlyph">
<short>Gets the value for the Glyph property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.Glyph"/>
</seealso>
</element>
<element name="TCustomEditButton.GetGlyph.Result">
<short>Value for the Glyph property.</short>
</element>
<element name="TCustomEditButton.GetNumGlyphs">
<short>Gets the value for the NumGlyphs property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.NumGlyphs"/>
</seealso>
</element>
<element name="TCustomEditButton.GetNumGlyphs.Result">
<short>Value for the NumGlyphs property.</short>
</element>
<element name="TCustomEditButton.GetEdit">
<short>Gets the value for the Edit property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.Edit"/>
</seealso>
</element>
<element name="TCustomEditButton.GetEdit.Result">
<short>Value for the Edit property.</short>
</element>
<element name="TCustomEditButton.SetFocusOnButtonClick">
<short>Sets the value for the FocusOnButtonClick property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.FocusOnButtonClick"/>
</seealso>
</element>
<element name="TCustomEditButton.SetFocusOnButtonClick.AValue">
<short>New value for the FocusOnButtonClick property.</short>
</element>
<element name="TCustomEditButton.SetOnButtonClick">
<short>Sets the value for the OnButtonClick property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.OnButtonClick"/>
</seealso>
</element>
<element name="TCustomEditButton.SetOnButtonClick.AValue">
<short>New value for the OnButtonClick property.</short>
</element>
<element name="TCustomEditButton.SetButtonOnlyWhenFocused">
<short>Sets the value for the ButtonOnlyWhenFocused property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ButtonOnlyWhenFocused"/>
</seealso>
</element>
<element name="TCustomEditButton.SetButtonOnlyWhenFocused.AValue">
<short>New value for the ButtonOnlyWhenFocused property.</short>
</element>
<element name="TCustomEditButton.SetFlat">
<short>Sets the value for the Flat property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.Flat"/>
</seealso>
</element>
<element name="TCustomEditButton.SetFlat.AValue">
<short>New value for the Flat property.</short>
</element>
<element name="TCustomEditButton.SetGlyph">
<short>Sets the value for the Glyph property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.Glyph"/>
</seealso>
</element>
<element name="TCustomEditButton.SetGlyph.Pic">
<short>New value for the Glyph property.</short>
</element>
<element name="TCustomEditButton.SetNumGlyphs">
<short>Sets the value for the NumGlyphs property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.NumGlyphs"/>
</seealso>
</element>
<element name="TCustomEditButton.SetNumGlyphs.ANumber">
<short>New value for the NumGlyphs property.</short>
</element>
<element name="TCustomEditButton.GetImages">
<short>Gets the value for the Images property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.GetImages"/>
</seealso>
</element>
<element name="TCustomEditButton.GetImages.Result">
<short>Value for the Images property.</short>
</element>
<element name="TCustomEditButton.SetImages">
<short>Sets the value for the Images property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.Images"/>
</seealso>
</element>
<element name="TCustomEditButton.SetImages.aImages">
<short>New value for the Images property.</short>
</element>
<element name="TCustomEditButton.GetImageIndex">
<short>Gets the value for the ImageIndex property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ImageIndex"/>
</seealso>
</element>
<element name="TCustomEditButton.GetImageIndex.Result">
<short>Value for the ImageIndex property.</short>
</element>
<element name="TCustomEditButton.SetImageIndex">
<short>Sets the value for the ImageIndex property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ImageIndex"/>
</seealso>
</element>
<element name="TCustomEditButton.SetImageIndex.AImageIndex">
<short>New value for the ImageIndex property.</short>
</element>
<element name="TCustomEditButton.GetImageWidth">
<short>Gets the value for the ImageWidth property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ImageWidth"/>
</seealso>
</element>
<element name="TCustomEditButton.GetImageWidth.Result">
<short>Value for the ImageWidth property.</short>
</element>
<element name="TCustomEditButton.SetImageWidth">
<short>Sets the value for the ImageWidth property.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ImageWidth"/>
</seealso>
</element>
<element name="TCustomEditButton.SetImageWidth.aImageWidth">
<short>New value for the ImageWidth property.</short>
</element>
<element name="TCustomEditButton.ButtonClick">
<short>
Performs actions needed when the button for the control is clicked.
</short>
<descr>
<p>
The <var>ButtonClick</var> it a virtual method in
<var>TCustomEditButton</var>, and the implementation is empty; use a
descendent class which re-implements the method with the functionality needed
for the control.
</p>
</descr>
<seealso>
</seealso>
</element>
<element name="TCustomEditButton.BuddyClick">
<short>
Performs actions needed when the Button for the control is clicked.
</short>
<descr>
<p>
<var>BuddyClick</var> calls the inherited method on entry to signal the
OnBuddyClick event handler (when assigned), and to perform focus and
selection changes. It calls the ButtonClick method to forward the click event
to the Edit control.
</p>
<p>
BuddyClick is called from the private InternalOnBuddyClick method used as the
OnClick handler for the Button in the grouped edit control.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.ButtonClick"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.BuddyClick">TCustomAbstractGroupedEdit.BuddyClick</link>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.OnBuddyClick">TCustomAbstractGroupedEdit.OnBuddyClick</link>
</seealso>
</element>
<element name="TCustomEditButton.GetEditorClassType">
<short>
Gets the class type used to create a new edit control instance in the class.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.GetEditorClassType.Result">
<short>Class type for the edit control.</short>
</element>
<element name="TCustomEditButton.GetBuddyClassType">
<short>
Gets the class type used to create the associated button control for the
class.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.GetBuddyClassType.Result">
<short>Class type for the button control.</short>
</element>
<element name="TCustomEditButton.GetControlClassDefaultSize">
<short>Gets the default size used for new instances of the class.</short>
<descr>
<p>
The return value is a <var>TSize</var> type with the dimensions for the
control. The CX member contains the width needed for both the <var>Edit</var>
and the <var>Button</var> controls in the grouped edit control. The CY member
contains the height used for the Edit and the Button controls.
</p>
<p>
GetControlClassDefaultSize is called in the constructor for the class
instance, and used to set the initial bounds for the control.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Edit"/>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.Create"/>
<link id="#lcl.controls.TControl.SetInitialBounds">TControl.SetInitialBounds</link>
</seealso>
</element>
<element name="TCustomEditButton.GetControlClassDefaultSize.Result">
<short>TSize value with the dimensions for the new class instance.</short>
</element>
<element name="TCustomEditButton.CalcButtonVisible">
<short>
Determines whether the Button for the control should be visible.
</short>
<descr>
<p>
<var>CalcButtonVisible</var> is a <var>Boolean</var> function used to
determine whether the <var>Button</var> for the control should be visible.
The return value is <b>True</b> when the control is Visible and the Edit has
focus, or the control is not configured to display its button only when
focused.
</p>
<remark>
The return value is always <b>True</b> at design-time.
</remark>
<p>
CalcButtonVisible is used in the implementation of the
<var>CheckButtonVisible</var> method.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.ButtonOnlyWhenFocused"/>
<link id="TCustomEditButton.Edit"/>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>
<element name="TCustomEditButton.CalcButtonVisible.Result">
<short>
<b>True</b> if the control is visible and has focus, or is configured to
always shows its editor button.
</short>
</element>
<element name="TCustomEditButton.GetDefaultGlyphName">
<short>
Gets the name of the default glyph resource used for the Button on the
control.
</short>
<descr>
<p>
<var>GetDefaultGlyphName</var> is String function used to get the default
resource name with the glyph image for the Button on the control. It is used
in the LoadDefaultGlyph method to assign the LCLGlyphName for the
TButtonGlyph instance used in the control.
</p>
<p>
GetDefaultGlyphName is a virtual method in TCustomEditButton, and does not
provide an actual value (other than an empty string). It must be
re-implemented in a descendant class to return the name for its glyph
resource. Descendants include:
</p>
<ul>
<li>TCustomControlFilterEdit</li>
<li>TFileNameEdit</li>
<li>TDirectoryEdit</li>
<li>TDateEdit</li>
<li>TTimeEdit</li>
<li>TCalcEdit</li>
</ul>
</descr>
<seealso>
<link id="TCustomControlFilterEdit"/>
<link id="TFileNameEdit"/>
<link id="TDirectoryEdit"/>
<link id="TDateEdit"/>
<link id="TTimeEdit"/>
<link id="TCalcEdit"/>
<link id="#lcl.buttons.TButtonGlyph.LCLGlyphName">TButtonGlyph.LCLGlyphName</link>
</seealso>
</element>
<element name="TCustomEditButton.GetDefaultGlyphName.Result">
<short>
Default resource name for the glyph image on the Button in the control.
</short>
</element>
<element name="TCustomEditButton.CalculatePreferredSize" link="#lcl.groupededit.TCustomAbstractGroupedEdit.CalculatePreferredSize"/>
<element name="TCustomEditButton.CalculatePreferredSize.PreferredWidth"/>
<element name="TCustomEditButton.CalculatePreferredSize.PreferredHeight"/>
<element name="TCustomEditButton.CalculatePreferredSize.WithThemeSpace"/>
<element name="TCustomEditButton.CheckButtonVisible">
<short>
Ensures the Button for the control is configured and its visibility is set.
</short>
<descr>
<p>
<var>CheckButtonVisible</var> is a procedure which ensures that the
<var>Button</var> in the control is configured and its visibility is set. If
Button has not been assigned (contains Nil), no actions are performed in the
method.
</p>
<p>
Otherwise, the <var>Visible</var> property in <var>Button</var> is set to the
value returned by <var>CalcButtonVisible</var>. <var>UpdateSpacing</var> is
called to adjust the space between <var>Edit</var> and <var>Button</var> as
needed for its visibility and <var>Layout</var>.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.Edit"/>
<link id="TCustomEditButton.CalcButtonVisible"/>
<link id="TCustomAbstractGroupedEdit.UpdateSpacing"/>
</seealso>
</element>
<element name="TCustomEditButton.LoadDefaultGlyph">
<short>
Loads the default glyph displayed on the Button for the control.
</short>
<descr>
<p>
<var>LoadDefaultGlyph</var> calls GetDefaultGlyphName to get the name for the
default glyph resource defined for the class instance. In TCustomEditButton,
this is an empty string (''). In a descendent class, another value may be
provided. If a glyph name is found, it is assigned to the ButtonGlyph in the
Button for the control.
</p>
<p>
LoadDefaultGlyph is called when Nil assigned to the Glyph property in the
control.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.GlyphChanged">
<short>
Performs action needed when the glyph assigned in Button has been changed.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.GlyphChanged.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TCustomEditButton.Button">
<short>
TSpeedButton instance used on the edit control.
</short>
<descr>
<p>
<var>Button</var> is a read-only <var>TSpeedButton</var> property with the
Button displayed on edit control.
</p>
<p>
Use ButtonWidth, ButtonCaption, ButtonCursor, and ButtonHint to set the
display attributes for the Button in the grouped edit control.
</p>
<p>
At run-time, Button is cast to the TEditSpeedButton type to access the
default glyph name for the control. Use Glyph to assign a bitmap used as the
glyph for the speed button. As an alternative, the Images property can be
used along with ImageIndex and ImageWidth to define an image displayed on the
Button.
</p>
<p>
Use the OnButtonClick event handler to implement the actions performed when
the Button is clicked.
</p>
<p>
Use FocusOnButtonClick to define whether the Edit control receives focus when
the Button is clicked.
</p>
</descr>
<seealso/>
</element>
<element name="TCustomEditButton.ButtonCaption">
<short>Contains the caption used for the Button on the edit control.</short>
<descr>
<p>
The property is read from and written to the Caption property for the
associated Button control.
</p>
</descr>
<seealso>
<link id="#lcl.buttons.TSpeedButton.Caption">TSpeedButton.Caption</link>
</seealso>
</element>
<element name="TCustomEditButton.ButtonCursor">
<short>
Cursor shape displayed when the mouse hovers over the Button in the control.
</short>
<descr>
<p>
<var>ButtonCursor</var> is a <var>TCursor</var> property with the cursor
shape displayed when the mouse pointer is hovered over the Button for the
edit control. The property value is read from and written to the Cursor
property in the associated Button control.
</p>
<p>
The default value for the property is crDefault.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.ButtonHint">
<short>
Text displayed in the pop-up hint window when the mouse hovers over the
button.
</short>
<descr>
<p>
The property value is read from and written to the Hint property in the
associated Button for the edit control.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.ButtonOnlyWhenFocused">
<short>
<var>ButtonOnlyWhenFocused</var> - if <b>True</b>, the SpeedButton only
appears when focus is given to the EditButton control.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomEditButton.ButtonWidth">
<short>
Width for the TSpeedButton on the edit control.
</short>
<descr>
<p>
The property value is read from and written to the Width property in the
associated Button on the edit control.
</p>
</descr>
<seealso/>
</element>
<element name="TCustomEditButton.Edit">
<short>
Edit is the TEbEdit control used to perform direct input for the value in the
grouped edit control.
</short>
<descr></descr>
<seealso>
<link id="TEbEdit"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.BaseEditor">TCustomAbstractGroupedEdit.BaseEditor</link>
</seealso>
</element>
<element name="TCustomEditButton.Flat">
<short>
When <b>True</b>, the SpeedButton has a flat appearance rather than a
three-dimensional one.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomEditButton.FocusOnButtonClick">
<short>
Indicates if the focus is changed to the Edit control after the Button is
clicked.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.Glyph">
<short>
<var>Glyph</var> - the small graphic image on the SpeedButton, which ought to
indicate its function.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomEditButton.NumGlyphs">
<short>
<var>NumGlyphs</var> - the number of available glyphs.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomEditButton.Images">
<short>
Contains the Images that can be displayed on the Button for the grouped edit
control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.ImageIndex">
<short>
Ordinal position in Images for the bitmap displayed on the Button control.
</short>
<descr>
<p>
Read and write access for the property are redirected to the
<var>ImageIndex</var> property in <var>Button</var>.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Button"/>
</seealso>
</element>
<element name="TCustomEditButton.ImageWidth">
<short>
Specifies the width of the image displayed on the Button control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomEditButton.Spacing">
<short>
Specifies the number of pixels reserved between the Edit and Button controls
when Button is visible.
</short>
<descr>
<p>
The default value for the property is 4 in TCustomEditButton.
</p>
</descr>
<seealso/>
</element>
<element name="TCustomEditButton.OnButtonClick">
<short>
<var>OnButtonClick</var> - event handler for a mouse click on the SpeedButton.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomEditButton.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for <var>TCustomEditButton</var>. It
calls the inherited <var>Create</var> method then sets default values and
initializes variables.
</p>
<p>
Initializes height and width, cursor, glyph, style, checks visibility, event
handler for click.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.Create">TComponent.Create</link>
<link id="#lcl.stdctrls.TCustomEdit.Create">TCustomEdit.Create</link>
<link id="#lcl.controls.TWinControl.Create">TWinControl.Create</link>
</seealso>
</element>
<element name="TCustomEditButton.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TEditButton">
<short>
Implements a grouped edit control with both an Edit and a Button.
</short>
<descr>
<p>
<var>TEditButton</var> implements a grouped edit control with both an
<var>Edit</var> and a <var>Button</var>. TEditButton is derived from the
<var>TCustomEditButton</var> class, and sets the visibility for properties
declared in the ancestor classes.
</p>
</descr>
<seealso>
<link id="TCustomEditButton"/>
<link id="TCustomEditButton.Edit"/>
<link id="TCustomEditButton.Button"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit">TCustomAbstractGroupedEdit</link>
</seealso>
</element>
<element name="TEditButton.AutoSelected" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelected"/>
<element name="TEditButton.Button" link="#lcl.editbtn.TCustomEditButton.Button"/>
<element name="TEditButton.Edit" link="#lcl.editbtn.TCustomEditButton.Edit"/>
<element name="TEditButton.NumbersOnly" link="#lcl.groupededit.TCustomAbstractGroupedEdit.NumbersOnly"/>
<element name="TEditButton.Action" link="#lcl.controls.TControl.Action"/>
<element name="TEditButton.AutoSelect" link="#lcl.stdctrls.TCustomEdit.AutoSelect"/>
<element name="TEditButton.AutoSize">
<short>
Enables automatic adjustment of the size for the control, according to its
content.
</short>
<descr>
<p>
AutoSize is a Boolean property which allows the control to automatically
adjustment its size to the content in the control. The default value for the
property is <b>True</b> in TEditButton.
</p>
</descr>
<seealso>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSize">TCustomAbstractGroupedEdit.AutoSize</link>
</seealso>
</element>
<element name="TEditButton.Align" link="#lcl.controls.TControl.Align"/>
<element name="TEditButton.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TEditButton.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TEditButton.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TEditButton.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TEditButton.BorderStyle">
<short>Style for the Border drawn around the control.</short>
<descr>
<p>
The default value for the property is <var>bsNone</var> in
<var>TEditButton</var>.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.BorderStyle">TWinControl.BorderStyle</link>
</seealso>
</element>
<element name="TEditButton.ButtonCaption" link="#lcl.editbtn.TCustomEditButton.ButtonCaption"/>
<element name="TEditButton.ButtonCursor" link="#lcl.editbtn.TCustomEditButton.ButtonCursor"/>
<element name="TEditButton.ButtonHint" link="#lcl.editbtn.TCustomEditButton.ButtonHint"/>
<element name="TEditButton.ButtonOnlyWhenFocused" link="#lcl.editbtn.TCustomEditButton.ButtonOnlyWhenFocused"/>
<element name="TEditButton.ButtonWidth" link="#lcl.editbtn.TCustomEditButton.ButtonWidth"/>
<element name="TEditButton.CharCase" link="#lcl.groupededit.TCustomAbstractGroupedEdit.CharCase"/>
<element name="TEditButton.Color" link="#lcl.controls.TControl.Color"/>
<element name="TEditButton.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TEditButton.Cursor" link="#lcl.controls.TControl.Cursor"/>
<element name="TEditButton.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TEditButton.EchoMode" link="#lcl.stdctrls.TCustomEdit.EchoMode"/>
<element name="TEditButton.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TEditButton.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TEditButton.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TEditButton.Font" link="#lcl.controls.TControl.Font"/>
<element name="TEditButton.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TEditButton.Hint" link="#lcl.controls.TControl.Hint"/>
<element name="TEditButton.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TEditButton.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TEditButton.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TEditButton.Layout" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Layout"/>
<element name="TEditButton.MaxLength" link="#lcl.stdctrls.TCustomEdit.MaxLength"/>
<element name="TEditButton.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TEditButton.ParentBidiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TEditButton.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TEditButton.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TEditButton.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TEditButton.PasswordChar" link="#lcl.stdctrls.TCustomEdit.PasswordChar"/>
<element name="TEditButton.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element name="TEditButton.ReadOnly" link="#lcl.stdctrls.TCustomEdit.ReadOnly"/>
<element name="TEditButton.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TEditButton.Spacing" link="#lcl.editbtn.TCustomEditButton.Spacing"/>
<element name="TEditButton.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TEditButton.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TEditButton.Text" link="#lcl.stdctrls.TCustomEdit.Text"/>
<element name="TEditButton.TextHint" link="#lcl.stdctrls.TCustomEdit.TextHint"/>
<element name="TEditButton.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TEditButton.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TEditButton.OnChange" link="#lcl.stdctrls.TCustomEdit.OnChange"/>
<element name="TEditButton.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TEditButton.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TEditButton.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
<element name="TEditButton.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
<element name="TEditButton.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TEditButton.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TEditButton.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
<element name="TEditButton.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TEditButton.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TEditButton.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TEditButton.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TEditButton.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TEditButton.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TEditButton.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TEditButton.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TEditButton.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TEditButton.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TEditButton.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TEditButton.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TEditButton.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TEditButton.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
<element name="TEditButton.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TFilterStringOption">
<short>String filter options which can be enabled in controls.</short>
<descr>
<p>
<var>TFilterStringOption</var> is an enumerated type with values representing
string filter options which can be enabled in controls which support the
feature. TFilterStringOption values are stored in the
<var>TFilterStringOptions</var> set type used to implement the
<var>FilterOptions</var> property in <var>TCustomControlFilterEdit</var>.
</p>
</descr>
<seealso>
<link id="TFilterStringOptions"/>
<link id="TCustomControlFilterEdit.FilterOptions"/>
</seealso>
</element>
<element name="TFilterStringOption.fsoCaseSensitive">
<short>Value comparisons are case sensitive.</short>
</element>
<element name="TFilterStringOption.fsoMatchOnlyAtStart">
<short>Value comparisons start at the beginning to the string value.</short>
</element>
<element name="TFilterStringOptions">
<short>
Set type used to store values from the TFilterStringOption enumeration.
</short>
<descr></descr>
<seealso>
<link id="TFilterStringOption"/>
<link id="TCustomControlFilterEdit.FilterOptions"/>
</seealso>
</element>
<element name="TFilterItemEvent">
<short>
Specifies an event handler used to filter data items in
TCustomControlFilterEdit.
</short>
<descr>
<p>
<var>TFilterItemEvent</var> is a <var>Boolean</var> object function type that
specifies an event handler used to filter data items in
<var>TCustomControlFilterEdit</var>. The return value is <b>True</b> if an
item matches a filter condition implemented in the event handler.
<var>Done</var> can be updated to indicate if the item requires additional
filtering on the title string in the data item; when it contains <b>True</b>,
no additional filtering is needed.
</p>
<p>
<var>TFilterItemEvent</var> is the type used for the <var>OnFilterItem</var>
event handler in <var>TCustomControlFilterEdit</var>.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.OnFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItemEx"/>
<link id="TFilterItemExEvent"/>
</seealso>
</element>
<element name="TFilterItemEvent.Result">
<short>
<b>True</b> if the item matches the filter implemented in the event handler.
</short>
</element>
<element name="TFilterItemEvent.ItemData">
<short>Pointer to the data for the item examined in the event handler.</short>
</element>
<element name="TFilterItemEvent.Done">
<short>
Indicates if additional filtering is needed on the title of the item data.
</short>
</element>
<element name="TFilterItemExEvent">
<short>
Specifies an event handler used to filter data items in
TCustomControlFilterEdit.
</short>
<descr>
<p>
<var>TFilterItemExEvent</var> is a <var>Boolean</var> object function type
that specifies an event handler used to filter data items in
<var>TCustomControlFilterEdit</var>. It is similar to
<var>TFilterItemEvent</var>, but provides an additional argument with the
caption for the data item.
</p>
<p>
The return value is <b>True</b> if an item matches a filter condition
implemented in the event handler. <var>Done</var> can be updated to indicate
if the item requires additional filtering on the title string in the data
item; when it contains <b>True</b>, no additional filtering is needed.
</p>
<p>
<var>TFilterItemEventEx</var> is the type used for the
<var>OnFilterItemEx</var> event handler in
<var>TCustomControlFilterEdit</var>.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.OnFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItemEx"/>
<link id="TFilterItemExEvent"/>
</seealso>
</element>
<element name="TFilterItemExEvent.Result">
<short>
<b>True</b> if the item matches the filter implemented in the event handler.
</short>
</element>
<element name="TFilterItemExEvent.ACaption">
<short>
Caption or display name for the item examined in the event handler.
</short>
</element>
<element name="TFilterItemExEvent.ItemData">
<short>Pointer to the data for the item examined in the event handler.</short>
</element>
<element name="TFilterItemExEvent.Done">
<short>
Indicates if additional filtering is needed for the caption or item data.
</short>
</element>
<element name="TCheckItemEvent">
<short>
Specifies an event handler is to determine if the specified Item is checked.
</short>
<descr>
<p>
<var>TCheckItemEvent</var> specifies an event handler that can be used only
for items that have a checkbox. Returns <b>True</b> when the item is checked.
It will be necessary to cast the object instance in Item to the correct data
type in the event handler to access properties introduced in a
<var>TObject</var> descendant.
</p>
<p>
TCheckItemEvent is the type used to implement the <var>OnCheckItem</var>
event handler in <var>TCustomControlFilterEdit</var>.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.OnCheckItem"/>
</seealso>
</element>
<element name="TCheckItemEvent.Result">
<short><b>True</b> when the item is checked.</short>
</element>
<element name="TCheckItemEvent.Item">
<short>Object examined in the method.</short>
</element>
<element name="TCustomControlFilterEdit">
<short>
Base class for edit controls which filter data in an associated control like
TListbox or TTreeview.
</short>
<descr>
<p>
When the container control is connected to a filter control, the filtering
happens automatically as a user enters text. When the filter is empty and
does not have focus, it displays the grayed value "(filter)".
</p>
</descr>
</element>
<!-- private -->
<element name="TCustomControlFilterEdit.fFilter"/>
<element name="TCustomControlFilterEdit.fFilterLowercase"/>
<element name="TCustomControlFilterEdit.fFilterOptions"/>
<element name="TCustomControlFilterEdit.fIdleConnected"/>
<element name="TCustomControlFilterEdit.fSortData"/>
<element name="TCustomControlFilterEdit.fIsFirstSetFormActivate"/>
<element name="TCustomControlFilterEdit.fOnAfterFilter"/>
<element name="TCustomControlFilterEdit.ApplyFilter">
<short>Filters the data and updates the container.</short>
<descr>
<p>
Does its job at once when Immediately is set to <b>True</b>. Otherwise, it
connects the asynchronous event handler routine which applies the filter
asynchronously in the Application.
</p>
</descr>
</element>
<element name="TCustomControlFilterEdit.ApplyFilter.Immediately">
<short>Indicates the filter is applied immediately.</short>
</element>
<element name="TCustomControlFilterEdit.GetFilter">
<short>
Gets the value for the Filter property.
</short>
<descr/>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.GetFilter.Result">
<short>
Value for the Filter property.
</short>
</element>
<element name="TCustomControlFilterEdit.SetFilter">
<short>
Sets the value for the Filter property.
</short>
<descr/>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.SetFilter.AValue">
<short>New value for the Filter property.</short>
</element>
<element name="TCustomControlFilterEdit.SetFilterOptions"/>
<element name="TCustomControlFilterEdit.SetFilterOptions.AValue"/>
<element name="TCustomControlFilterEdit.SetSortData"/>
<element name="TCustomControlFilterEdit.SetSortData.AValue"/>
<element name="TCustomControlFilterEdit.SetIdleConnected">
<short>Sets the value for the IdleConnected property.</short>
<descr/>
<seealso>
<link id="TCustomControlFilterEdit.IdleConnected"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.SetIdleConnected.AValue">
<short>New value for the property.</short>
</element>
<!-- private -->
<element name="TCustomControlFilterEdit.OnAsync">
<short>
Performs actions to asynchronously apply the Filter to the Items for the
control.
</short>
<descr>
<p>
<var>OnAsync</var> is a method used apply the value in the Filter property to
the sorted Items for the control. It implements the TDataEvent routine passed
as an argument to the Application.QueueAsyncCall method.
</p>
<p>
OnAsync ensures that the internal flag for pending filter updates is handled
by calling the private ApplyFilter method to immediately apply the pending
updates. Use the OnFilterItemEx or OnFilterItem (deprecated) event handlers to
perform actions needed to implement the filter.
</p>
<p>
OnAsync is executed (via Application.QueueAsyncCall) when the value in
IdleConnected is changed to <b>True</b>. This occurs when InvalidateFilter or
ForceFilter are called.
</p>
<p>
The value in IdleConnected is reset to <b>False</b> when the filter has been
applied to the items in the control. OnAsync signals the OnAfterFilter event
handler (when assigned).
</p>
</descr>
<version>
Introduced in LCL version 3.0 as a replacement for the OnIdle event handler
routine.
</version>
<seealso>
<link id="TCustomControlFilterEdit.OnFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItemEx"/>
<link id="TCustomControlFilterEdit.IdleConnected"/>
<link id="TCustomControlFilterEdit.OnAfterFilter"/>
<link id="TCustomControlFilterEdit.InvalidateFilter"/>
<link id="TCustomControlFilterEdit.ForceFilter"/>
<link id="#lcl.forms.TApplication.QueueAsyncCall">TApplication.QueueAsyncCall</link>
</seealso>
</element>
<element name="TCustomControlFilterEdit.OnAsync.Data">
<short>
Pointer to an Integer with the data for the asynchronous method. Always
contains 0 in OnAsync.
</short>
</element>
<element name="TCustomControlFilterEdit.IsTextHintStored">
<short>
Indicates if the value in TextHint is stored in the LCL component streaming
mechanism.
</short>
<descr>
<p>
The value is <b>True</b> when <var>TextHint</var> contains a value other than
the default value in the <var>rsFilter</var> resource string.
</p>
</descr>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.IsTextHintStored.Result">
<short>
<b>True</b> when TextHint is included in the LCL component stream.
</short>
</element>
<element name="TCustomControlFilterEdit.fNeedUpdate">
<short>
Flag which indicates that the filter has been updated and needs to be applied.
</short>
</element>
<element name="TCustomControlFilterEdit.fIsFirstUpdate">
<short>
Flag indicating if the filter has ever been applied.
</short>
</element>
<element name="TCustomControlFilterEdit.fSelectedPart">
<short>Node to select during the next update.</short>
</element>
<element name="TCustomControlFilterEdit.fOnFilterItem">
<short>Stores the event handler in the OnFilterItem property.</short>
</element>
<element name="TCustomControlFilterEdit.fOnFilterItemEx">
<short>Stores the event handler in the OnFilterItemEx property.</short>
</element>
<element name="TCustomControlFilterEdit.fOnCheckItem">
<short>Stores the event handler in the OnCheckItem property.</short>
</element>
<element name="TCustomControlFilterEdit.DestroyWnd">
<short>
Ensures that the Canvas for the control is freed before the window handle is
destroyed.
</short>
<descr>
Calls the inherited DestroyWnd method.
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.DestroyWnd">TWinControl.DestroyWnd</link>
</seealso>
</element>
<element name="TCustomControlFilterEdit.InternalSetFilter">
<short>
Performs actions needed when a new value is assigned to the Filter property.
</short>
<descr>
<p>
<var>InternalSetFilter</var> is called from the write access specifier for the
<var>Filter</var> property. It performs actions needed when the value in
Filter has been changed (and applied to Text), and the control needs to be
updated to reflect the modified value.
</p>
<ul>
<li>
Sets the enabled state for the Button on the control; it is enabled when the
AValue argument contains a non-empty value.
</li>
<li>
Sets the values in members for the Filter and FilterLowercase properties.
</li>
<li>
Calls Invalidatefilter to update internal members which cause the control to
refresh the list of filtered items when an idle state occurs.
</li>
</ul>
</descr>
<version>
Added in LCL version 3.0.
</version>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomEditButton.Button"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.InternalSetFilter.AValue">
<short>
New filter value applied in the method.
</short>
</element>
<element name="TCustomControlFilterEdit.DoDefaultFilterItem">
<short>
Provides a default routine used to examine an item in the filtered edit
control.
</short>
<descr>
<p>
Signals the OnFilterItemEx (preferred) or OnFilterItem (deprecated) event
handlers (when assigned) to determine if the item meets the Filter condition.
Values in <var>ACaption</var> and <var>ItemData</var> are passed as arguments
to the event handlers.
</p>
<p>
The return value is <b>True</b> when the item matches the Filter value. The
DoDefaultFilterItem method is called when the return value from the event
handlers is <b>False</b>, or the event handlers are not assigned in the class
instance.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.DoFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItemEx"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.DoDefaultFilterItem.Result">
<short><b>True</b> when the item meets the filter condition.</short>
</element>
<element name="TCustomControlFilterEdit.DoDefaultFilterItem.ACaption">
<short>Caption for the item passed to DoDefaultFilterItem.</short>
</element>
<element name="TCustomControlFilterEdit.DoDefaultFilterItem.ItemData">
<short>Pointer to the data for the item examined in the method.</short>
</element>
<element name="TCustomControlFilterEdit.DoFilterItem">
<short>Filters items using the handlers for the control.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.DoFilterItem.Result">
<short>Returns <b>True</b> when the item meets the filter criterion.</short>
</element>
<element name="TCustomControlFilterEdit.DoFilterItem.ACaption">
<short>Caption for the item.</short>
</element>
<element name="TCustomControlFilterEdit.DoFilterItem.ItemData">
<short>Pointer to the data for the item.</short>
</element>
<element name="TCustomControlFilterEdit.EditKeyDown">
<short>
Handles a KeyDown event for the Edit control.
</short>
<descr>
<p>
<var>EditKeyDown</var> is an overridden method in
<var>TCustomControlFilterEdit</var>. It implements the OnKeyDown event handler
for the Edit in the grouped edit control. It calls the inherited EditKeyDown
method on entry to signal an assigned OnEditKeyDown handler using the values in
Key and Shift. No additional actions are performed if Key is set to 0 in the
inherited method.
</p>
<p>
EditKeyDown extends the inherited method to handle additional key down events,
including:
</p>
<ul>
<li>Return</li>
<li>Up, Shift+Up</li>
<li>Down, Shift+Down</li>
<li>PageUp, Shift+PageUp</li>
<li>PageDn, Shift+PageDn</li>
<li>Home, Shift+Home, Ctrl+Home</li>
<li>End, Shift+End, Ctrl+End</li>
</ul>
<p>
The methods called to respond to the key down event are declared as abstract
virtual methods in TCustomControlFilterEdit; they are implemented in
descendent classes to call methods in the associated control for the filter
edit control.
</p>
<p>
If the value in Key is handled in the method, Key is set to VK_UNKNOWN (0).
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.ReturnKeyHandled"/>
<link id="TCustomControlFilterEdit.MovePrev"/>
<link id="TCustomControlFilterEdit.MoveNext"/>
<link id="TCustomControlFilterEdit.MovePageUp"/>
<link id="TCustomControlFilterEdit.MovePageDown"/>
<link id="TCustomControlFilterEdit.MoveHome"/>
<link id="TCustomControlFilterEdit.MoveEnd"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.EditKeyDown">TCustomAbstractGroupedEdit.EditKeyDown</link>
</seealso>
</element>
<element name="TCustomControlFilterEdit.EditKeyDown.Key">
<short>
Virtual key code for the key down event.
</short>
</element>
<element name="TCustomControlFilterEdit.EditKeyDown.Shift">
<short>
Shift, Alt, or Ctrl modifier for the key down event.
</short>
</element>
<element name="TCustomControlFilterEdit.EditChange">
<short>
Performs actions needed when the Edit for the control is changed.
</short>
<descr>
<p>
<var>EditChange</var> is an overridden method in
<var>TCustomControlFilterEdit</var> used to apply the Filter for the control
when its value has been changed in the edit control. EditChange calls the
InternalSetFilter method to apply the Filter value and update the enabled
state for the Button on the control.
</p>
</descr>
<version>
Modified in LCL version 3.0 to call InternalSetFilter.
</version>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.Text"/>
<link id="TCustomControlFilterEdit.InternalSetFilter"/>
<link id="TCustomControlFilterEdit.InvalidateFilter"/>
<link id="TCustomEditButton.Button"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.BuddyClick">
<short>Performs actions when the Button for the control is clicked.</short>
<descr>
<p>
<var>BuddyClick</var> is an overridden method used to perform actions needed
when the Button for the control is clicked. It clears values in the
<var>Text</var> and <var>Filter</var> properties, and gives focus to the
<var>Edit</var> when <var>FocusOnButtonClick</var> is set to <b>True</b>. It
calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
``<link id="TCustomControlFilterEdit.FocusOnButtonClick"/>
<link id="TCustomEditButton.Edit"/>
<link id="#lcl.controls.TControl.Text">TControl.Text</link>
</seealso>
</element>
<element name="TCustomControlFilterEdit.SortAndFilter">
<short>
Sorts the data in the associated control and applies the filter.
</short>
<descr>
<p>
<var>SortAndFilter</var> is an abstract virtual method in
<var>TCustomControlFilterEdit</var>. It must be implemented in a descendent
class to provide the specific functionality needed.
</p>
</descr>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.ApplyFilterCore">
<short>
Applies the Filter data to the container component.
</short>
<descr>
<p>
Method that actually filters data in the container component. ApplyFilterCore
is a virtual abstract method, and must be implemented in a derived classes.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MoveNext">
<short>Moves to the next value matching the filter for the control.</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MoveNext.ASelect">
<short>
<b>True</b> if the value should be selected following the move operation.
</short>
</element>
<element name="TCustomControlFilterEdit.MovePrev">
<short>
Moves to the previous value matching the filter for the control.
</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MovePrev.ASelect">
<short>
<b>True</b> if the value should be selected following the move operation.
</short>
</element>
<element name="TCustomControlFilterEdit.MovePageUp">
<short>Moves one page of previous values matching the filter.</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MovePageUp.ASelect">
<short>
<b>True</b> if the value should be selected following the move operation.
</short>
</element>
<element name="TCustomControlFilterEdit.MovePageDown">
<short>Moves one page of subsequent values matching the filter.</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MovePageDown.ASelect">
<short>
<b>True</b> if the value should be selected following the move operation.
</short>
</element>
<element name="TCustomControlFilterEdit.MoveHome">
<short>Moves to the first value matching the filter.</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MoveHome.ASelect">
<short>
<b>True</b> if the value should be selected following the move operation.
</short>
</element>
<element name="TCustomControlFilterEdit.MoveEnd">
<short>Moves to the last value matching the filter.</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.MoveEnd.ASelect">
<short>
<b>True</b> if the value should be selected following the move operation.
</short>
</element>
<element name="TCustomControlFilterEdit.ReturnKeyHandled">
<short>
Indicates whether an assigned OnKeyPress event handler handles the Return or
Enter key in the KeyDown method for the Edit.
</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.ReturnKeyHandled.Result">
<short>
<b>True</b> if OnKeyPress is assigned and handles the VK_RETURN key code.
</short>
</element>
<element name="TCustomControlFilterEdit.GetDefaultGlyphName" link="#lcl.editbtn.TCustomEditButton.GetDefaultGlyphName"/>
<element name="TCustomControlFilterEdit.GetDefaultGlyphName.Result"/>
<element name="TCustomControlFilterEdit.WSRegisterClass">
<short>
Registers the class reference used to create new instances of the class.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance, and calls the
inherited constructor. Create sets the default values for properties used to
configure the <var>Edit</var> and <var>Button</var> in the class instance as
well as its internal flags, including:
</p>
<dl>
<dt>CharCase</dt>
<dd>Set to ecLowerCase</dd>
<dt>Button.Enabled</dt>
<dd>Set to <b>False</b></dd>
<dt>FilterOptions</dt>
<dd>Set to an empty set</dd>
<dt>FIsFirstUpdate, fIsFirstSetFormActivate</dt>
<dd>Set to <b>True</b></dd>
<dt>TextHint</dt>
<dd>Set to rsFilter</dd>
</dl>
</descr>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.Create.AOwner">
<short>Owner for the class instance.</short>
</element>
<element name="TCustomControlFilterEdit.Destroy">
<short>Destructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.InvalidateFilter">
<short>
Sets flags and property to indicate that the filter must be reapplied for the
control.
</short>
<descr>
<p>
<var>InvalidateFilter</var> is a method used to indicate that updates to the
Filter value are pending for the control. It sets the internal flag used to
track pending filter updates, and sets the IdelConnected property to
<b>True</b> to enable the asynchronous event handler routine for the control.
</p>
<p>
InvalidateFilter is called from the private ApplyFilter method when the Filter
value is not immediately applied. InvalidateFilter is also called when a new
value is applied to the Filter or SortData properties, or when the
FilterOptions are modified for the control.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.IdleConnected"/>
<link id="TCustomControlFilterEdit.SortData"/>
<link id="TCustomControlFilterEdit.FilterOptions"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.ResetFilter">
<short>
Clears the Filter text to show all items in the control.
</short>
<descr>
<p>
<var>ResetFilter</var> clears the existing value in the Filter property by
setting it to an empty string (''). This results in the Text for control being
set to the same value, and the InvalidateFilter is called when the filter is
internally applied to the control.
</p>
<p>
ResetFilter is called from the BuddyClick method - the OnClick handler routine
executed when the associated Button for the control is clicked.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.Text"/>
<link id="TCustomControlFilterEdit.BuddyClick"/>
<link id="TCustomControlFilterEdit.InternalSetFilter"/>
<link id="TCustomEditButton.Button"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.ForceFilter">
<short>
Applies a new Filter immediately without waiting for an idle state.
</short>
<descr>
<p>
Calls the private ApplyFilter method to immediately apply the value in Filter
using the ApplyFilterCore method in the implementation.
</p>
</descr>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.ForceFilter.Result">
<short>
Returns the previous Filter value.
</short>
</element>
<element name="TCustomControlFilterEdit.StoreSelection">
<short>
Stores the current selection for the associated control in the class instance.
</short>
<descr>
<p>
<var>StoreSelection</var> is an abstract virtual method, and must be
implemented in a derived class to use the correct class type for items in the
associated control.
</p>
<p>
Used in the implementation of the <var>ApplyFilter</var> method.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.RestoreSelection"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.RestoreSelection">
<short>
Restores the selection in the associated control after the filter is applied.
</short>
<descr>
<p>
Abstract virtual method that must be implemented in a descendent class.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TCustomControlFilterEdit.Filter">
<short>
Contains the textual used to select the visible items in the associated
control.
</short>
<descr>
<p>
<var>Filter</var> is a <var>String</var> property which contains the value
used to filter the items in an associated control. Filter is used when the
SortAndFilter and ApplyFilterCore methods (in descendent classes) are called
to apply the filter value to the items in an associated control.
</p>
<p>
Changing the value for the property causes the value in the Text property
control to be updated. The InternalSetFilter method is called to perform
actions needed for the new property value. The new filter will be applied to
the associated Control when the OnChange handler for the Edit control is
called.
</p>
<p>
Use FilterLowercase to access the Filter value converted to lowercase UTF-8
characters.
</p>
<p>
Use FilterOptions to indicate whether case sensitivity is enabled for the
filter value; FilterLowercase is used when fsoCaseSensitive has <b>not</b>
been included in the set of options.
</p>
<p>
Use ResetFilter to clear the filter value (and the Text property) for the
control. Use ForceFilter to immediately apply a specified Filter value to the
items in the associated Control.
</p>
</descr>
<version>
Modified in LCL version 3.0 to call InternalSetFilter when a new value is
assigned to the property.
</version>
<seealso>
<link id="TCustomControlFilterEdit.Text"/>
<link id="TCustomControlFilterEdit.FilterLowercase"/>
<link id="TCustomControlFilterEdit.InternalSetFilter"/>
<link id="TCustomControlFilterEdit.FilterOptions"/>
<link id="TCustomControlFilterEdit.ForceFilter"/>
<link id="TCustomControlFilterEdit.DoDefaultFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItemEx"/>
<link id="TCustomControlFilterEdit.EditChange"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.FilterLowercase">
<short>
The textual representation for the Filter using lowercase characters.
</short>
<descr>
<p>
<var>FilterLowercase</var> is a read-only <var>String</var> property which
contains the value in <var>Filter</var> converted to lowercase characters. It
is used in the implementation of the <var>DoDefaultFilterItem</var> method
when case sensitivity has not been enabled in the <var>FilterOptions</var>
property (<var>fsoCaseSensitive</var> is not included). The property can be
used in a similar manner in routines assigned to the <var>OnFilterItem</var>
and <var>OnFilterItemEx</var> event handlers.
</p>
<p>
The value for FilterLowercase is derived and assigned in InternalSetFilter,
and used when the value for the edit control has been changed.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.DoDefaultFilterItem"/>
<link id="TCustomControlFilterEdit.FilterOptions"/>
<link id="TCustomControlFilterEdit.OnFilterItem"/>
<link id="TCustomControlFilterEdit.OnFilterItemEx"/>
<link id="TCustomControlFilterEdit.InternalSetFilter"/>
<link id="TCustomControlFilterEdit.EditChange"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.IdleConnected">
<short>
Indicates if the asynchronous event handler routine is enabled for the
Application.
</short>
<descr>
<p>
<var>IdleConnected</var> is a <var>Boolean</var> property which indicates if
the asynchronous event handler routine is enabled for the
<var>Application</var> singleton. When set to <b>True</b>, the
<var>Filter</var> in the control will be applied when the application is in
an idle state.
</p>
<p>
Changing the value for the property causes the handler routine to be queued or
dequeued as an asynchronous method call for the Application. When set to
<b>True</b>, the TApplication.QueueAsyncCall method is called to enqueue the
asynchronous event handler routine. Otherwise, the Application.RemoveAsyncCalls is called to remove any pending asynchronous methods.
</p>
<p>
IdleConnected is set to <b>True</b> in the <var>InvalidateFilter</var> method.
</p>
<p>
IdleConnected is set to <b>False</b> in the asynchronous event handler routine
after the Filter has been applied for the control.
</p>
<p>
The default value for the property is <b>False</b>.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.InvalidateFilter"/>
<link id="#lcl.forms.Application">Application</link>
<link id="#lcl.forms.TApplication.QueueAsyncCall">TApplication.QueueAsyncCall</link>
<link id="#lcl.forms.TApplication.RemoveAsyncCalls">TApplication.RemoveAsyncCalls</link>
</seealso>
</element>
<element name="TCustomControlFilterEdit.SortData">
<short>
Indicates whether items are sorted as they are filtered.
</short>
<descr>
<p>
<var>SortData</var> is a <var>Boolean</var> property which determines whether
items in the filtered control are sorted when the Filter value is applied in
the private ApplyFilter method. An explicit default value is not assigned for
the property, but the default value for the Boolean type is <b>False</b>.
</p>
<p>
Changing the value for the property causes the InvalidateFilter method to be
called. This method sets internal flags to signify a pending update, and
enables the asynchronous event handler routine where the filter value is
applied and sorting is performed.
</p>
<p>
Descendant classes provide an overridden SortAndFilter method which performs
the actions needed to filter and sort the item data for an associated control
type.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.ApplyFilterCore"/>
<link id="TCustomControlFilterEdit.InvalidateFilter"/>
<link id="TCustomControlFilterEdit.SortAndFilter"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.SelectedPart">
<short>
For retaining selection in the filtered control. The actual type depends on
the associated control.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.CharCase">
<short>
Controls case conversion performed for a value entered in the control.
</short>
<descr>
<p>
<var>CharCase</var> is a <var>TEditCharCase</var> property that controls the
case conversion used (if any) for a value entered in the control. The default
value for the property is ecLowerCase in TCustomControlFilterEdit, and
indicates that characters are converted to lower case.
</p>
<p>
See TEditCharCase for more information about the enumeration values supported
for the type.
</p>
</descr>
<seealso>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.CharCase">TCustomAbstractGroupedEdit.CharCase</link>
<link id="#lcl.stdctrls.TEditCharCase">TEditCharCase</link>
</seealso>
</element>
<element name="TCustomControlFilterEdit.FilterOptions">
<short>
Contains options which control string comparisons using the Filter for the
control.
</short>
<descr>
<p>
<var>FilterOptions</var> is a <var>TFilterStringOptions</var> property which
contains zero (0) or more <var>TFilterStringOption</var> enumeration
values(s). Values in FilterOptions determine how string comparisons are
performed in the <var>DoDefaultFilterItem</var> method. See <link
id="TFilterStringOption"/> for more information about the enumeration values
and their meanings.
</p>
<p>
The default value for the property is an empty set ([]). Changing the value for the property causes the Filter to be invalidated and re-applied to the items from the associated control.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.DoDefaultFilterItem"/>
<link id="TFilterStringOptions"/>
<link id="TFilterStringOption"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.OnAfterFilter">
<short>
Event handler signalled after all items have been filtered in the control.
</short>
<descr>
<p>
OnAfterFilter is signalled from the asynchronous event handler routine, and
occurs after the private ApplyFilter method has been completed.
</p>
</descr>
<seealso>
<link id="TCustomControlFilterEdit.Filter"/>
<link id="TCustomControlFilterEdit.FilterOptions"/>
</seealso>
</element>
<element name="TCustomControlFilterEdit.OnFilterItem">
<short>
An event handler to give extra conditions for filtering, in addition to the
default behavior. Returns <b>True</b> if the passes the filter.
</short>
<descr>
<p>
This feature has, for example, enabled filtering the Options windows in
Lazarus IDE based on captions for all controls on the options pages.
Deprecated. Use OnFilterItemEx with a caption parameter instead.
</p>
</descr>
</element>
<element name="TCustomControlFilterEdit.OnFilterItemEx">
<short>
Event handler signalled to filter data in the control using its caption or
item data.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.OnCheckItem">
<short>
Has effect when items in the filtered container can be checked. Typically a
CheckListbox.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomControlFilterEdit.ButtonCaption" link="#lcl.editbtn.TCustomEditButton.ButtonCaption"/>
<element name="TCustomControlFilterEdit.ButtonCursor" link="#lcl.editbtn.TCustomEditButton.ButtonCursor"/>
<element name="TCustomControlFilterEdit.ButtonHint" link="#lcl.editbtn.TCustomEditButton.ButtonHint"/>
<element name="TCustomControlFilterEdit.ButtonOnlyWhenFocused" link="#lcl.editbtn.TCustomEditButton.ButtonOnlyWhenFocused"/>
<element name="TCustomControlFilterEdit.ButtonWidth" link="#lcl.editbtn.TCustomEditButton.ButtonWidth"/>
<element name="TCustomControlFilterEdit.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TCustomControlFilterEdit.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TCustomControlFilterEdit.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TCustomControlFilterEdit.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TCustomControlFilterEdit.Align" link="#lcl.controls.TControl.Align"/>
<element name="TCustomControlFilterEdit.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TCustomControlFilterEdit.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TCustomControlFilterEdit.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TCustomControlFilterEdit.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TCustomControlFilterEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TCustomControlFilterEdit.AutoSize" link="#lcl.controls.TControl.AutoSize"/>
<element name="TCustomControlFilterEdit.AutoSelect" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelect"/>
<element name="TCustomControlFilterEdit.Color" link="#lcl.controls.TControl.Color"/>
<element name="TCustomControlFilterEdit.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
<element name="TCustomControlFilterEdit.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TCustomControlFilterEdit.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TCustomControlFilterEdit.Font" link="#lcl.controls.TControl.Font"/>
<element name="TCustomControlFilterEdit.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TCustomControlFilterEdit.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TCustomControlFilterEdit.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TCustomControlFilterEdit.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TCustomControlFilterEdit.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TCustomControlFilterEdit.Layout" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Layout"/>
<element name="TCustomControlFilterEdit.MaxLength" link="#lcl.groupededit.TCustomAbstractGroupedEdit.MaxLength"/>
<element name="TCustomControlFilterEdit.ParentBidiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TCustomControlFilterEdit.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TCustomControlFilterEdit.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TCustomControlFilterEdit.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TCustomControlFilterEdit.PopUpMenu" link="#lcl.groupededit.TCustomAbstractGroupedEdit.PopUpMenu"/>
<element name="TCustomControlFilterEdit.ReadOnly" link="#lcl.groupededit.TCustomAbstractGroupedEdit.ReadOnly"/>
<element name="TCustomControlFilterEdit.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TCustomControlFilterEdit.Spacing" link="#lcl.editbtn.TCustomEditButton.Spacing"/>
<element name="TCustomControlFilterEdit.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TCustomControlFilterEdit.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TCustomControlFilterEdit.Text" link="#lcl.controls.TControl.Text"/>
<element name="TCustomControlFilterEdit.TextHint" link="#lcl.groupededit.TCustomAbstractGroupedEdit.TextHint"/>
<element name="TCustomControlFilterEdit.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TCustomControlFilterEdit.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TCustomControlFilterEdit.OnChange" link="#lcl.groupededit.TCustomAbstractGroupedEdit.OnChange"/>
<element name="TCustomControlFilterEdit.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TCustomControlFilterEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TCustomControlFilterEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TCustomControlFilterEdit.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
<element name="TCustomControlFilterEdit.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
<element name="TCustomControlFilterEdit.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TCustomControlFilterEdit.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
<element name="TCustomControlFilterEdit.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TCustomControlFilterEdit.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TCustomControlFilterEdit.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TCustomControlFilterEdit.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TCustomControlFilterEdit.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TCustomControlFilterEdit.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TCustomControlFilterEdit.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TCustomControlFilterEdit.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TCustomControlFilterEdit.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TCustomControlFilterEdit.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TCustomControlFilterEdit.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TCustomControlFilterEdit.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TCustomControlFilterEdit.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TCustomControlFilterEdit.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
<element name="TCustomControlFilterEdit.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TAcceptFileNameEvent">
<short>
<var>TAcceptFileNameEvent</var> - generic event handling method to accept a
filename from a dialog.
</short>
<descr/>
<seealso/>
</element>
<element name="TAcceptFileNameEvent.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TAcceptFileNameEvent.Value">
<short>File name examined in the event handler.</short>
</element>
<element name="TDialogKind">
<short>
Enumerated type representing dialog styles used in TFileNameEdit.
</short>
<descr>
<p>
<var>TDialogKind</var> is an enumerated type representing the dialog styles
available for use in <var>TFileNameEdit</var>. Values in the enumeration
influence the common dialog type created for a control which displays a
dialog when its button is clicked.
</p>
<p>
TDialogKind is the type used to implement the <var>DialogKind</var> property
in <var>TFileNameEdit</var>.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.DialogKind"/>
</seealso>
</element>
<element name="TDialogKind.dkOpen">
<short>An Open dialog.</short>
</element>
<element name="TDialogKind.dkSave">
<short>A Save dialog.</short>
</element>
<element name="TDialogKind.dkPictureOpen">
<short>An Open dialog for image types.</short>
</element>
<element name="TDialogKind.dkPictureSave">
<short>A Save dialog for image types.</short>
</element>
<element name="TFileNameEdit">
<short>
<var>TFileNameEdit</var> - an EditBox to hold a filename, with an attached
SpeedButton that summons a File Open dialog.
</short>
<descr>
<p>
<var>TFileNameEdit</var> is a <var>TCustomEditButton</var> descendant which
implements a grouped edit control used to select and edit a file name on the
local file system. The control provides the Edit and Button properties from
the ancestor class, and executes a dialog when the Button is clicked. New
properties are introduced which allow configuring the control to a specific
file path, filters to select files of particular type or file extension, and
to hide or show directories in its dialog.
</p>
</descr>
<seealso>
<link id="TCustomEditButton"/>
</seealso>
</element>
<element name="TFileNameEdit.FDialogOptions"/>
<element name="TFileNameEdit.FFileName"/>
<element name="TFileNameEdit.FDialogFiles"/>
<element name="TFileNameEdit.FDialogKind"/>
<element name="TFileNameEdit.FDialogTitle"/>
<element name="TFileNameEdit.FFilter"/>
<element name="TFileNameEdit.FFilterIndex"/>
<element name="TFileNameEdit.FInitialDir"/>
<element name="TFileNameEdit.FOnAcceptFileName"/>
<element name="TFileNameEdit.FOnFolderChange"/>
<element name="TFileNameEdit.FFileNameChangeLock"/>
<element name="TFileNameEdit.SetFileName">
<short>Sets the value for the FileName property.</short>
<descr/>
<seealso>
<link id="TFileNameEdit.FileName"/>
</seealso>
</element>
<element name="TFileNameEdit.SetFileName.AValue">
<short>New value for the property.</short>
</element>
<element name="TFileNameEdit.GetDefaultGlyphName">
<short>Gets the default glyph name used for the Button on the control.</short>
<descr>
<p>
The return value contains the resource ID in the <var>ResBtnFileOpen</var>
constant. The value is used in the <var>LoadDefaultGlyph</var> method defined
in <var>TCustomEditButton</var>.
</p>
</descr>
<seealso>
<link id="ResBtnFileOpen"/>
<link id="TCustomEditButton.LoadDefaultGlyph"/>
<link id="TCustomEditButton.GetDefaultGlyphName"/>
</seealso>
</element>
<element name="TFileNameEdit.CreateDialog">
<short>Creates the dialog for the control.</short>
<descr>
<p>
CreateDialog is a TCommonDialog function which creates and returns the dialog
for the grouped edit control.
</p>
<p>
AKind contains the TDialogKind value that identifies the dialog type required
for the control, and normally has the value from the DialogKind property.
AKind determines the class type instantiated and used as the return value.
For example:
</p>
<dl>
<dt>dkOpen</dt>
<dd>TOpenDialog is the type in return value.</dd>
<dt>dkPictureOpen</dt>
<dd>TOpenPictureDialog is the type in return value.</dd>
<dt>dkSave, dkPictureSave</dt>
<dd>TSaveDialog is the type in return value.</dd>
</dl>
<p>
Properties relevant to the dialog kind are copied into the dialog, and may
include:
</p>
<ul>
<li>FileName</li>
<li>Path information extracted from FileName</li>
<li>InitialDir</li>
<li>DefaultExt</li>
<li>Filter</li>
<li>FilterIndex</li>
<li>DialogOptions</li>
<li>DialogTitle</li>
</ul>
<p>
For an open dialog, path information in FileName is retained if the path is
valid. This causes use of InitialDir to be disabled in the dialog. If the path
in Filename is invalid, only the base file name and extension are copied to the
dialog. An explicit value in InitialDir is resolved (cleaned and expanded) when
valid, and stored to the dialog. Otherwise, the initial directory is determined
by the widgetset when the dialog is executed.
</p>
<p>
CreateDialog is used in the implementation of the RunDialog method.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.DefaultExt"/>
<link id="TFileNameEdit.DialogOptions"/>
<link id="TFileNameEdit.DialogTitle"/>
<link id="TFileNameEdit.FileName"/>
<link id="TFileNameEdit.Filter"/>
<link id="TFileNameEdit.FilterIndex"/>
<link id="TFileNameEdit.InitialDir"/>
<link id="TFileNameEdit.RunDialog"/>
<link id="#lcl.dialogs.TCommonDialog">TCommonDialog</link>
<link id="#lcl.dialogs.TOpenDialog">TOpenDialog</link>
<link id="#lcl.dialogs.TSaveDialog">TSaveDialog</link>
<link id="#lazutils.lazfileutils.CleanAndExpandDirectory">CleanAndExpandDirectory</link>
</seealso>
</element>
<element name="TFileNameEdit.CreateDialog.Result">
<short>Dialog class instance created in the method.</short>
</element>
<element name="TFileNameEdit.CreateDialog.AKind">
<short>Identifies the dialog kind or type created in the method.</short>
</element>
<element name="TFileNameEdit.SaveDialogResult">
<short>
<var>SaveDialogResult</var> - stores the result of the dialog.
</short>
<descr>
<p>
<var>SaveDialogResult</var> is a procedure used to capture the results from
the dialog when it has finished execution. The values are stored in the
corresponding properties in the class instance, and depending on the
DialogKind, may include:
</p>
<ul>
<li>FilterIndex</li>
<li>FileName</li>
<li>DialogFiles</li>
</ul>
<p>
SaveDialogResult is used in the implementation of the RunDialog method.
</p>
</descr>
<seealso/>
</element>
<element name="TFileNameEdit.SaveDialogResult.AKind">
<short>Dialog type in the D argument.</short>
</element>
<element name="TFileNameEdit.SaveDialogResult.D">
<short>Dialog examined in the method.</short>
</element>
<element name="TFileNameEdit.ButtonClick">
<short>
Performs actions needed when the Button for the control is clicked.
</short>
<descr>
<p>
<var>ButtonClick</var> is an overridden method used to perform actions needed
when the <var>Button</var> for the control is clicked. For
<var>TFileNameEdit</var>, the <var>RunDialog</var> method is called to
execute the dialog for the control and to capture it results. When
<var>FocusOnButtonClick</var> is set, the <var>FocusAndMaybeSelectAll</var>
method is called to give focus to the <var>Edit</var> control in the class.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.ButtonClick"/>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.Edit"/>
<link id="TCustomEditButton.FocusOnButtonClick"/>
<link id="TFileNameEdit.RunDialog"/>
<link id="TCustomAbstractGroupedEdit.FocusAndMaybeSelectAll"/>
</seealso>
</element>
<element name="TFileNameEdit.EditChange">
<short>
Performs actions needed when the value for the control has been changed.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TFileNameEdit.DoFolderChange">
<short>Signals the OnFolderChange event handler (when assigned).</short>
<descr></descr>
<seealso>
<link id="TFileNameEdit.OnFolderChange"/>
<link id="#lcl.dialogs.TOpenDialog.OnFolderChange"/>
</seealso>
</element>
<element name="TFileNameEdit.DoFolderChange.Sender">
<short>
Object instance (TFileNameEdit) for the event notification.
</short>
</element>
<element name="TFileNameEdit.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for the class instance, and
calls the inherited constructor. Create allocates resource needed for the
<var>DialogFiles</var> property, and sets the default values for the
<var>DialogKind</var> and <var>DialogOptions</var> properties.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.DialogFiles"/>
<link id="TFileNameEdit.DialogKind"/>
<link id="TFileNameEdit.DialogOptions"/>
<link id="TCustomEditButton.Create"/>
</seealso>
</element>
<element name="TFileNameEdit.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TFileNameEdit.Destroy">
<short>Destructor for the class instance.</short>
<descr/>
<seealso>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.Destroy">TCustomAbstractGroupedEdit.Destroy</link>
</seealso>
</element>
<element name="TFileNameEdit.RunDialog">
<short>
Executes an Open or Save dialog for the DialogKind specified in the control.
</short>
<descr>
<p>
<var>RunDialog</var> is a virtual method used to create, display, and execute
a dialog when the button for the control is clicked. It calls the
CreateDialog method to create a TDialogKind instance for the type indicated
in the DialogKind property. The Execute method for the dialog is called to
display the dialog form. If Execute returns <b>True</b>, the SaveDialogResult
method is called to perform the Open or Save action(s) needed for the
DialogKind.
</p>
<p>
RunDialog is called from the ButtonClick method which occurs when the Button
for the control has been clicked.
</p>
</descr>
<errors/>
<seealso/>
</element>
<element name="TFileNameEdit.AutoSelected" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelected"/>
<element name="TFileNameEdit.DialogFiles">
<short>
<var>DialogFiles</var> is the list of files for the dialog.
</short>
<descr>
<p>
<var>DialogFiles</var> is a read-only <var>TStrings</var> property used to
store one or more file names found when the dialog for the control is
executed. DialogFiles is updated in the <var>SaveDialogResult</var> method.
For open dialogs, DialogFiles is set to the files returned by the dialog. For
save dialogs, the content in DialogFiles is cleared.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.SaveDialogResult"/>
<link id="TFileNameEdit.RunDialog"/>
<link id="TFileNameEdit.FileName"/>
</seealso>
</element>
<element name="TFileNameEdit.FileName">
<short>
<var>FileName</var> - the name of the selected file: either the initial value
placed in the Text Box, or the value selected from the dialog.
</short>
<descr/>
<seealso/>
</element>
<element name="TFileNameEdit.InitialDir">
<short>
Initial directory displayed when the dialog is executed for the control.
</short>
<descr>
<p>
<var>InitialDir</var> determines the first directory displayed when the
RunDialog method is called. InitialDir is resolved (cleaned and expanded)
before it is used during dialog execution. If FileName contains qualified path
information, the value in InitialDir is ignored; the path information in
FileName is used instead. When omitted (contains ''), the widgetset determines
the active directory when the dialog for the control is executed.
</p>
<p>
For a file open dialog, InitialDir is updated in the RunDialog method with the
value returned by the dialog. This occurs even when the Cancel button is used
to close the dialog. This mimics the behavior used in TOpenDialog.
</p>
<p>
Use FileName to assign the default file name (and optional path information)
used when the dialog is executed for the control.
</p>
<p>
Use the DialogOptions property to control whether the active directory can be
changed using the dialog for the control (ofNoChangeDir).
</p>
</descr>
<seealso>
<link id="TFileNameEdit.FileName"/>
<link id="TFileNameEdit.DialogOptions"/>
<link id="TFileNameEdit.RunDialog"/>
</seealso>
</element>
<element name="TFileNameEdit.OnAcceptFileName">
<short>
<var>OnAcceptFileName</var> is an event handler for accepting a filename.
</short>
<descr/>
<seealso/>
</element>
<element name="TFileNameEdit.OnFolderChange">
<short>Event handler signalled when the path to FileName has changed.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TFileNameEdit.DialogKind">
<short>
Determines the dialog type executed when the Button in the control is clicked.
</short>
<descr>
<p>
<var>DialogKind</var> is a <var>TDialogKind</var> property that indicates the
type of dialog executed when the <var>Button</var> for the control is
clicked. The default value for the property is <var>dkOpen</var>, as assigned
in the constructor. Use one of the other TDialogKind enumeration values to
perform its corresponding action.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.RunDialog"/>
<link id="TFileNameEdit.SaveDialogResult"/>
<link id="TCustomEditButton.Button"/>
<link id="TDialogKind"/>
</seealso>
</element>
<element name="TFileNameEdit.DialogTitle">
<short>
<var>DialogTitle</var> - the title to appear on the dialog.
</short>
<descr>
<p>
<var>DialogTitle</var> is a <var>String</var> property that contains the
title displayed on the dialog executed by clicking on Button. The value in
DialogTitle is assigned to the TCommonDialog descendant created in the
<var>CreateDialog</var> method.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.DialogKind"/>
<link id="TFileNameEdit.DialogOptions"/>
</seealso>
</element>
<element name="TFileNameEdit.DialogOptions">
<short>
<var>DialogOptions</var> - set of options enabled for the file open dialog.
</short>
<descr>
<p>
<var>DialogOptions</var> is a <var>TOpenOptions</var> property which contains
the options enabled for a File Open dialog. The default value for the
property is defined in the <var>DefaultOpenDialogOptions</var> constant.
</p>
<p>
Values in DialogOptions control the functionality and visual appearance of
the dialog displayed for the control. See <link id="TOpenOption"/> for more
information about the enumeration values used in DialogOptions.
</p>
</descr>
<seealso>
<link id="TFileNameEdit.CreateDialog"/>
<link id="TFileNameEdit.RunDialog"/>
<link id="Dialogs.TOpenOption"/>
<link id="Dialogs.TOpenOptions"/>
</seealso>
</element>
<element name="TFileNameEdit.Filter">
<short>
<var>Filter</var> - the filtering string to help search for the required file.
</short>
<descr/>
<seealso/>
</element>
<element name="TFileNameEdit.FilterIndex">
<short>
<var>FilterIndex</var> - index value for the filtering string.
</short>
<descr/>
<seealso/>
</element>
<element name="TFileNameEdit.DefaultExt">
<short>Default file extension used in the dialog for the component.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TFileNameEdit.HideDirectories">
<short>Hides directory paths in the edit control.</short>
<descr>
<p>
If <var>HideDirectories</var> is set to <b>True</b>, the file name editor
displays only a file name, without path.
</p>
<remark>
This may be useful if application allows user to select files from a fixed
directory with a long path.
</remark>
</descr>
</element>
<element name="TFileNameEdit.ButtonCaption">
<short>Text displayed on the button for the control.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TFileNameEdit.ButtonCursor">
<short>
Cursor shape displayed when hovering the mouse over the button for the
control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TFileNameEdit.ButtonHint">
<short>
Text displayed in the balloon hint for the button in the control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TFileNameEdit.ButtonOnlyWhenFocused">
<short>Controls visibility of the Button when the control loses focus.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ButtonOnlyWhenFocused"/>
</seealso>
</element>
<element name="TFileNameEdit.ButtonWidth" >
<short>Width of the Button displayed in the control.</short>
<descr/>
<seealso>
<link id="TCustomEditButton.ButtonWidth"/>
</seealso>
</element>
<element name="TFileNameEdit.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TFileNameEdit.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TFileNameEdit.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TFileNameEdit.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TFileNameEdit.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TFileNameEdit.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TFileNameEdit.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TFileNameEdit.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TFileNameEdit.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TFileNameEdit.Align" link="#lcl.controls.TControl.Align"/>
<element name="TFileNameEdit.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TFileNameEdit.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TFileNameEdit.AutoSelect" link="#lcl.stdctrls.TCustomEdit.AutoSelect"/>
<element name="TFileNameEdit.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TFileNameEdit.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TFileNameEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TFileNameEdit.AutoSize" link="#lcl.controls.TControl.AutoSize"/>
<element name="TFileNameEdit.Color" link="#lcl.controls.TControl.Color"/>
<element name="TFileNameEdit.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
<element name="TFileNameEdit.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TFileNameEdit.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TFileNameEdit.Font" link="#lcl.controls.TControl.Font"/>
<element name="TFileNameEdit.Layout" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Layout"/>
<element name="TFileNameEdit.MaxLength" link="#lcl.stdctrls.TCustomEdit.MaxLength"/>
<element name="TFileNameEdit.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TFileNameEdit.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TFileNameEdit.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TFileNameEdit.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TFileNameEdit.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element name="TFileNameEdit.ReadOnly" link="#lcl.stdctrls.TCustomEdit.ReadOnly"/>
<element name="TFileNameEdit.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TFileNameEdit.Spacing" link="#lcl.editbtn.TCustomEditButton.Spacing"/>
<element name="TFileNameEdit.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TFileNameEdit.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TFileNameEdit.Text" link="#lcl.controls.TControl.Text"/>
<element name="TFileNameEdit.TextHint" link="#lcl.groupededit.TCustomAbstractGroupedEdit.TextHint"/>
<element name="TFileNameEdit.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TFileNameEdit.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TFileNameEdit.OnChange" link="#lcl.stdctrls.TCustomEdit.OnChange"/>
<element name="TFileNameEdit.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TFileNameEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TFileNameEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TFileNameEdit.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
<element name="TFileNameEdit.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
<element name="TFileNameEdit.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TFileNameEdit.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
<element name="TFileNameEdit.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TFileNameEdit.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TFileNameEdit.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TFileNameEdit.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TFileNameEdit.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TFileNameEdit.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TFileNameEdit.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TFileNameEdit.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TFileNameEdit.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TFileNameEdit.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TFileNameEdit.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TFileNameEdit.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TFileNameEdit.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TFileNameEdit.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
<element name="TFileNameEdit.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TDirectoryEdit">
<short>
<var>TDirectoryEdit</var> - an EditBox to hold a directory name, with an
attached SpeedButton that summons a Directory Open dialog.
</short>
<descr/>
<seealso>
<link id="#lcl.dialogs.TSelectDirectoryDialog">TSelectDirectoryDialog</link>
</seealso>
</element>
<element name="TDirectoryEdit.FDialogTitle"/>
<element name="TDirectoryEdit.FRootDir"/>
<element name="TDirectoryEdit.FOnAcceptDir"/>
<element name="TDirectoryEdit.FShowHidden"/>
<element name="TDirectoryEdit.FDialogOptions"/>
<element name="TDirectoryEdit.GetDirectory">
<short>Gets the value for the Directory property.</short>
<descr/>
<seealso>
<link id="TDirectoryEdit.Directory"/>
</seealso>
</element>
<element name="TDirectoryEdit.GetDirectory.Result">
<short>Value for the property.</short>
</element>
<element name="TDirectoryEdit.SetDirectory">
<short>Sets the value for the Directory property.</short>
<descr/>
<seealso>
<link id="TDirectoryEdit.Directory"/>
</seealso>
</element>
<element name="TDirectoryEdit.SetDirectory.AValue">
<short>New value for the property.</short>
</element>
<element name="TDirectoryEdit.GetDefaultGlyphName">
<short>
Gets the name of the default glyph resource used for the Button on the
control.
</short>
<descr>
<p>
<var>GetDefaultGlyphName</var> is an overridden String function used to get
the default resource name with the glyph image for the Button on the control.
It is used in the LoadDefaultGlyph method to assign the LCLGlyphName for the
TButtonGlyph instance used in the control.
</p>
<p>
In <var>TDirectoryEdit</var>, the return value is set to the ResBtnSelDir
constant.
</p>
</descr>
<seealso>
<link id="TCalcEdit"/>
<link id="ResBtnSelDir"/>
<link id="#lcl.buttons.TButtonGlyph.LCLGlyphName">TButtonGlyph.LCLGlyphName</link>
</seealso>
</element>
<element name="TDirectoryEdit.GetDefaultGlyphName.Result">
<short>
Default resource name for the glyph used on the button in the control.
</short>
</element>
<element name="TDirectoryEdit.CreateDialog">
<short>
Creates and configures the dialog for the control.
</short>
<descr>
<p>
<var>CreateDialog</var> is a <var>TCommonDialog</var> function which creates
and configures the Directory Open dialog executed when the <var>Button</var>
is clicked for the control. In <var>TDirectoryEdit</var>, the class type
instantiated and used as the return value is actually
<var>TSelectDirectoryDialog</var>.
</p>
<p>
CreateDialog ensures that values for the InitialDir and FileName properties
in the dialog are set using the properties in the class instance.
<var>Directory</var> and <var>Filename</var> are used in the dialog when
the directory exists on the local file system. Otherwise, the initial
directory is set to the value in <var>RootDir</var> and the file name is set
to the value in <var>Directory</var>.
</p>
<p>
CreateDialog set the options in the dialog to the values specified in
<var>DialogOptions</var>, and the value in <var>DialogTitle</var> is used as
the title for the dialog.
</p>
<p>
CreateDialog is used in the implementation of the <var>RunDialog</var> method.
</p>
</descr>
<seealso>
<link id="TDirectoryEdit.Directory"/>
<link id="TDirectoryEdit.RootDir"/>
<link id="TDirectoryEdit.DialogOptions"/>
<link id="TDirectoryEdit.DialogTitle"/>
<link id="#lcl.dialogs.TSelectDirectoryDialog">TSelectDirectoryDialog</link>
<link id="#lcl.dialogs.TCommonDialog">TCommonDialog</link>
</seealso>
</element>
<element name="TDirectoryEdit.CreateDialog.Result">
<short>Dialog created and configured in the method.</short>
</element>
<element name="TDirectoryEdit.GetDialogResult">
<short>Gets the result from the specified dialog.</short>
<descr>
<p>
<var>GetDialogResult</var> is a <var>String</var> function used to get the
result from the Select Directory dialog. The return value contains the value
from the <var>FileName</var> property in the
<var>TSelectDirectoryDialog</var> instance in <var>D</var>. The return value,
when accepted in <var>OnAcceptDirectory</var>, is stored in the
<var>Directory</var> property.
</p>
<p>
GetDialogResult is used in the implementation of the <var>RunDialog</var>
method.
</p>
</descr>
<seealso>
<link id="TDirectoryEdit.RunDialog"/>
<link id="TDirectoryEdit.OnAcceptDirectory"/>
<link id="TDirectoryEdit.Directory"/>
<link id="#lcl.dialogs.TSelectDirectoryDialog">TSelectDirectoryDialog</link>
<link id="#lcl.dialogs.TCommonDialog">TCommonDialog</link>
</seealso>
</element>
<element name="TDirectoryEdit.GetDialogResult.Result">
<short>Directory name from the dialog.</short>
</element>
<element name="TDirectoryEdit.GetDialogResult.D">
<short>Dialog examined in the method.</short>
</element>
<element name="TDirectoryEdit.ButtonClick">
<short>Implements the button handler for the Button in the control.</short>
<descr>
<p>
<var>ButtonClick</var> is an overridden method used to implement the button
click handler for the <var>Button</var> in the control. ButtonClick calls the
inherited method, and calls <var>RunDialog</var> to display the dialog and
capture the directory name. When the dialog has completed, and
<var>FocusOnButtonClick</var> is set to <b>True</b>, the
<var>FocusAndMaybeSelectAll</var> method is called to give focus to the
<var>Edit</var> control and select text as needed.
</p>
<p>
ButtonClick is called from the <var>BuddyClick</var> method in the ancestor
class.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.Button"/>
<link id="TCustomEditButton.Edit"/>
<link id="TCustomEditButton.FocusOnButtonClick"/>
<link id="TCustomEditButton.BuddyClick"/>
<link id="TDirectoryEdit.RunDialog"/>
<link id="TCustomAbstractGroupedEdit.FocusAndMaybeSelectAll"/>
</seealso>
</element>
<element name="TDirectoryEdit.AutoSelected" link="#lcl.stdctrls.TCustomEdit.AutoSelected"/>
<element name="TDirectoryEdit.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for the class instance, and
calls the inherited constructor. Create sets the values in the
<var>DialogOptions</var> property to the defaults in
<var>DefaultOpenDialogOptions</var>.
</p>
</descr>
<seealso>
<link id="TDirectoryEdit.DialogOptions"/>
<link id="DefaultOpenDialogOptions"/>
</seealso>
</element>
<element name="TDirectoryEdit.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDirectoryEdit.RunDialog">
<short>
Executes the dialog for the control and stores the return value.
</short>
<descr>
<p>
<var>RunDialog</var> is a procedure used to execute the dialog for the
control, and to store the selected directory name in the control. RunDialog
calls <var>CreateDialog</var> to create and configure the dialog executed in
the method. When the dialog has completed successfully,
<var>GetDialogResult</var> is called to capture the selected directory name.
</p>
<p>
When assigned, the <var>OnAcceptDirectory</var> event handler is signalled to
accept or reject the selected directory name. When rejected, the return value
is ignored. When accepted, the value returned from the dialog is stored in
the <var>Directory</var> property.
</p>
<p>
RunDialog is used in the implementation of the <var>ButtonClick</var> method.
</p>
</descr>
<seealso>
<link id="TDirectoryEdit.CreateDialog"/>
<link id="TDirectoryEdit.GetDialogResult"/>
<link id="TDirectoryEdit.Directory"/>
<link id="TDirectoryEdit.OnAcceptDirectory"/>
<link id="TDirectoryEdit.ButtonClick"/>
<link id="#lcl.dialogs.TCommonDialog">TCommonDialog</link>
<link id="#lcl.dialogs.TSelectDirectoryDialog">TSelectDirectoryDialog</link>
</seealso>
</element>
<element name="TDirectoryEdit.Directory">
<short>The <var>Directory</var> selected by the dialog.</short>
<descr>
<p>
<var>Directory</var> is a <var>String</var> property which contains the
active directory, and the value displayed in the <var>Edit</var> for the
control.
</p>
<p>
Directory and <var>RootDir</var> determine the values used in the Select
Directory dialog executed when the Button is clicked for the control. When
Directory is a valid file path on the local file system, it is used as the
initial directory displayed in the dialog. Otherwise, the value in
<var>RootDir</var> is used as the initial directory and Directory is used as
the file name in the dialog.
</p>
<p>
The value in Directory is updated in the <var>RunDialog</var> method when the
dialog for the control has been executed successfully.
</p>
</descr>
<seealso>
<link id="TDirectoryEdit.RootDir"/>
<link id="TDirectoryEdit.RunDialog"/>
<link id="TDirectoryEdit.GetDialogResult"/>
<link id="TDirectoryEdit.OnAcceptDirectory"/>
</seealso>
</element>
<element name="TDirectoryEdit.RootDir">
<short>
The root directory for file system navigation in the control.
</short>
<descr>
<p>
<var>RootDir</var> is a <var>String</var> property which identifies the root
directory for file system navigation in the Select Directory dialog for the
control. Its value, along with <var>Directory</var>, is used in the
<var>CreateDialog</var> method to configure the dialog.
</p>
<p>
RootDir is relevant when Directory does not represent a valid path on the
local file system. It is used as the initial directory in the Select
Directory dialog. When Directory is a valid file path, RootDir is ignored.
</p>
</descr>
<seealso>
<link id="TDirectoryEdit.Directory"/>
<link id="TDirectoryEdit.CreateDialog"/>
<link id="TDirectoryEdit.DialogOptions"/>
</seealso>
</element>
<element name="TDirectoryEdit.OnAcceptDirectory">
<short>
<var>OnAcceptDirectory</var> - event handler for accepting the name of a
directory.
</short>
<descr/>
<seealso/>
</element>
<element name="TDirectoryEdit.DialogTitle">
<short>
<var>DialogTitle</var> - the title that appears on the Select Directory
dialog.</short>
<descr/>
<seealso/>
</element>
<element name="TDirectoryEdit.DialogOptions">
<short>
Contains the options enabled for the Open dialog displayed by the control.
</short>
<descr>
<p>
The default value for the property is defined in the
<var>DefaultOpenDialogOptions</var> set.
</p>
</descr>
<seealso>
<link id="#lcl.dialogs.DefaultOpenDialogOptions">DefaultOpenDialogOptions</link>
</seealso>
</element>
<element name="TDirectoryEdit.ShowHidden">
<short>
<var>ShowHidden</var> - if <b>True</b>, display names of hidden directories.
</short>
<descr>
<p>
When <var>ShowHidden</var> is <b>True</b>, the names for hidden directories
are displayed. In Windows, this show directories under 'Windows' and
branches; in Linux, show directories with preceding dot e.g. '.Lazarus'.
</p>
</descr>
<seealso/>
</element>
<element name="TDirectoryEdit.ButtonCaption">
<short>Text displayed on the button for the control.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDirectoryEdit.ButtonCursor">
<short>
Cursor shape displayed when the mouse hovers over the button for the control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDirectoryEdit.ButtonHint">
<short>
Hint displayed when the mouse hovers over the button for the control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDirectoryEdit.ButtonOnlyWhenFocused" link="#lcl.editbtn.TCustomEditButton.ButtonOnlyWhenFocused"/>
<element name="TDirectoryEdit.ButtonWidth" link="#lcl.editbtn.TCustomEditButton.ButtonWidth"/>
<element name="TDirectoryEdit.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TDirectoryEdit.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TDirectoryEdit.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TDirectoryEdit.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TDirectoryEdit.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TDirectoryEdit.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TDirectoryEdit.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TDirectoryEdit.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TDirectoryEdit.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TDirectoryEdit.Align" link="#lcl.controls.TControl.Align"/>
<element name="TDirectoryEdit.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TDirectoryEdit.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TDirectoryEdit.AutoSize" link="#lcl.controls.TControl.AutoSize"/>
<element name="TDirectoryEdit.AutoSelect" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelect"/>
<element name="TDirectoryEdit.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TDirectoryEdit.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TDirectoryEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TDirectoryEdit.Color" link="#lcl.controls.TControl.Color"/>
<element name="TDirectoryEdit.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
<element name="TDirectoryEdit.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TDirectoryEdit.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TDirectoryEdit.Font" link="#lcl.controls.TControl.Font"/>
<element name="TDirectoryEdit.Layout" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Layout"/>
<element name="TDirectoryEdit.MaxLength" link="#lcl.stdctrls.TCustomEdit.MaxLength"/>
<element name="TDirectoryEdit.ParentBidiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TDirectoryEdit.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TDirectoryEdit.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TDirectoryEdit.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TDirectoryEdit.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element name="TDirectoryEdit.ReadOnly" link="#lcl.stdctrls.TCustomEdit.ReadOnly"/>
<element name="TDirectoryEdit.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TDirectoryEdit.Spacing" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Spacing"/>
<element name="TDirectoryEdit.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TDirectoryEdit.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TDirectoryEdit.Text" link="#lcl.controls.TControl.Text"/>
<element name="TDirectoryEdit.TextHint" link="#lcl.groupededit.TCustomAbstractGroupedEdit.TextHint"/>
<element name="TDirectoryEdit.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TDirectoryEdit.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TDirectoryEdit.OnChange" link="#lcl.stdctrls.TCustomEdit.OnChange"/>
<element name="TDirectoryEdit.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TDirectoryEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TDirectoryEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TDirectoryEdit.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
<element name="TDirectoryEdit.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
<element name="TDirectoryEdit.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TDirectoryEdit.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
<element name="TDirectoryEdit.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TDirectoryEdit.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TDirectoryEdit.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TDirectoryEdit.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TDirectoryEdit.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TDirectoryEdit.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TDirectoryEdit.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TDirectoryEdit.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TDirectoryEdit.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TDirectoryEdit.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TDirectoryEdit.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TDirectoryEdit.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TDirectoryEdit.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TDirectoryEdit.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
<element name="TDirectoryEdit.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TAcceptDateEvent">
<short>
<var>TAcceptDateEvent</var> - generic event handling method for accepting a
date from a dialog.
</short>
<descr>
<p>
<var>TAcceptDateEvent</var> is an object procedure which specifies an event
handler used to examine and verify a <var>TDateTime</var> value.
</p>
<p>
<var>Sender</var> is the object generating the event notification.
</p>
<p>
<var>ADate</var> is the <var>TDateTime</var> value examined in the event
handler.
</p>
<p>
<var>AcceptDate</var> is a variable Boolean argument which indicates if the
TDateTime value meets the criteria implemented in the event handler. Set
AcceptDate to <b>False</b> to indicate that the TDateTime value should be
rejected.
</p>
<p>
TAcceptDateEvent is the type used to implement the <var>OnAcceptDate</var>
property in <var>TDateEdit</var>.
</p>
</descr>
<seealso>
<link id="TDateEdit.OnAcceptDate"/>
</seealso>
</element>
<element name="TAcceptDateEvent.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TAcceptDateEvent.ADate">
<short>TDateTime value examined in the method.</short>
</element>
<element name="TAcceptDateEvent.AcceptDate">
<short>Indicates if the Date/Time can be accepted when <b>True</b>.</short>
</element>
<element name="TCustomDateEvent">
<short>
Specifies an event handler used to examine or alter a String with a date
value.
</short>
<descr>
<p>
<var>TCustomDateEvent</var> is an object procedure which specifies an event
handler used to examine or alter a <var>String</var> with a date value in an
arbitrary format.
</p>
<p>
<var>Sender</var> is the object generating the event notification.
</p>
<p>
<var>ADate</var> is a variable <var>String</var> argument which can be
examined or altered in the event handler.
</p>
<p>
TCustomDateEvent is the type used to implement the <var>OnCustomDate</var>
event handler in <var>TDateEdit</var>.
</p>
</descr>
<seealso>
<link id="TDateEdit.OnCustomDate"/>
</seealso>
</element>
<element name="TCustomDateEvent.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TCustomDateEvent.ADate">
<short>
Variable String argument which can be examined or altered in the event
handler.
</short>
</element>
<element name="TDateRangeCheckEvent">
<short>
Specifies an event handler signalled prior to validating a date for it lower
and upper limits.
</short>
<descr>
<p>
TDateRangeCheckEvent is the type used to implement the OnDateRangeCheck
property in TDateEdit. TDateRangeCheckEvent allows the control to perform
actions needed for the existing value in ADate prior to validating and/or
limiting the value to a specific range.
</p>
</descr>
<seealso>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.MaxDate"/>
<link id="TDateEdit.ButtonClick"/>
</seealso>
</element>
<element name="TDateRangeCheckEvent.Sender">
<short>Object (TDateEdit) for the event notification.</short>
</element>
<element name="TDateRangeCheckEvent.ADate">
<short>The existing TDateTime value for the handler routine.</short>
</element>
<element name="TDateOrder">
<short>
Controls the display order for Month, Day, and Year portions of a date value.
</short>
<descr>
<p>
<var>TDateOrder</var> is an enumerated type with values that indicate the
display order for the Month, Day, and Year portions of a date value.
</p>
<p>
TDateOrder is the type used to implement the <var>DateOrder</var> property in
<var>TDateEdit</var>, and passed as an argument to the <var>ParseDate</var>
routine in the implementation for the unit.
</p>
</descr>
<seealso>
<link id="TDateEdit.DateOrder"/>
</seealso>
</element>
<element name="TDateOrder.doNone">
<short>No order is specified for the Year, Month, and Day values.</short>
</element>
<element name="TDateOrder.doMDY">
<short>Displayed in Month, Day, Year order.</short>
</element>
<element name="TDateOrder.doDMY">
<short>Displayed in Day, Month, Year order.</short>
</element>
<element name="TDateOrder.doYMD">
<short>Displayed in Year, Month, Day order.</short>
</element>
<element name="TDateEdit">
<short>
Implements a control with an edit box for a date value and an attached speed
button to display a date selection (calendar) dialog.
</short>
<descr>
<p>
<var>TDateEdit</var> is a <var>TCustomEditButton</var> descendant which
implements a grouped edit control for entering a date value. The control uses
an <var>Edit</var> and a <var>Button</var>, as defined in the ancestor class,
and displays a pop-up Calendar dialog to select a date value when the Button
is clicked. The selected date is stored in the <var>Date</var> property as a
<var>TDateTime</var> value.
</p>
<p>
TDateEdit provides additional properties which are used to configure the Edit
and Button controls and the dialog executed when Button is clicked.
</p>
<p>
TDateEdit has an overridden ButtonClick method which displays the pop-up
Calendar dialog. This method includes logic to set the minimum and maximum
date values for the native calendar control on the dialog. For the Windows
platform, the value limits are September 14, 1752 and December 31, 9999. This
functionality is not supported for all platforms. Specifically, GTK2 and GTK3
do not support the minimum and maximum date values on their native calendar
controls.
</p>
</descr>
<seealso>
<link id="TCustomEditButton"/>
</seealso>
</element>
<element name="TDateEdit.FDateOrder"/>
<element name="TDateEdit.FDefaultToday"/>
<element name="TDateEdit.FDisplaySettings"/>
<element name="TDateEdit.FDroppedDown"/>
<element name="TDateEdit.FOnAcceptDate"/>
<element name="TDateEdit.FOnCustomDate"/>
<element name="TDateEdit.FOnDateRangeCheck"/>
<element name="TDateEdit.FFixedDateFormat"/>
<element name="TDateEdit.FFreeDateFormat"/>
<element name="TDateEdit.FDate"/>
<element name="TDateEdit.FMinDate"/>
<element name="TDateEdit.FMaxDate"/>
<element name="TDateEdit.FUpdatingDate"/>
<element name="TDateEdit.CheckRange">
<short>
Signals the OnDateRangeCheck event handler and validates a date for its lower
and upper limits.
</short>
</element>
<element name="TDateEdit.CheckRange.ADate"/>
<element name="TDateEdit.CheckRange.AMinDate"/>
<element name="TDateEdit.CheckRange.AMaxDate"/>
<element name="TDateEdit.SetFreeDateFormat">
<short>Sets the value for the DateFormat property.</short>
<descr/>
<seealso>
<link id="TDateEdit.DateFormat"/>
</seealso>
</element>
<element name="TDateEdit.SetFreeDateFormat.AValue">
<short>New value for the property.</short>
</element>
<element name="TDateEdit.SetMaxDate">
<short>Sets the value for the MaxDate property.</short>
</element>
<element name="TDateEdit.SetMaxDate.AValue"/>
<element name="TDateEdit.SetMinDate">
<short>Sets the value for the MinDate property.</short>
</element>
<element name="TDateEdit.SetMinDate.AValue"/>
<element name="TDateEdit.IsLimited"/>
<element name="TDateEdit.IsLimited.Result"/>
<element name="TDateEdit.GetMaxDateStored"/>
<element name="TDateEdit.GetMaxDateStored.Result"/>
<element name="TDateEdit.GetMixDateStored"/>
<element name="TDateEdit.GetMixDateStored.Result"/>
<element name="TDateEdit.TextToDate">
<short>
Converts the specified text to a TDateTime value with an optional default
value.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TDateEdit.TextToDate.Result">
<short>TDateTime value for the specified text.</short>
</element>
<element name="TDateEdit.TextToDate.AText">
<short>Text examined in the method.</short>
</element>
<element name="TDateEdit.TextToDate.ADefault">
<short>Default TDateTime value used when the text cannot be converted.</short>
</element>
<element name="TDateEdit.GetDate">
<short>Gets the value for the Date property.</short>
<descr/>
<seealso>
<link id="TDateEdit.Date"/>
</seealso>
</element>
<element name="TDateEdit.GetDate.Result">
<short>Value for the property.</short>
</element>
<element name="TDateEdit.SetDate">
<short>Sets the value for the Date property.</short>
<descr/>
<seealso>
<link id="TDateEdit.Date"/>
</seealso>
</element>
<element name="TDateEdit.SetDate.AValue">
<short>New value for the property.</short>
</element>
<element name="TDateEdit.CalendarPopupReturnDate">
<short>
Implements the OnReturnDate event handler used in the dialog in the control.
</short>
<descr>
<p>
<var>CalendarPopupReturnDate</var> is a procedure which implements the
<var>TReturnDateEvent</var> event handler used to validate and store the date
returned from the dialog for the control. It is passed as an argument when
calling the <var>ShowCalendarPopup</var> routine in the
<var>ButtonClick</var> method.
</p>
<p>
CalendarPopupReturnDate signals the <var>OnAcceptDate</var> event handler
(when assigned) to accept or reject the value in <var>ADate</var>. The value
in <var>ADate</var> is stored in the <var>Date</var> property when accepted
in <var>OnAcceptDate</var>.
</p>
<p>
CalendarPopupReturnDate handles any exception which occurs in the method, or
in the OnAcceptDate event handler, and displays a dialog with the message
from the exception.
</p>
</descr>
<seealso>
<link id="TDateEdit.ButtonClick"/>
<link id="TDateEdit.OnAcceptDate"/>
<link id="TDateEdit.Date"/>
<link id="#lcl.calendarpopup.ShowCalendarPopup">ShowCalendarPopup</link>
</seealso>
</element>
<element name="TDateEdit.CalendarPopupReturnDate.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TDateEdit.CalendarPopupReturnDate.ADate">
<short>Date/Time value examined and stored in the method.</short>
</element>
<element name="TDateEdit.CalendarPopupShowHide">
<short>
Implements the event handler which toggles the visibility of the dialog form
for the control.
</short>
<descr>
<p>
<var>CalendarPopupShowHide</var> is a procedure which implements the event
handler used to toggle the visibility of the dialog form for the control.
CalendarPopupShowHide is passed as an argument when calling the
<var>ShowCalendarPopup</var> routine in the <var>ButtonClick</var> method.
</p>
<p>
CalendarPopupShowHide checks the visibility of the form in <var>Sender</var>
(a <var>TCalendarPopupForm</var> in this usage), and assigns the value to the
<var>DroppedDown</var> property in the class instance.
</p>
</descr>
<seealso>
<link id="TDateEdit.ButtonClick"/>
<link id="TDateEdit.DroppedDown"/>
<link id="#lcl.calendarpopup.ShowCalendarPopup">ShowCalendarPopup</link>
</seealso>
</element>
<element name="TDateEdit.CalendarPopupShowHide.Sender">
<short>
Object generating the event notification; the TCalendarPopupForm instance in
this case.
</short>
</element>
<element name="TDateEdit.SetDateOrder">
<short>Sets the value for the DateOrder property.</short>
<descr></descr>
<seealso>
<link id="TDateEdit.DateOrder"/>
</seealso>
</element>
<element name="TDateEdit.SetDateOrder.AValue">
<short>New value for the DateOrder property.</short>
</element>
<element name="TDateEdit.DateToText">
<short>Converts the specified TDateTime value to a string.</short>
<descr>
<p>
<var>DateToText</var> is a <var>String</var> function used to convert the
<var>TDateTime</var> value in the <var>Value</var> parameter to its textual
representation. The return value is an empty String (<b>''</b>) when Value is
equal to the <var>NullDate</var> constant.
</p>
<p>
DateToText uses <var>DefaultFormatSettings</var> to generate the return value
when <var>DateOrder</var> is <var>doNone</var> using the short date format in
the <var>DateFormat</var> property. When DateOrder contains another value
from the enumeration, the formatting mask for the date order is used to
generate the return value; i. e. 'mm/dd/yyyy'.
</p>
<p>
DateToText is used in the implementation of the <var>SetDate</var>,
<var>RealSetText</var>, and <var>EditEditingDone</var> methods.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.EditEditingDone"/>
<link id="TDateEdit.RealSetText"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
<link id="#rtl.sysutils.DateToStr">DateToStr</link>
<link id="#rtl.sysutils.FormatDateTime">FormatDateTime</link>
</seealso>
</element>
<element name="TDateEdit.DateToText.Result">
<short>Text for the converted date/time value.</short>
</element>
<element name="TDateEdit.DateToText.Value">
<short>TDateTime vale converted in the method.</short>
</element>
<element name="TDateEdit.IsNullDate"/>
<element name="TDateEdit.IsNullDate.Result"/>
<element name="TDateEdit.IsNullDate.ADate"/>
<element name="TDateEdit.WSRegisterClass">
<short>
Registers the class reference used to create new instances of the class.
</short>
<seealso/>
</element>
<element name="TDateEdit.GetDefaultGlyphName">
<short>
Gets the name of the default glyph resource used for the Button on the
control.
</short>
<descr>
<p>
<var>GetDefaultGlyphName</var> is an overridden String function used to get
the default resource name with the glyph image for the Button on the control.
It is used in the LoadDefaultGlyph method to assign the LCLGlyphName for the
TButtonGlyph instance used in the control.
</p>
<p>
In <var>TDateEdit</var>, the return value is set to the ResBtnCalendar
constant.
</p>
</descr>
<seealso>
<link id="TCalcEdit"/>
<link id="ResBtnCalendar"/>
<link id="TCustomEditButton.GetDefaultGlyphName"/>
<link id="#lcl.buttons.TButtonGlyph.LCLGlyphName">TButtonGlyph.LCLGlyphName</link>
</seealso>
</element>
<element name="TDateEdit.GetDefaultGlyphName.Result">
<short>Default resource name for the glyph image on the control.</short>
</element>
<element name="TDateEdit.ButtonClick">
<short>
Displays a pop-up calendar dialog when the Button for the grouped edit
control is clicked.
</short>
<descr>
<p>
<var>ButtonClick</var> is an overridden method in <var>TDateEdit</var>. It
implements the virtual method defined in the ancestor class, and is called
when the Button for the grouped edit control is clicked.
</p>
<p>
ButtonClick creates, displays, and executes a pop-up calendar dialog used to
get a TDateTime value. The value in the Date property is passed as the
initial date displayed on the dialog form. If Date contains the NullDate
value, the current system date is used.
</p>
<p>
Values in the MinDate and MaxDate properties are used to validate and to
limit the range of dates displayed on the pop-up calendar. When the
properties contain non-zero values that are at least one day apart, they are
used as the lower and upper limits for the value in Date. Otherwise, the
MinDateTime and MaxDateTime RTL constants are used as the limits for the date
value.
</p>
<p>
The ShowCalendarPopup routine is called to display and execute the dialog
form. Set values in CalendarDisplaySettings and DefaultToday to control the
appearance and behavior for the calendar on the dialog.
</p>
<remark>
For the Windows platform, additional validation is performed to ensure that
Date is within the range of values allowed for the native calendar control.
The minimum date value is "1752-09-14" (September 14, 1752) for the start of
the Gregorian calendar. The maximum date value is "9999-12-31" (December 31,
9999). This is done to prevent an exception when an invalid value is passed
to the native calendar control. When DefaultToday is enabled, Date defaults
to the current system date for a value outside this range. When not enabled,
the MinDate and MaxDate values are used to range limit the date.
</remark>
<p>
Assign a routine to the OnAcceptDate event handler to perform actions needed
when a new date value is selected using the dialog. Enable FocusOnButtonClick
to focus and optionally auto-select the value in the edit control after the
dialog has been closed.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.MaxDate"/>
<link id="TDateEdit.CalendarDisplaySettings"/>
<link id="TDateEdit.DefaultToday"/>
<link id="TDateEdit.OnAcceptDate"/>
<link id="TDateEdit.FocusOnButtonClick"/>
<link id="TDateEdit.EditDblClick"/>
<link id="TCustomEditButton.ButtonClick"/>
<link id="TCustomEditButton.Button"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.FocusAndMaybeSelectAll">TCustomAbstractGroupedEdit.FocusAndMaybeSelectAll</link>
<link id="#lcl.calendarpopup.ShowCalendarPopup">ShowCalendarPopup</link>
</seealso>
</element>
<element name="TDateEdit.EditDblClick">
<short>
Performs actions needed when the Edit in the control is double clicked.
</short>
<descr>
<p>
<var>EditDblClick</var> is an overridden procedure in <var>TDateEdit</var>.
It calls the inherited method, and checks to ensure that the control is not
marked as <var>ReadOnly</var> before calling the <var>ButtonClick</var>
method.
</p>
</descr>
<seealso>
<link id="TDateEdit.ReadOnly"/>
<link id="TDateEdit.ButtonClick"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.EditDblClick">TCustomAbstractGroupedEdit.EditDblClick</link>
</seealso>
</element>
<element name="TDateEdit.EditEditingDone">
<short>
Implements the OnEditingDone event handler for the Edit in the control.
</short>
<descr>
<p>
<var>EditEditingDone</var> is an overridden method in <var>TDateEdit</var>.
It calls the inherited method on entry to signal the OnEditEditingDone event
handler (when assigned).
</p>
<p>
If DirectInput is enabled, the value in Date is converted to a string and
stored in the Text property. Values in DateOrder, DateFormat, or the default
date format settings for the locale are used to determine the content for the
converted value. An empty string ('') is assigned to Text when Date contains
the NullDate value.
</p>
</descr>
<seealso>
<link id="TDateEdit.DirectInput"/>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DateFormat"/>
<link id="TDateEdit.DateOrder"/>
<link id="TDateEdit.Text"/>
<link id="TDateEdit.OnEditingDone"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.EditEditingDone">TCustomAbstractGroupedEdit.EditEditingDone</link>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.OnEditingDone">TCustomAbstractGroupedEdit.OnEditingDone</link>
</seealso>
</element>
<element name="TDateEdit.SetDirectInput">
<short>Sets the value in the DirectInput property.</short>
<descr>
<p>
<var>SetDirectInput</var> is overridden in <var>TDateEdit</var> to
synchronize the value from the Text property to the Date property when the
property value in DirectInput is changed. The OnCustomDate event handler is
signalled (when assigned) to handle a custom date format or value in Text.
DateOrder is used to determine the order of the date component values in
Text. When DateOrder is doNone, the format setting in DefaultFormatSettings
or DateFormat is used. An implementation routine is used to parse the value
in Text if cannot be converted using TryStrToDate or ParseDate.
</p>
<p>
Date is set to the value in NullDate if Text is not successfully converted to
a TDateTime value.
</p>
<remark>
Date may contain an uninitialized value at design-time.
</remark>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DefaultToday"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput">TCustomAbstractGroupedEdit.DirectInput</link>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.Text">TCustomAbstractGroupedEdit.Text</link>
<link id="NullDate"/>
</seealso>
</element>
<element name="TDateEdit.SetDirectInput.AValue">
<short>New value for the property.</short>
</element>
<element name="TDateEdit.RealSetText">
<short>Sets the value for text in the control.</short>
<descr>
<p>
<var>RealSetText</var> is overridden in <var>TDateEdit</var> to ensure that
<var>DefaultToday</var> is used to set the <var>Date</var> when
<var>Text</var> is an empty string. Calls the inherited RealSetText method.
</p>
</descr>
<seealso>
<link id="TDateEdit.DefaultToday"/>
<link id="TDateEdit.Date"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.Text">TCustomAbstractGroupedEdit.Text</link>
</seealso>
</element>
<element name="TDateEdit.RealSetText.AValue">
<short>New value for the control.</short>
</element>
<element name="TDateEdit.SetDateMask">
<short>
Applies an EditMask based on the DateOrder for the control.
</short>
<descr>
<p>
<var>SetDateMask</var> is a method used to update the EditMask for the
control. It also updates the internal member where a
FormatDateTime-compatible format string is stored. The mask value is
determined by the DateOrder property, and uses the following TDateOrder and
edit mask values:
</p>
<dl>
<dt>doNone</dt>
<dd>
EditMask is set to an empty string (''). The date format string is also an
empty string.
</dd>
<dt>doDMY, doMDY</dt>
<dd>
EditMask is set to '99/99/9999;1;_'. The date format string is set to
'mm/dd/yyyy' (for doMDY) or 'dd/mm/yyyy' (for doDMY).
</dd>
<dt>doYMD</dt>
<dd>
EditMask is set to '9999/99/99;1;_'. The date format string is set to
'yyyy/mm/dd'.
</dd>
</dl>
<p>
SetDateMask retrieves and re-applies the current value in Date after the
EditMask has been changed. This forces the display value in Text to be
updated.
</p>
<p>
SetDateMask is called when a new value is assigned to the DateOrder property.
</p>
</descr>
<seealso>
<link id="TDateEdit.DateOrder"/>
<link id="TDateEdit.Date"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.EditMask">TCustomAbstractGroupedEdit.EditMask</link>
</seealso>
</element>
<element name="TDateEdit.Loaded">
<short>
Performs actions needed when the component has finished loading in the LCL
streaming mechanism.
</short>
<descr>
<p>
<var>Loaded</var> is an overridden method in <var>TDateEdit</var>. The
overridden method ensures that the value in Date is re-applied at run-time.
</p>
<p>
Date defaults to the current system date when Value is a null date and
DefaultToday is <b>True</b>. The assignment causes Date to be range-limited
to the minimum and maximum values in MinDate and MaxDate (when assigned), or
the limits for the Date type. Date is not updated at design-time.
</p>
<p>
The string representation for the date value is also applied to the Text
property. The value in DateOrder determines the date format used for the text
value.
</p>
<p>
Loaded calls the inherited method prior to exit to update the spacing and
color for the control.
</p>
</descr>
<version>
Modified in version 2.2.4 (e7e585f1) to call the inherited Loaded method on
exit instead of on entry. This allows the OnChange handler to be signalled
once after both the Date member and Text have been updated.
</version>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DateOrder"/>
<link id="TDateEdit.DateFormat"/>
<link id="TDateEdit.DefaultToday"/>
<link id="TDateEdit.Text"/>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.MaxDate"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.Loaded">TCustomAbstractGroupedEdit.Loaded</link>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.UpdateSpacing">TCustomAbstractGroupedEdit.UpdateSpacing</link>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.Color">TCustomAbstractGroupedEdit.Color</link>
</seealso>
</element>
<element name="TDateEdit.DoDateRangeCheck">
<short>Signals the OnDateRangeCheck event handler (when assigned).</short>
<descr>
<p>
<var>DoDateRangeCheck</var> is called when a date value is validated and
range checked for its lower and upper limits. It is called prior to
validation of the date value, and allows the OnDateRangeCheck event handler
to perform any actions needed for the control. DoDateRangeCheck occurs when a
new value is assigned to either the MinDate or MaxDate property, and when
ButtonClick is called to display the pop-up calendar dialog for the control.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.MaxDate"/>
<link id="TDateEdit.ButtonClick"/>
<link id="TDateEdit.OnDateRangeCheck"/>
</seealso>
</element>
<element name="TDateEdit.DoDateRangeCheck.ADate">
<short>Date value for the event notification.</short>
</element>
<element name="TDateEdit.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for <var>TDateEdit</var>. It calls the
inherited <var>Create</var> method and sets the default values for properties
in the class instance.
</p>
<p>
Create initializes the dialog title, caption, display settings, and the
default date.
</p>
</descr>
<errors/>
<seealso>
<link id="TCustomEditButton.Create"/>
</seealso>
</element>
<element name="TDateEdit.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDateEdit.GetDateFormat">
<short>
Gets the FormatDateTime-compatible format specification used for the current
DateOrder in the control.
</short>
<descr>
<p>
GetDateFormat reads the member value assigned when the SetDateMask method is
called. It contains the FormatDateTime-compatible format specification used
to convert values in Text and Date when DateOrder has a value other than
doNone.
</p>
<p>
GetDateFormat is not used in the current LCL version.
</p>
<p>
Use the DateFormat property for the format used when DateOrder is set to
doNone.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DateOrder"/>
<link id="TDateEdit.DateFormat"/>
<link id="TDateEdit.Text"/>
<link id="TDateEdit.SetDateMask"/>
</seealso>
</element>
<element name="TDateEdit.GetDateFormat.Result">
<short>
String with the fixed date format for the DateOrder in the control.
</short>
</element>
<element name="TDateEdit.AutoSelected" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelected"/>
<element name="TDateEdit.Date">
<short>Contains the TDateTime value for the control.</short>
<descr>
<p>
<var>Date</var> is a <var>TDateTime</var> property with the date value for
the control. The Time component in the value is ignored in TDateEdit. Date is
a public property, so it is not available in the Object Inspector at
design-time. But its value can be assigned in program code at run-time.
</p>
<p>
Date provides the value displayed and updated using the Edit for the control
when DirectInput is enabled. It is updated when the Button for the control is
clicked and a new value is selected from the calendar dialog.
</p>
<p>
Setting a new value for the property causes the new date to be validated. An
empty date is represented using the NullDate value. When the property value
is NullDate and DefaultToday is enabled, the current system date is used.
</p>
<p>
MinDate and MaxDate are used (when assigned) to ensure that the new property
value is within the specified range of dates. They are not used to limit the
value in Date if either of the properties contain NullDate, or are not at
least one day apart. When not used, the MinDateTime and MaxDateTime RTL
constants are used as the lower and upper limits for the date value.
</p>
<p>
The value in Text is updated when the new value is stored in the Date
property.
</p>
<p>
Use DateOrder to control the order of the date components displayed on the
control and in the Text property. Use DateFormat to specify the
FormatDateTime-compatible formatting string used when DateOrder is set to
doNone. The default format settings for the locale are used to generate the
value in Text when both DateOrder and DateFormat are not used.
</p>
</descr>
<seealso>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.MaxDate"/>
<link id="TDateEdit.Text"/>
<link id="TDateEdit.DefaultToday"/>
<link id="TDateEdit.Button"/>
<link id="TDateEdit.DateOrder"/>
<link id="TDateEdit.DateFormat"/>
<link id="TDateEdit.DefaultToday"/>
</seealso>
</element>
<element name="TDateEdit.Button" link="#lcl.editbtn.TCustomEditButton.Button"/>
<element name="TDateEdit.DroppedDown">
<short>
Indicates the calendar dialog for the control is visible when <b>True</b>.
</short>
<descr>
<p>
<var>DroppedDown</var> is a read-only <var>Boolean</var> property which
indicates if the calendar dialog form is visible for the control. The
property value is updated when the calendar dialog form is displayed or
hidden in the ButtonClick method.
</p>
</descr>
<seealso>
<link id="TDateEdit.ButtonClick"/>
</seealso>
</element>
<element name="TDateEdit.CalendarDisplaySettings">
<short>
Display or behavior options enabled in the pop-up calendar dialog for the
control.
</short>
<descr>
<p>
<var>CalendarDisplaySettings</var> is a <var>TDisplaySettings</var> property
with the display and behavior options enabled in the calendar dialog for the
grouped edit control. It contains zero or more values from the
TDisplaySetting enumeration, and enables the features or behaviors in the
calendar control. The default values in the set type are <b>[dsShowHeadings,
dsShowDayNames]</b>.
</p>
<p>
See TDisplaySetting for more information about the values in the enumeration
and their meanings.
</p>
<p>
The property value is passed as an argument to the ShowCalendarPopup routine
when the Button is clicked for the control.
</p>
</descr>
<seealso>
<link id="TDateEdit.ButtonClick"/>
<link id="#lcl.calendar.TDisplaySettings">TDisplaySettings</link>
<link id="#lcl.calendar.TDisplaySetting">TDisplaySetting</link>
<link id="#lcl.calendar.TCustomCalendar.DisplaySettings">TCustomCalendar.DisplaySettings</link>
<link id="#lcl.calendarpopup.ShowCalendarPopup">ShowCalendarPopup</link>
</seealso>
</element>
<element name="TDateEdit.ReadOnly" link="#lcl.groupededit.TCustomAbstractGroupedEdit.ReadOnly"/>
<element name="TDateEdit.DefaultToday">
<short>
<b>True</b> to use the current system date when a Date value is not available.
</short>
<descr>
<p>
<var>DefaultToday</var> is a <var>Boolean</var> property which indicates if
the current system date is used when the Date property has not been assigned
or contains an invalid date value. The default value for the property is
<b>False</b>.
</p>
<p>
DefaultToday is used in the ButtonClick method, and causes SysUtils.Date to
be used as the date value when set to True. This occurs when the date
contains the NullDate value, or when the date is not within the date range
allowed for a given platform. It is used when a new value is assigned to the
DirectInput property and a valid date has not been assigned to the Date
property. It is also used when a new value is assigned to Text and
DirectInput has not been enabled for the control.
</p>
</descr>
<seealso>
<link id="TDateEdit.ButtonClick"/>
<link id="TDateEdit.DirectInput"/>
<link id="TDateEdit.Text"/>
<link id="NullDate"/>
</seealso>
</element>
<element name="TDateEdit.DateOrder">
<short>
Controls the display order for Year, Month, and Day parts of the Date value.
</short>
<descr>
<p>
<var>DateOrder</var> is a <var>TDateOrder</var> property which indicates the
order of the Year, Month, and Day parts of the Date value. Values in the
enumeration include:
</p>
<dl>
<dt>doNone</dt>
<dd>
No order is specified. The value in DateFormat is used instead. EditMask is
set to ''.
</dd>
<dt>doMDY</dt>
<dd>
Displays values in Month, Day, Year order and uses the format specification
'mm/dd/yyyy'. EditMask is set to '99/99/9999;1;_'.
</dd>
<dt>doDMY</dt>
<dd>
Displays values in Day, Month, Year order and uses the format specification
'dd/mm/yyyy'. EditMask is set to '99/99/9999;1;_'.
</dd>
<dt>doYMD</dt>
<dd>
Displays values in Year, Month, Day order and uses the format specification
'yyyy/mm/dd'. EditMask is set to '9999/99/99;1;_'.
</dd>
</dl>
<p>
Setting a new value for the property causes SetDateMask to be called to
update the EditMask for the control.
</p>
<p>
DateOrder is also used when the value in Date is converted to a String type
and stored in the Text property.
</p>
<p>
Use DateFormat for the format specification used when DateOrder is doNone.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DateFormat"/>
<link id="TDateEdit.SetDateMask"/>
<link id="TDateEdit.Text"/>
<link id="TDateOrder"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.EditMask">TCustomAbstractGroupedEdit.EditMask</link>
</seealso>
</element>
<element name="TDateEdit.DateFormat">
<short>
Specifies the format string used for the date value in the control.
</short>
<descr>
<p>
<var>DateFormat</var> is a <var>String</var> property which contains the
format used when converting the Date value to and from text. DateFormat is
used when <var>DateOrder</var> contains the value <var>doNone</var>; when
another <var>TDateOrder</var> value is used, the fixed format needed for the
date order is automatically used.
</p>
<p>
DateFormat is used in the implementation of the <var>TextToDate</var> and
<var>DateToText</var> methods.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DateOrder"/>
<link id="TDateOrder"/>
</seealso>
</element>
<element name="TDateEdit.MinDate">
<short>
Smallest date value allowed in the date edit control.
</short>
<descr>
<p>
<var>MinDate</var> is a <var>TDateTime</var> property which indicates the
smallest value allowed in the Date property. Along with MaxDate, it defines a
range limit for possible Date values in both the edit control and the pop-up
calendar form displayed when its Button is clicked.
</p>
<p>
The default value for the property is an empty date/time value (0.0), and
indicates that neither MinDate nor MaxDate are used to limit the values in
Date. Setting a new value for the property causes the date value to be
validated. It must be in the range of valid TDateTime values defined in the
RTL MinDateTime and MaxDateTime constants. An EInvalidDate exception is
raised if the new value is outside the allowed range.
</p>
<p>
The value in Date is adjusted (when needed) if its value is smaller than the
new value for the MinDate property. No actions are needed if MinDate and
MaxDate have not been assigned, or are not at least one day apart.
</p>
<p>
Time component values (hours, minutes, seconds, milliseconds) in MinDate are
ignored in TDateEdit.
</p>
<p>
Use MaxDate to specify the largest value allowed in the Date property.
</p>
<remark>
MinDate and MaxDate are not implemented for all platforms supported in the
LCL. Specifically, GTK2 and GTK3 do not implement MinDate and MaxDate in
their native calendar controls.
</remark>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.MaxDate"/>
<link id="TDateEdit.DoDateRangeCheck"/>
<link id="#lcl.calendar.EInvalidDate">EInvalidDate</link>
<link id="#rtl.sysutils.MinDateTime">MinDateTime</link>
<link id="#rtl.sysutils.MaxDateTime">MaxDateTime</link>
</seealso>
</element>
<element name="TDateEdit.MaxDate">
<short>
Largest date value allowed in the date edit control.
</short>
<descr>
<p>
<var>MaxDate</var> is a <var>TDateTime</var> property which indicates the
largest value allowed in the Date property. Along with MinDate, it defines a
range limit for possible Date values in both the edit control and the pop-up
calendar form displayed when its Button is clicked.
</p>
<p>
The default value for the property is an empty date/time value (0.0), and
indicates that neither MinDate nor MaxDate are used to limit the values in
Date. Setting a new value for the property causes the date value to be
validated. It must be in the range of valid TDateTime values defined in the
RTL MinDateTime and MaxDateTime constants. An EInvalidDate exception is
raised if the new value is outside the allowed range.
</p>
<p>
The value in Date is adjusted (when needed) if its value is larger than the
new value for the MaxDate property. No actions are needed if MinDate and
MaxDate have not been assigned, or are not at least one day apart.
</p>
<p>
Time component values (hours, minutes, seconds, milliseconds) in MaxDate are
ignored in TDateEdit.
</p>
<p>
Use MinDate to specify the smallest value allowed in the Date property.
</p>
<remark>
MinDate and MaxDate are not implemented for all platforms supported in the
LCL. Specifically, GTK2 and GTK3 do not implement MinDate and MaxDate in
their native calendar controls.
</remark>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.DoDateRangeCheck"/>
<link id="#lcl.calendar.EInvalidDate">EInvalidDate</link>
<link id="#rtl.sysutils.MinDateTime">MinDateTime</link>
<link id="#rtl.sysutils.MaxDateTime">MaxDateTime</link>
</seealso>
</element>
<element name="TDateEdit.ButtonOnlyWhenFocused" link="#lcl.editbtn.TCustomEditButton.ButtonOnlyWhenFocused"/>
<element name="TDateEdit.ButtonCaption" link="#lcl.editbtn.TCustomEditButton.ButtonCaption"/>
<element name="TDateEdit.ButtonCursor" link="#lcl.editbtn.TCustomEditButton.ButtonCursor"/>
<element name="TDateEdit.ButtonHint" link="#lcl.editbtn.TCustomEditButton.ButtonHint"/>
<element name="TDateEdit.ButtonWidth" link="#lcl.editbtn.TCustomEditButton.ButtonWidth"/>
<element name="TDateEdit.Action" link="#lcl.controls.TControl.Action"/>
<element name="TDateEdit.Align" link="#lcl.controls.TControl.Align"/>
<element name="TDateEdit.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TDateEdit.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TDateEdit.AutoSize" link="#lcl.controls.TControl.AutoSize"/>
<element name="TDateEdit.AutoSelect" link="#lcl.stdctrls.TCustomEdit.AutoSelect"/>
<element name="TDateEdit.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TDateEdit.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TDateEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TDateEdit.CharCase" link="#lcl.stdctrls.TCustomEdit.CharCase"/>
<element name="TDateEdit.Color" link="#lcl.controls.TControl.Color"/>
<element name="TDateEdit.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TDateEdit.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TDateEdit.EchoMode" link="#lcl.stdctrls.TCustomEdit.EchoMode"/>
<element name="TDateEdit.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TDateEdit.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TDateEdit.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TDateEdit.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TDateEdit.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TDateEdit.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TDateEdit.EchoMode" link="#lcl.groupededit.TCustomAbstractGroupedEdit.EchoMode"/>
<element name="TDateEdit.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TDateEdit.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TDateEdit.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TDateEdit.Font" link="#lcl.controls.TControl.Font"/>
<element name="TDateEdit.Layout" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Layout"/>
<element name="TDateEdit.MaxLength" link="#lcl.stdctrls.TCustomEdit.MaxLength"/>
<element name="TDateEdit.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TDateEdit.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TDateEdit.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TDateEdit.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TDateEdit.PasswordChar" link="#lcl.stdctrls.TCustomEdit.PasswordChar"/>
<element name="TDateEdit.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element name="TDateEdit.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TDateEdit.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TDateEdit.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TDateEdit.Spacing" link="#lcl.editbtn.TCustomEditButton.Spacing"/>
<element name="TDateEdit.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TDateEdit.Text" link="#lcl.controls.TControl.Text"/>
<element name="TDateEdit.TextHint" link="#lcl.groupededit.TCustomAbstractGroupedEdit.TextHint"/>
<element name="TDateEdit.OnAcceptDate">
<short>
Event handler signalled to accept or reject a new date value selected using
the calendar dialog for the control.
</short>
<descr>
<p>
<var>OnAcceptDate</var> is a <var>TAcceptDateEvent</var> property with the
event handler signalled to accept or reject a new value for the Date
property. The handler routine can perform actions to validate or update the
TDateTime and Boolean arguments.
</p>
<p>
OnAcceptDate is signalled (when assigned) when the pop-up calendar dialog is
displayed for the grouped edit control. The handler routine can update the
value in the date argument if its value is not in an acceptable range. If the
Boolean argument is <b>True</b> on exit from the handler, the date argument
is stored to the Date property. Otherwise, the new date/time value is
discarded.
</p>
<p>
An exception raised during execution of the pop-up calendar dialog is handled
in the class instance; MessageDlg is called to display the exception message.
</p>
</descr>
<seealso>
<link id="TDateEdit.ButtonClick"/>
<link id="TDateEdit.Date"/>
<link id="TAcceptDateEvent"/>
</seealso>
</element>
<element name="TDateEdit.OnCustomDate">
<short>
<var>OnCustomDate</var> - event handler for inserting a custom date.
</short>
<descr>
<p>
<var>OnCustomDate</var> is a <var>TCustomDateEvent</var> property with the
event handler signalled to validate or update a string value before it is
converted to the TDateTime type. OnCustomDate is signalled (when assigned)
when the value in Text is converted to the TDateTime type used in the Date
property. It also occurs when a new value is assigned to DirectInput, and
when reading the value for the Date property when DirectInput is enabled.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.DateOrder"/>
<link id="TDateEdit.DirectInput"/>
<link id="TDateEdit.Text"/>
</seealso>
</element>
<element name="TDateEdit.OnDateRangeCheck">
<short>
Event handler signalled prior to validating and range checking a date value.
</short>
<descr>
<p>
<var>OnDateRangeCheck</var> is a <var>TDateRangeCheckEvent</var> with the
event handler signalled prior to validating and range checking a date value.
It allows the application to perform actions needed before a date value is
potentially updated. An application can implement and assign a routine to the
handler which responds to the event notification.
</p>
<p>
OnDateRangeCheck is signalled (when assigned) from the DoDateRangeCheck
method. It occurs when a new value is assigned to either the MinDate or
MaxDate property, and when ButtonClick is called to display the pop-up
calendar for the control.
</p>
</descr>
<seealso>
<link id="TDateEdit.Date"/>
<link id="TDateEdit.MinDate"/>
<link id="TDateEdit.MaxDate"/>
<link id="TDateEdit.DoDateRangeCheck"/>
<link id="TDateEdit.ButtonClick"/>
<link id="TDateRangeCheckEvent"/>
</seealso>
</element>
<element name="TDateEdit.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TDateEdit.OnChange" link="#lcl.stdctrls.TCustomEdit.OnChange"/>
<element name="TDateEdit.OnChangeBounds" link="#lcl.controls.TControl.OnChangeBounds"/>
<element name="TDateEdit.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TDateEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TDateEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TDateEdit.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TDateEdit.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TDateEdit.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TDateEdit.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TDateEdit.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TDateEdit.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TDateEdit.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TDateEdit.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TDateEdit.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TDateEdit.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TDateEdit.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TDateEdit.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TDateEdit.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TDateEdit.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TDateEdit.OnResize" link="#lcl.controls.TControl.OnResize"/>
<element name="TDateEdit.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TAcceptTimeEvent">
<short>
Specifies an event handler used to validate and accept/reject a time value.
</short>
<descr>
<p>
<var>TAcceptTimeEvent</var> specifies an event handler used to validate and
accept/reject a time value in <var>TTimeEdit</var>. TAcceptTimeEvent is the
type used to implement the <var>OnAcceptTime</var> property in
<var>TTimeEdit</var>.
</p>
</descr>
<seealso>
<link id="TTimeEdit.OnAcceptTime"/>
</seealso>
</element>
<element name="TAcceptTimeEvent.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TAcceptTimeEvent.ATime">
<short>Time value examined in the method.</short>
</element>
<element name="TAcceptTimeEvent.AcceptTime">
<short>Indicates the time value is accepted when <b>True</b>.</short>
</element>
<element name="TCustomTimeEvent">
<short>
Specifies an event handler used to generate an arbitrary time value.
</short>
<descr>
<p>
<var>TCustomTimeEvent</var> specifies an event handler used to generate an
arbitrary <var>TDateTime</var> value. TCustomTimeEvent is the type used to
implement the <var>OnCustomTime</var> property in <var>TTimeEdit</var>.
</p>
</descr>
<seealso>
<link id="TTimeEdit.OnCustomTime"/>
</seealso>
</element>
<element name="TCustomTimeEvent.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TCustomTimeEvent.ATime">
<short>TDateTime value generated in the event handler.</short>
</element>
<element name="TTimeEdit">
<short>
Implements a control used to edit time values.
</short>
<descr>
<p>
<var>TTimeEdit</var> is a <var>TCustomEditButton</var> descendant which
implements a control used to edit a time value. TTimeEdit provides the
<var>Edit</var> and <var>Button</var> properties defined in the ancestor
class, and a dialog that is executed to select a time value when the Button
is clicked. The dialog allows selection of Hour and Minute values from a
drop-down list. Enable DirectInput to enter a time value that includes
additional time parts (like Seconds and Milliseconds).
</p>
<p>
The Time value in the control is represented using the <var>TDateTime</var>
type; only the time portion of the value is significant.
</p>
<p>
Use TimeFormat and TimeSeparator to override the default format settings used
to generate the display Text for the time edit control.
</p>
</descr>
<version>
Modified in LCL version 4.0 to include additional properties and methods.
</version>
<seealso>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.Text"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="TCustomEditButton"/>
</seealso>
</element>
<!-- private -->
<element name="TTimeEdit.FTime"/>
<element name="TTimeEdit.IsEmptyTime"/>
<element name="TTimeEdit.FDefaultNow"/>
<element name="TTimeEdit.FDroppedDown"/>
<element name="TTimeEdit.FSimpleLayout"/>
<element name="TTimeEdit.FTimeAMPMString"/>
<element name="TTimeEdit.FTimeFormat"/>
<element name="TTimeEdit.FTimeSeparator"/>
<element name="TTimeEdit.FOnAcceptTime"/>
<element name="TTimeEdit.FOnCustomTime"/>
<!-- private -->
<element name="TTimeEdit.GetTime">
<short>Gets the value for the Time property.</short>
<descr/>
<seealso>
<link id="TTimeEdit.Time"/>
</seealso>
</element>
<element name="TTimeEdit.GetTime.Result">
<short>Value for the property.</short>
</element>
<element name="TTimeEdit.GetTimeAMPMString">
<short>
Gets the value for the indexed TimeAMString or TimePMString properties.
</short>
<descr/>
<version>
Added in LCL version 4.0.
</version>
<seealso/>
</element>
<element name="TTimeEdit.GetTimeAMPMString.AIndex">
<short>
Ordinal position in the internal member for the property value. 0 is for
TimeAMString. 1 is for TimePMString.
</short>
</element>
<element name="TTimeEdit.GetTimeAMPMString.Result">
<short>
Value for the indexed property.
</short>
</element>
<element name="TTimeEdit.SetTime">
<short>Sets the value for the Time property.</short>
<descr/>
<seealso>
<link id="TTimeEdit.Time"/>
</seealso>
</element>
<element name="TTimeEdit.SetTime.AValue">
<short>New value for the property.</short>
</element>
<element name="TTimeEdit.SetEmptyTime">
<short>Sets the value in the Time property to the empty time value.</short>
<descr>
<p>
<var>SetEmptyTime</var> is a procedure used to set the value in the
<var>Time</var> property to the empty time value. The value in
<var>NullTime</var> is assigned as the value for the <var>Time</var>
property. In addition, the <var>EmptyStr</var> constant is assigned as the
value for the <var>Text</var> property. An internal flag is set to indicate
that the time value is empty.
</p>
<p>
SetEmptyTime is used in the implementation of the <var>ParseInput</var>
method, and in the constructor for the class instance.
</p>
</descr>
<seealso>
<link id="TTimeEdit.ParseInput"/>
<link id="TTimeEdit.Create"/>
<link id="NullDate"/>
<link id="#rtl.sysutils.EmptyStr">EmptyStr</link>
</seealso>
</element>
<element name="TTimeEdit.GetLayout">
<short>Gets the value for the SimpleLayout property.</short>
<descr></descr>
<seealso>
<link id="TTimeEdit.SimpleLayout"/>
</seealso>
</element>
<element name="TTimeEdit.GetLayout.Result">
<short>Value for the property.</short>
</element>
<element name="TTimeEdit.SetLayout">
<short>Sets the value for the SimpleLayout property.</short>
<descr/>
<seealso>
<link id="TTimeEdit.SimpleLayout"/>
</seealso>
</element>
<element name="TTimeEdit.SetLayout.AValue">
<short>New value for the property.</short>
</element>
<element name="TTimeEdit.SetTimeAMPMString">
<short>
Sets the value for the indexed TimeAMString and TimePMString properties.
</short>
<descr/>
<version>
Added in LCL version 4.0.
</version>
<seealso/>
</element>
<element name="TTimeEdit.SetTimeAMPMString.AIndex">
<short>
Ordinal position in the internal member for the property value updated in the
method. 0 is for TimeAMString, 1 is for TimePMString.
</short>
</element>
<element name="TTimeEdit.SetTimeAMPMString.AValue">
<short>
New value for the indexed property represented by AIndex.
</short>
</element>
<element name="TTimeEdit.SetTimeFormat">
<short>
Sets the value for the TimeFormat property.
</short>
<descr/>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.TimeFormat"/>
</seealso>
</element>
<element name="TTimeEdit.SetTimeFormat.AValue">
<short>
New value for the property.
</short>
</element>
<element name="TTimeEdit.SetTimeSeparator">
<short>
Sets the value for the TimeSeparator property.
</short>
<descr/>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.TimeSeparator"/>
</seealso>
</element>
<element name="TTimeEdit.SetTimeSeparator.AValue">
<short>
New value for the property.
</short>
</element>
<element name="TTimeEdit.TimePopupReturnTime">
<short>
Implements the event handler used to display the popup dialog for the
control, and to capture the returned time value.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.TimePopupReturnTime.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TTimeEdit.TimePopupReturnTime.ATime">
<short>Time value returned from the popup dialog.</short>
</element>
<element name="TTimeEdit.TimePopupShowHide">
<short>
Implements an event handler used to toggle the visibility of the popup dialog
for the control.
</short>
<descr></descr>
<seealso/>
</element>
<element name="TTimeEdit.TimePopupShowHide.Sender">
<short>Object generating the event notification.</short>
</element>
<element name="TTimeEdit.OpenTimePopup">
<short>
Configures and displays the popup dialog for the control.
</short>
<descr>
<p>
Used in the implementation of the ButtonClick and EditDblClick methods.
</p>
</descr>
<seealso/>
</element>
<element name="TTimeEdit.ParseInput">
<short>
Parses text in the Edit control and stores the value in the Time property.
</short>
<descr>
Used in the implementation of the OpenTimePopup and EditEditingDone methods.
</descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.TryParseInput">
<short>
Tries to parse and convert the specified string to a time value.
</short>
<descr/>
<seealso/>
</element>
<element name="TTimeEdit.TryParseInput.Result">
<short>
<b>True</b> if the text was successfully converted to a TDateTime value.
</short>
</element>
<element name="TTimeEdit.TryParseInput.AInput">
<short>
String with the time to convert in the method.
</short>
</element>
<element name="TTimeEdit.TryParseInput.ParseResult">
<short>
Returns the TDateTime with the time value converted in the method.
</short>
</element>
<element name="TTimeEdit.GetDefaultGlyphName">
<short>
Gets the name of the default glyph resource used for the Button on the
control.
</short>
<descr>
<p>
<var>GetDefaultGlyphName</var> is an overridden String function used to get
the default resource name with the glyph image for the Button on the control.
It is used in the LoadDefaultGlyph method to assign the LCLGlyphName for the
TButtonGlyph instance used in the control.
</p>
<p>
In <var>TTimeEdit</var>, the return value is set to the ResBtnTime
constant.
</p>
</descr>
<seealso>
<link id="ResBtnCalendar"/>
<link id="TCustomEditButton.GetDefaultGlyphName"/>
<link id="#lcl.buttons.TButtonGlyph.LCLGlyphName">TButtonGlyph.LCLGlyphName</link>
</seealso>
</element>
<element name="TTimeEdit.GetDefaultGlyphName.Result">
<short>
Default resource name for the glyph used on the button in the control.
</short>
</element>
<element name="TTimeEdit.Is12HourMode">
<short>
Indicates whether the effective TimeFormat for the control reflects 12-hour
clock values with AM and PM designations.
</short>
<descr>
<p>
<var>Is12HourMode</var> is a <var>Boolean</var> function which indicates that
the TimeFormat for control displays values with AM and PM suffixes for 12-hour
clock values. It examines the effective time format returned by the
UsedTimeFormat method and returns <b>True</b> if the lowercase
<var>TimeFormat</var> value contains one of the following:
</p>
<ul>
<li>'am/pm'</li>
<li>'a/p'</li>
<li>'ampm'</li>
</ul>
<p>
Is12HourMode, along with <var>UsedTimeAMString</var> and
<var>UsedTimePMString</var>, are used when a popup is displayed for the
<var>Time</var> value in the control.
</p>
</descr>
<version>
Added in LCL version 4.4.
</version>
<seealso>
<link id="TTimeEdit.UsedTimeFormat"/>
<link id="TTimeEdit.UsedTimeAMString"/>
<link id="TTimeEdit.UsedTimePMString"/>
<link id="TTimeEdit.Time"/>
</seealso>
</element>
<element name="TTimeEdit.Is12HourMode.Result">
<short></short>
</element>
<element name="TTimeEdit.UsedFormatSettings">
<short>
Gets the effective format settings used to format the value for the time edit
control.
</short>
<descr>
<p>
The return value contains the DefaultFormatSettings for the platform combined
with the values assigned to the TimeFormat and TimeSeparator properties.
UsedFormatSettings is called when a new value is stored in the Time property,
and is used to format the Text displayed on the control.
</p>
<p>
Use TimeFormat to specify the short time format settings applied to the Time
property. Use TimeSeparator to specify the time separator character used in the
short time settings applied to the Time property.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="TTimeEdit.Text"/>
<link id="TTimeEdit.UsedTimeFormat"/>
<link id="TTimeEdit.UsedTimeSeparator"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
<link id="#rtl.sysutils.TFormatSettings">TFormatSettings</link>
</seealso>
</element>
<element name="TTimeEdit.UsedFormatSettings.Result">
<short>
Format settings after the values in TimeFormat and TimeSeparator have been
applied.
</short>
</element>
<element name="TTimeEdit.UsedTimeAMString">
<short>
Gets the suffix used for an <i>ante meridiem</i> (before midday) time value in
the control.
</short>
<descr>
<p>
<var>UsedTimeAMString</var> is a <var>String</var> function which returns the
suffix used for an <i>ante meridiem</i> time value when the UsedTimeFormat for
the control displays 12-hour clock values. UsedTimeAMString examines the
lowercase value returned from UsedTimeFormat to determine whether the value
'ampm' is used in the effective TimeFormat for the control.
</p>
<p>
If UsedTimeFormat contains 'ampm', the return value is set to the effective
display value for a Time which occurs before midday / noon. This is the value
from DefaultFormatSettings.TimeAMString when TimeAMString is empty, or the
TimeAMString property value when assigned. The default value in the
DEFAULT_TIMEAMSTRING constant is used when the return value is unassigned
(an empty string).
</p>
<p>
UsedTimeAMString, along with <var>UsedTimePMString</var> and
<var>UsedTimeFormat</var>, are used when a popup is displayed for the
<var>Time</var> value in the control.
</p>
<p>
See <var>UsedTimePMString</var> for the effective value used for a post
meridiem (after midday) time value when a 12-hour clock is used.
</p>
</descr>
<seealso>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.UsedTimeFormat"/>
<link id="TTimeEdit.UsedTimePMString"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
</seealso>
</element>
<element name="TTimeEdit.UsedTimeAMString.Result">
<short>
Suffix used for an ante meridiem (before midday) time value when 12-hour clock
values are used in time TimeFormat.
</short>
</element>
<element name="TTimeEdit.UsedTimeFormat">
<short>
Gets the effective short time format used for the Time value in the control.
</short>
<descr>
<p>
The return value contains the short time format used to format the value in
the Text property. It defaults to the short time setting in the
DefaultFormatSettings for the platform. The value in TimeFormat is substituted
when an explicit value has been assigned to the property.
</p>
<p>
UsedTimeFormat is called from the UsedFormatSettings method, which occurs when
a new value has been assigned to the Time property.
</p>
<p>
See TimeSeparator and UsedTimeSeparator for the separator character used in
the short time format settings.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="TTimeEdit.Text"/>
<link id="TTimeEdit.UsedFormatSettings"/>
<link id="TTimeEdit.UsedTimeSeparator"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
<link id="#rtl.sysutils.TFormatSettings">TFormatSettings</link>
</seealso>
</element>
<element name="TTimeEdit.UsedTimeFormat.Result">
<short>
Short time format used in the class instance.
</short>
</element>
<element name="TTimeEdit.UsedTimePMString">
<short>
Gets the suffix used for a <i>post meridiem</i> (after midday) time value in
the control.
</short>
<descr>
<p>
<var>UsedTimePMString</var> is a <var>String</var> function which returns the
suffix used for a <i>post meridiem</i> time value when the UsedTimeFormat for
the control displays 12-hour clock values. UsedTimeAMString examines the
lowercase value returned from UsedTimeFormat to determine whether the value
'ampm' is used in the effective TimeFormat for the control.
</p>
<p>
If UsedTimeFormat contains 'ampm', the return value is set to the effective
display suffix for a Time which occurs before midday / noon. This is the value
from DefaultFormatSettings.TimePMString when TimePMString is empty, or the
TimePMString property value when assigned. The default value in the
DEFAULT_TIMEPMSTRING constant is used when the return value is unassigned
(an empty string).
</p>
<p>
UsedTimePMString, along with <var>UsedTimeAMString</var> and
<var>UsedTimeFormat</var>, are used when a popup is displayed for the
<var>Time</var> value in the control.
</p>
<p>
See <var>UsedTimeAMString</var> for the effective value used for a ante
meridiem (after midday) time value when a 12-hour clock is used.
</p>
</descr>
<seealso>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.UsedTimeFormat"/>
<link id="TTimeEdit.UsedTimeAMString"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
</seealso>
</element>
<element name="TTimeEdit.UsedTimePMString.Result">
<short>
Suffix used for a post meridiem (after midday) time value when 12-hour clock
values are used in time TimeFormat.
</short>
</element>
<element name="TTimeEdit.UsedTimeSeparator">
<short>
Gets the effective time separator character used in the short time format
settings.
</short>
<descr>
<p>
The return value contains the time separator character in the short time format
used in the class instance. It defaults to the time separator character found
in the DefaultFormatSettings for the platform. The first character found in
TimeSeparator is substituted when an explicit value has been assigned to the
property. Other characters in TimeSeparator are ignored.
</p>
<p>
UsedTimeSeparator is called from the UsedFormatSettings method, which occurs
when a new value has been assigned to the Time property.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="TTimeEdit.Text"/>
<link id="TTimeEdit.UsedFormatSettings"/>
<link id="TTimeEdit.UsedTimeFormat"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
<link id="#rtl.sysutils.TFormatSettings">TFormatSettings</link>
</seealso>
</element>
<element name="TTimeEdit.UsedTimeSeparator.Result">
<short>
Time separator character used in the short time format settings for the class
instance.
</short>
</element>
<element name="TTimeEdit.ButtonClick">
<short>
Performs actions needed when the Button for the control is clicked.
</short>
<descr></descr>
<seealso>
<link id="TCustomEditButton.ButtonClick"/>
<link id="#lcl.timepopup.ShowTimePopup">ShowTimePopup</link>
</seealso>
</element>
<element name="TTimeEdit.EditDblClick">
<short>
Implements the OnDblClick event handler for the Edit in the control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.EditEditingDone">
<short>
Implements the OnEditingDone event handler for the Edit in the control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.Create">
<short>Constructor for the class instance.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TTimeEdit.ValidTimeFormat">
<short>
Indicates whether the specified value is a valid time format for the TTimeEdit
control.
</short>
<descr>
<p>
TTimeEdit requires a time format string that does not include date or interval
parts which are not used/allowed in the class instance. ValidTimeFormat
examines the characters in AFormat to determine which parts are used.
</p>
<p>
The return value is <b>False</b> if AFormat contains any format specifier(s) or
combination of specifier(s) which are not allowed in the control.
</p>
<p>
The return value is <b>True</b> if AFormat is a valid time format setting for
use in the TimeFormat property.
</p>
<p>
ValidTimeFormat is called when a new value is assigned to the TimeFormat
property, and prevents updates to both TimeFormat and Time if the method
returns <b>False</b>.
</p>
<p>
See <link id="TTimeEdit.TimeFormat">TimeFormat</link> for more information
about the available format specifiers and their usage.
</p>
<p>
Use TimeSeparator to specify the separator character used to delimit time
parts in the formatted Text.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="TTimeEdit.Time"/>
<link id="#rtl.sysutils.FormatDateTime">FormatDateTime</link>
<link id="#rtl.sysutils.formatchars">FormatChars</link>
</seealso>
</element>
<element name="TTimeEdit.ValidTimeFormat.AFormat">
<short>
Time format examined in the method.
</short>
</element>
<element name="TTimeEdit.ValidTimeFormat.Result">
<short>
Returns <b>True</b> if the specified time format is valid for the control.
</short>
</element>
<element name="TTimeEdit.Time">
<short>Represents the time value in the control.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.Button" link="#lcl.editbtn.TCustomEditButton.Button"/>
<element name="TTimeEdit.DroppedDown">
<short>Indicates if the popup dialog for the control is visible.</short>
<descr>
DroppedDown is read-only Boolean property which indicates if the popup dialog
for the control is visible.
</descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.DefaultNow">
<short>Indicates the current time is used for an empty time value.</short>
<descr>
<p>
<var>DefaultNow</var> is a <var>Boolean</var> property which indicates if the
time value defaults to the current system time when a empty time value
assigned in the control. The default value for the property is <b>False</b>.
</p>
<p>
DefaultNow is used in the implementation of the <var>GetTime</var> method
which gets the value for the <var>Time</var> property.
</p>
</descr>
<seealso>
<link id="TTimeEdit.Time"/>
</seealso>
</element>
<element name="TTimeEdit.OnAcceptTime">
<short>
Event handler signalled to validate and accept/reject the time value for the
control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.OnCustomTime">
<short>
Event handler signalled to get an arbitrary time value for the control.
</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.ReadOnly" link="#lcl.groupededit.TCustomAbstractGroupedEdit.ReadOnly"/>
<element name="TTimeEdit.ButtonCaption" link="#lcl.editbtn.TCustomEditButton.ButtonCaption"/>
<element name="TTimeEdit.ButtonCursor" link="#lcl.editbtn.TCustomEditButton.ButtonCursor"/>
<element name="TTimeEdit.ButtonHint" link="#lcl.editbtn.TCustomEditButton.ButtonHint"/>
<element name="TTimeEdit.ButtonOnlyWhenFocused" link="#lcl.editbtn.TCustomEditButton.ButtonOnlyWhenFocused"/>
<element name="TTimeEdit.ButtonWidth" link="#lcl.editbtn.TCustomEditButton.ButtonWidth"/>
<element name="TTimeEdit.Action" link="#lcl.controls.TControl.Action"/>
<element name="TTimeEdit.Align" link="#lcl.controls.TControl.Align"/>
<element name="TTimeEdit.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TTimeEdit.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TTimeEdit.AutoSize" link="#lcl.controls.TControl.AutoSize"/>
<element name="TTimeEdit.AutoSelect" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelect"/>
<element name="TTimeEdit.BidiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TTimeEdit.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TTimeEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TTimeEdit.CharCase" link="#lcl.groupededit.TCustomAbstractGroupedEdit.CharCase"/>
<element name="TTimeEdit.Color" link="#lcl.controls.TControl.Color"/>
<element name="TTimeEdit.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TTimeEdit.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TTimeEdit.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TTimeEdit.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TTimeEdit.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TTimeEdit.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TTimeEdit.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TTimeEdit.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TTimeEdit.EchoMode" link="#lcl.groupededit.TCustomAbstractGroupedEdit.EchoMode"/>
<element name="TTimeEdit.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TTimeEdit.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TTimeEdit.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TTimeEdit.Font" link="#lcl.controls.TControl.Font"/>
<element name="TTimeEdit.MaxLength" link="#lcl.groupededit.TCustomAbstractGroupedEdit.MaxLength"/>
<element name="TTimeEdit.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TTimeEdit.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TTimeEdit.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TTimeEdit.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TTimeEdit.PopupMenu" link="#lcl.groupededit.TCustomAbstractGroupedEdit.PopUpMenu"/>
<element name="TTimeEdit.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TTimeEdit.SimpleLayout">
<short>
Indicates if the dialog uses a layout with 30 minute intervals between values.
</short>
<descr>
<p>
<var>SimpleLayout</var> is a <var>Boolean</var> property which indicates if
the popup dialog for the control uses the 2 (rows) by 6 (columns) layout with
30 minute intervals between time values. The default value for the property
is <b>True</b>. When set to <b>False</b>, a more detailed layout with 12 rows
by 5 columns using 5 minute time intervals is used.
</p>
</descr>
<seealso></seealso>
</element>
<element name="TTimeEdit.Spacing" link="#lcl.editbtn.TCustomEditButton.Spacing"/>
<element name="TTimeEdit.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TTimeEdit.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TTimeEdit.TimeAMString">
<short>
Specifies the value displayed for a 12-hour time value prior to midday (Noon).
</short>
<descr>
<p>
<var>TimeAMString</var> contains the <b><i>ante meridiem</i></b> ("before
midday") value displayed for a 12-hour Time value. It can be used to override
the TimeAMString setting provided in DefaultFormatSettings. Its value is used
in the UsedFormatSettings method, and applied when the feature is enabled using
one of the corresponding format specifiers in the TimeFormat property.
</p>
<p>
See <link id="TTimeEdit.TimeFormat">TimeFormat</link> for more information
about the available time format specifiers and their usage.
</p>
<p>
Use TimePMString for the <b><i>post meridiem</i></b> value.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.TimePMString"/>
<link id="TTimeEdit.UsedFormatSettings"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.Time"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
</seealso>
</element>
<element name="TTimeEdit.TimeFormat">
<short>
Specifies the time format used to generate the display Text for the time edit
control.
</short>
<descr>
<p>
<var>TimeFormat</var> is a <var>String</var> property which contains
FormatDateTime-compatible specifiers used to generate the Text displayed on the
time edit control. It can be used to override the default time format settings
for a given platform. TimeFormat is used in the UsedTimeFormat method called
when a new value is assigned to the Time property.
</p>
<p>
TimeFormat can contain only format specifiers accepted by FormatDateTime(),
except for those which apply to date or interval parts. The following symbols
are interpreted in a specific way:
</p>
<dl>
<dt>'h', 'H'</dt>
<dd>Represents hours.</dd>
<dt>'n', 'N'</dt>
<dd>Represents minutes.</dd>
<dt>'m', 'M'</dt>
<dd>
Represents minutes, but allowed only in conjunction with at least 'h' to avoid
misinterpretation as "month".
</dd>
<dt>'s', 'S'</dt>
<dd>Represents seconds.</dd>
<dt>'z', 'Z'</dt>
<dd>Represents milliseconds.</dd>
<dt>':'</dt>
<dd>Replaced with the value in the TimeSeparator property.</dd>
<dt>'.'</dt>
<dd>Represents the separator between seconds and milliseconds.</dd>
<dt>'ampm', 'AMPM'</dt>
<dd>
Formats the time in the 12-hour format, appends the TimeAMString or
TimePMString of the DefaultFormatSettings, depending on whether the time is in
the first or second half of the day.
</dd>
<dt>'a/p', 'am/pm', 'A/P', 'AM/PM'</dt>
<dd>
Formats the time in the 12-hour format with the corresponding part of the
symbol appended for the first or second half of the day.
</dd>
<dt>'t', 'tt'</dt>
<dd>
Replaced with the value from ShortTimeFormat or LongTimeFormat in
DefaultFormatSettings, respectively.
</dd>
<dt>'y', 'Y', 'd', 'D'</dt>
<dd>
<b>Forbidden</b> because they will introduce date parts.
</dd>
<dt>'[', ']'</dt>
<dd>
<b>Forbidden</b> because time interval formatting is not supported by this
control.
</dd>
<dt>Single (') or Double (") quotes</dt>
<dd>
Symbol replacement is <b>not</b> performed within the quoted substring.
</dd>
</dl>
<p>
Any other characters can be inserted without quoting unless they collide with
those specified above.
</p>
<p>
Changing the value in TimeFormat causes the new property value to be validated
and either accepted or rejected using the ValidTimeFormat method. When
accepted, the Text property is updated using the new format settings.
</p>
<p>
Use TimeSeparator to specify the separator character used to delimit time
parts in the format settings.
</p>
<p>
Use TimeAMString and TimePMString to override the DefaultFormatSettings suffixes used for 12-hour time format.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.Text"/>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="TTimeEdit.TimeAMString"/>
<link id="TTimeEdit.TimePMString"/>
<link id="TTimeEdit.ValidTimeFormat"/>
<link id="#rtl.sysutils.FormatDateTime">FormatDateTime</link>
<link id="#rtl.sysutils.formatchars">FormatChars</link>
</seealso>
</element>
<element name="TTimeEdit.TimeSeparator">
<short>
Specifies the separator character used to delimit time parts in the format
settings applied to the control.
</short>
<descr>
<p>
<var>TimeSeparator</var> is a <var>String</var> property which contains the
separator used to delimit time parts specified in the TimeFormat property. It
allows the default time separator from the system format settings to be
overridden in the class instance.
</p>
<p>
Changing the value for the property causes the Text property to be updated
using the new separator.
</p>
<p>
TimeSeparator is used in the UsedTimeSeparator method called when a new value
is assigned to the Time property. When omitted, the default time separator in
DefaultFormatSettings is used instead.
</p>
<p>
Please note: While TimeSeparator is a String type, only the first character
specified in the property is actually used. The other characters in the
property are ignored.
</p>
<p>
Use TimeFormat to specify the time format settings used in the class instance.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.Text"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.ValidTimeFormat"/>
<link id="TTimeEdit.UsedTimeSeparator"/>
<link id="#rtl.sysutils.FormatDateTime">FormatDateTime</link>
<link id="#rtl.sysutils.formatchars">FormatChars</link>
</seealso>
</element>
<element name="TTimeEdit.TimePMString">
<short>
Specifies the value displayed for a 12-hour time value after midday (Noon).
</short>
<descr>
<p>
<var>TimePMString</var> contains the <b><i>post meridiem</i></b> ("after
midday") value displayed for a 12-hour Time value. It can be used to override
the TimePMString setting provided in DefaultFormatSettings. Its value is used
in the UsedFormatSettings method, and applied when the feature is enabled using
one of the corresponding format specifiers in the TimeFormat property.
</p>
<p>
See <link id="TTimeEdit.TimeFormat">TimeFormat</link> for more information
about the available time format specifiers and their usage.
</p>
<p>
Use TimeAMString for the <b><i>ante meridiem</i></b> value.
</p>
</descr>
<version>
Added in LCL version 4.0.
</version>
<seealso>
<link id="TTimeEdit.TimeAMString"/>
<link id="TTimeEdit.UsedFormatSettings"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.Time"/>
<link id="#rtl.sysutils.DefaultFormatSettings">DefaultFormatSettings</link>
</seealso></element>
<element name="TTimeEdit.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TTimeEdit.Text">
<short>
Contains the formatted text used to represent the Time value for the control.
</short>
<descr>
<p>
<var>Text</var> is a published property in TTimeEdit. It contains the formatted
text displayed for the Time value in the control. It is automatically updated
when a new value is assigned to the Time, TimeFormat, or TimeSeparator
properties. It contains the result from the FormatDateTime routine called using
the Time value and format settings for the control.
</p>
<p>
Use TimeFormat to specify a FormatDateTime-compatible string used to generate
the value for the Text property.
</p>
<p>
Use TimeSeparator to specify the delimiter character used between time parts in
the TimeFormat.
</p>
</descr>
<seealso>
<link id="TTimeEdit.Time"/>
<link id="TTimeEdit.TimeFormat"/>
<link id="TTimeEdit.TimeSeparator"/>
<link id="#lcl.groupededit.TCustomAbstractGroupedEdit.Text">TCustomAbstractGroupedEdit.Text</link>
</seealso>
</element>
<element name="TTimeEdit.TextHint" link="#lcl.groupededit.TCustomAbstractGroupedEdit.TextHint"/>
<element name="TTimeEdit.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TTimeEdit.OnChange" link="#lcl.groupededit.TCustomAbstractGroupedEdit.OnChange"/>
<element name="TTimeEdit.OnChangeBounds" link="#lcl.controls.TControl.OnChangeBounds"/>
<element name="TTimeEdit.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TTimeEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TTimeEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TTimeEdit.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TTimeEdit.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TTimeEdit.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TTimeEdit.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TTimeEdit.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TTimeEdit.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TTimeEdit.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TTimeEdit.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TTimeEdit.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TTimeEdit.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TTimeEdit.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TTimeEdit.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TTimeEdit.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TTimeEdit.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TTimeEdit.OnResize" link="#lcl.controls.TControl.OnResize"/>
<element name="TTimeEdit.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="TAcceptValueEvent">
<short>
Specifies an event handler signalled when a calculator dialog has been used
to accept or reject a value.
</short>
<descr>
<p>
<var>TAcceptValueEvent</var> is the type used for the OnAcceptValue property
in TCalcEdit. Implement and assign a routine using the signature for the
event handler to respond to selection of a value using a calculator dialog.
Use the AValue and Accept variable arguments to determine the value and
action returned from the dialog instance.
</p>
</descr>
<seealso>
<link id="TCalcEdit.OnAcceptValue"/>
</seealso>
</element>
<element name="TAcceptValueEvent.Sender">
<short>
Object instance (TCalcEdit) for the event notification.
</short>
</element>
<element name="TAcceptValueEvent.AValue">
<short>
Double type with the value returned from the dialog for a calculator dialog.
</short>
</element>
<element name="TAcceptValueEvent.Accept">
<short>
Returns <b>True</b> if the OK button was used to accept the value on the
dialog. Otherwise, the return value is <b>False</b>.
</short>
</element>
<element name="TCalcEdit">
<short>
Implements an numeric edit control with a button to display a calculator
dialog.
</short>
<descr>
<p>
<var>TCalcEdit</var> is a <var>TCustomEditButton</var> descendant which
implements a numeric edit control with a button to display a calculator
dialog. It contains properties to configure the button and the calculator
dialog. Other properties are provided to access the numeric value as an
Integer or a floating point (Double) data type. Use the RunDialog method to
display the calculator dialog and get its return value.
</p>
</descr>
<seealso>
<link id="TCustomEditButton"/>
</seealso>
</element>
<element name="TCalcEdit.FDialogTitle"/>
<element name="TCalcEdit.FCalculatorLayout"/>
<element name="TCalcEdit.FOnAcceptValue"/>
<element name="TCalcEdit.FDialogPosition"/>
<element name="TCalcEdit.FDialogLeft"/>
<element name="TCalcEdit.FDialogTop"/>
<!-- private -->
<element name="TCalcEdit.GetAsFloat">
<short>Gets the value for the AsFloat property.</short>
<descr/>
<seealso>
<link id="TCalcEdit.AsFloat"/>
</seealso>
</element>
<element name="TCalcEdit.GetAsFloat.Result">
<short>Value for the property.</short>
</element>
<element name="TCalcEdit.GetAsInteger">
<short>Gets the value for the AsInteger property.</short>
<descr/>
<seealso>
<link id="TCalcEdit.AsInteger"/>
</seealso>
</element>
<element name="TCalcEdit.GetAsInteger.Result">
<short>Value for the property.</short>
</element>
<element name="TCalcEdit.SetAsFloat">
<short>Sets the value for the AsFloat property.</short>
<descr/>
<seealso>
<link id="TCalcEdit.AsFloat"/>
</seealso>
</element>
<element name="TCalcEdit.SetAsFloat.AValue">
<short>New value for the property.</short>
</element>
<element name="TCalcEdit.SetAsInteger">
<short>Sets the value for the AsInteger property.</short>
<descr/>
<seealso>
<link id="TCalcEdit.AsInteger"/>
</seealso>
</element>
<element name="TCalcEdit.SetAsInteger.AValue">
<short>New value for the property.</short>
</element>
<element name="TCalcEdit.TitleStored"/>
<element name="TCalcEdit.TitleStored.Result"/>
<element name="TCalcEdit.FCalcDialog">
<short>
<var>FCalcDialog</var> - local variable holding the Calculator Dialog for use
with this class.
</short>
<descr/>
<seealso/>
</element>
<element name="TCalcEdit.GetDefaultGlyphName" link="#lcl.editbtn.TCustomEditButton.GetDefaultGlyphName"/>
<element name="TCalcEdit.GetDefaultGlyphName.Result"/>
<element name="TCalcEdit.ButtonClick">
<short>
Performs actions needed when the button for the control is clicked.
</short>
<descr>
<p>
<var>ButtonClick</var> is an overridden method used to perform actions needed
when the <var>Button</var> for the control is clicked. For
<var>TCalcEdit</var>, the <var>RunDialog</var> method is called to execute
the dialog for the control and to capture it results. When
<var>FocusOnButtonClick</var> is set, the <var>FocusAndMaybeSelectAll</var>
method is called to give focus to the <var>Edit</var> control in the class.
</p>
</descr>
<seealso>
<link id="TCustomEditButton.ButtonClick"/>
</seealso>
</element>
<element name="TCalcEdit.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for the class instance.
Create calls the inherited constructor, and sets the default values for the
following properties:
</p>
<dl>
<dt>DialogTitle</dt>
<dd>Uses the value in the rsCalculator constant</dd>
<dt>DialogPosition</dt>
<dd>Set to poScreenCenter</dd>
</dl>
</descr>
<seealso>
<link id="TCustomEditButton.Create"/>
</seealso>
</element>
<element name="TCalcEdit.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TCalcEdit.RunDialog">
<short>
<var>RunDialog</var> - perform the function of the dialog.
</short>
<descr>
<p>
<var>RunDialog</var> is a procedure used display the form which captures the
value for the control. For <var>TCalcEdit</var>, a <var>TCalculatorForm</var>
instance is used instead of a <var>TCommonDialog</var> descendant as used in
other grouped edit controls.
</p>
<p>
Property values in the class are assigned to the form, such as: DialogTitle,
DialogTop, DialogLeft, DialogPosition, and AsFloat. The form is displayed
modally, and its value is passed to the OnAcceptValue event handler (when
assigned). The accepted value is stored in the AsFloat property.
</p>
</descr>
<seealso/>
</element>
<element name="TCalcEdit.AutoSelected" link="#lcl.groupededit.TCustomAbstractGroupedEdit.AutoSelected"/>
<element name="TCalcEdit.CalculatorLayout">
<short>
<var>CalculatorLayout</var> - normal or simple.
</short>
<descr/>
<seealso/>
</element>
<element name="TCalcEdit.AsFloat">
<short>
<var>AsFloat</var> - holds the result of the calculation as a floating-point
(double precision) number.
</short>
<descr/>
<seealso/>
</element>
<element name="TCalcEdit.AsInteger">
<short>
<var>AsInteger</var> - holds the result of the calculation as an Integer.
</short>
<descr/>
<seealso/>
</element>
<element name="TCalcEdit.OnAcceptValue">
<short>
<var>OnAcceptValue</var> - event handler for accepting the result of the
calculation.
</short>
<descr/>
<seealso/>
</element>
<element name="TCalcEdit.DialogTitle">
<short>
<var>DialogTitle</var> - the caption to be used for the dialog.
</short>
<descr/>
<seealso/>
</element>
<element name="TCalcEdit.ButtonCaption" link="#lcl.editbtn.TCustomEditButton.ButtonCaption"/>
<element name="TCalcEdit.ButtonCursor" link="#lcl.editbtn.TCustomEditButton.ButtonCursor"/>
<element name="TCalcEdit.ButtonHint" link="#lcl.editbtn.TCustomEditButton.ButtonHint"/>
<element name="TCalcEdit.ButtonOnlyWhenFocused" link="#lcl.editbtn.TCustomEditButton.ButtonOnlyWhenFocused"/>
<element name="TCalcEdit.ButtonWidth" link="#lcl.editbtn.TCustomEditButton.ButtonWidth"/>
<element name="TCalcEdit.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element name="TCalcEdit.DialogPosition">
<short>Position where the calculator dialog is displayed.</short>
<descr>
<p>
<var>DialogPosition</var> is a <var>TPosition</var> property with the
position where the calculator dialog is displayed when the button for the
control is clicked. The default value for the property is
<var>poScreenCenter</var>.
</p>
<p>
Values in DialogPosition, DialogTop, and DialogLeft are assigned to the form
for the dialog in the RunDialog method.
</p>
</descr>
<seealso>
<link id="TCalcEdit.DialogTop"/>
<link id="TCalcEdit.DialogLeft"/>
<link id="TCalcEdit.RunDialog"/>
<link id="#lcl.forms.TPosition">TPosition</link>
</seealso>
</element>
<element name="TCalcEdit.DialogTop">
<short>Vertical coordinate for the dialog displayed for the control.</short>
<descr>
</descr>
<seealso></seealso>
</element>
<element name="TCalcEdit.DialogLeft">
<short>Horizontal coordinate for the dialog displayed for the control.</short>
<descr></descr>
<seealso></seealso>
</element>
<element name="TCalcEdit.DirectInput" link="#lcl.groupededit.TCustomAbstractGroupedEdit.DirectInput"/>
<element name="TCalcEdit.Glyph" link="#lcl.editbtn.TCustomEditButton.Glyph"/>
<element name="TCalcEdit.NumGlyphs" link="#lcl.editbtn.TCustomEditButton.NumGlyphs"/>
<element name="TCalcEdit.Images" link="#lcl.editbtn.TCustomEditButton.Images"/>
<element name="TCalcEdit.ImageIndex" link="#lcl.editbtn.TCustomEditButton.ImageIndex"/>
<element name="TCalcEdit.ImageWidth" link="#lcl.editbtn.TCustomEditButton.ImageWidth"/>
<element name="TCalcEdit.Flat" link="#lcl.editbtn.TCustomEditButton.Flat"/>
<element name="TCalcEdit.FocusOnButtonClick" link="#lcl.editbtn.TCustomEditButton.FocusOnButtonClick"/>
<element name="TCalcEdit.Align" link="#lcl.controls.TControl.Align"/>
<element name="TCalcEdit.Alignment" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Alignment"/>
<element name="TCalcEdit.Anchors" link="#lcl.controls.TControl.Anchors"/>
<element name="TCalcEdit.BidiMode" link="#lcl.controls.TControl.BiDiMode"/>
<element name="TCalcEdit.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TCalcEdit.AutoSize" link="#lcl.controls.TControl.AutoSize"/>
<element name="TCalcEdit.AutoSelect" link="#lcl.stdctrls.TCustomEdit.AutoSelect"/>
<element name="TCalcEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TCalcEdit.Color" link="#lcl.controls.TControl.Color"/>
<element name="TCalcEdit.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
<element name="TCalcEdit.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element name="TCalcEdit.Enabled" link="#lcl.controls.TControl.Enabled"/>
<element name="TCalcEdit.Font" link="#lcl.controls.TControl.Font"/>
<element name="TCalcEdit.Layout" link="#lcl.groupededit.TCustomAbstractGroupedEdit.Layout"/>
<element name="TCalcEdit.MaxLength" link="#lcl.stdctrls.TCustomEdit.MaxLength"/>
<element name="TCalcEdit.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element name="TCalcEdit.ParentColor" link="#lcl.controls.TControl.ParentColor"/>
<element name="TCalcEdit.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
<element name="TCalcEdit.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
<element name="TCalcEdit.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element name="TCalcEdit.ReadOnly" link="#lcl.stdctrls.TCustomEdit.ReadOnly"/>
<element name="TCalcEdit.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
<element name="TCalcEdit.Spacing" link="#lcl.editbtn.TCustomEditButton.Spacing"/>
<element name="TCalcEdit.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
<element name="TCalcEdit.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
<element name="TCalcEdit.Text" link="#lcl.controls.TControl.Text"/>
<element name="TCalcEdit.TextHint" link="#lcl.groupededit.TCustomAbstractGroupedEdit.TextHint"/>
<element name="TCalcEdit.Visible" link="#lcl.controls.TControl.Visible"/>
<element name="TCalcEdit.OnButtonClick" link="#lcl.editbtn.TCustomEditButton.OnButtonClick"/>
<element name="TCalcEdit.OnChange" link="#lcl.stdctrls.TCustomEdit.OnChange"/>
<element name="TCalcEdit.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TCalcEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TCalcEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element name="TCalcEdit.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
<element name="TCalcEdit.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
<element name="TCalcEdit.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
<element name="TCalcEdit.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
<element name="TCalcEdit.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
<element name="TCalcEdit.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
<element name="TCalcEdit.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
<element name="TCalcEdit.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
<element name="TCalcEdit.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
<element name="TCalcEdit.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
<element name="TCalcEdit.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TCalcEdit.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TCalcEdit.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TCalcEdit.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TCalcEdit.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TCalcEdit.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TCalcEdit.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TCalcEdit.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
<element name="TCalcEdit.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
<element name="ResBtnListFilter">
<short>
Resource name for the default glyph used on the Button in
TCustomControlFilterEdit.
</short>
</element>
<element name="ResBtnFileOpen">
<short>
Resource name for the default glyph used on the Button in TFileNameEdit.
</short>
</element>
<element name="ResBtnSelDir">
<short>
Resource name for the default glyph used on the Button in TDirectoryEdit.
</short>
</element>
<element name="ResBtnCalendar">
<short>
Resource name for the default glyph used on the Button in TDateEdit.
</short>
</element>
<element name="ResBtnCalculator">
<short>
Resource name for the default glyph used on the Button in TCalcEdit.
</short>
</element>
<element name="ResBtnTime">
<short>
Resource name for the default glyph used on the Button in TTimeEdit.
</short>
</element>
<element name="Register">
<short>Registers components in the unit for use in the Lazarus IDE.</short>
<descr>
<p>
<var>Register</var> is the procedure used to add components to the component
palette in the Lazarus IDE. Register adds the following components to the
Lazarus component palette:
</p>
<p>
<b>Misc</b> Tab
</p>
<ul>
<li>TEditButton</li>
<li>TFileNameEdit</li>
<li>TDirectoryEdit</li>
<li>TDateEdit</li>
<li>TTimeEdit</li>
<li>TCalcEdit</li>
</ul>
</descr>
</element>
</module>
<!-- EditBtn -->
</package>
</fpdoc-descriptions>
|