File: dbctrls.xml

package info (click to toggle)
lazarus 4.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276,392 kB
  • sloc: pascal: 2,344,754; xml: 509,184; makefile: 355,815; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (10543 lines) | stat: -rw-r--r-- 392,238 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
<?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">
<!--
====================================================================
DbCtrls
====================================================================
-->
<module name="DbCtrls">
<short>
Data-aware controls commonly used for viewing and operating on information 
held in databases.
</short>
<descr>
<p>
<file>dbctrls.pp</file> contains data-aware controls used to access, view, 
edit, and navigate databases in the Lazarus Component Library (<b>LCL</b>).
</p>
<p>
The following components are added to the <b>Data Controls</b> tab in the 
Lazarus IDE Component Palette:
</p>
<ul>
<li>TDBNavigator</li>
<li>TDBText</li>
<li>TDBEdit</li>
<li>TDBMemo</li>
<li>TDBImage</li>
<li>TDBListBox</li>
<li>TDBLookupListBox</li>
<li>TDBComboBox</li>
<li>TDBLookupComboBox</li>
<li>TDBCheckBox</li>
<li>TDBRadioGroup</li>
<li>TDBCalendar</li>
<li>TDBGroupBox</li>
</ul>
<p>
DefaultFieldClasses (defined in the FPC FCL) are registered as database field 
classes in the IDE. The TIntegerField type (also defined in the FPC FCL) is 
registered as a database field class, and is aliased to the TLongintField 
type. For more information about database field classes, see <link 
id="#fcl.db.DefaultFieldClasses">DefaultFieldClasses</link> and <link 
id="#fcl.db.TIntegerField">TIntegerField</link>.
</p>
</descr>

<element name="Types"/>
<element name="Classes"/>
<element name="SysUtils"/>
<element name="DB"/>
<element name="Variants"/>
<element name="LCLStrConsts"/>
<element name="LMessages"/>
<element name="LCLType"/>
<element name="LCLIntf"/>
<element name="LResources"/>
<element name="Controls"/>
<element name="Graphics"/>
<element name="Dialogs"/>
<element name="StdCtrls"/>
<element name="Buttons"/>
<element name="MaskEdit"/>
<element name="ExtCtrls"/>
<element name="Calendar"/>
<element name="ImgList"/>
<element name="GraphType"/>
<element name="LazTracer"/>
<element name="LazUtilities"/>

<element name="TFieldDataLink">
<short>
Maintains an association between a control, an action, and a field in a 
linked dataset.
</short>
<descr>
<p>
<var>TFieldDataLink</var> is a <var>TDataLink</var> descendant which 
maintains an association between a control, an action, and a field in a 
linked dataset. TFieldDataLink extends the ancestor class to provide 
additional properties, methods, and events useful when working with a 
data-aware control linked to a field in a dataset.
</p>
<p>
The following key properties are added in the class:
</p>
<ul>
<li>Control</li>
<li>FieldName</li>
<li>Field</li>
</ul>
<p>
The following events are added in the class:
</p>
<ul>
<li>OnDataChange</li>
<li>OnUpdateData</li>
<li>OnEditingDone</li>
<li>OnActiveChange</li>
</ul>
<p>
TFieldDataLink is used in the implementation of several data-aware controls. 
In most cases, it is used in an internal member and not exposed in the 
interface for the control. It can, however, be used as a public or published 
property.
</p>
</descr>
<seealso>
<link id="TDBLookup"/>
<link id="TDBEdit"/>
<link id="TDBText"/>
<link id="TDBRadioGroup"/>
<link id="TDBCheckBox"/>
<link id="TDBMemo"/>
<link id="TDBGroupBox"/>
<link id="TDBImage"/>
<link id="TDBCalendar"/>
<link id="TCustomDBComboBox"/>
<link id="#fcl.db.TDataLink">TDataLink</link>
</seealso>
</element>

<element name="TFieldDataLink.FField"/>
<element name="TFieldDataLink.FFieldName"/>
<element name="TFieldDataLink.FControl"/>
<element name="TFieldDataLink.FOnDataChange"/>
<element name="TFieldDataLink.FOnEditingChange"/>
<element name="TFieldDataLink.FOnUpdateData"/>
<element name="TFieldDataLink.FOnActiveChange"/>
<element name="TFieldDataLink.FEditing"/>
<element name="TFieldDataLink.FEditingSourceSet"/>
<element name="TFieldDataLink.FEditingSource"/>

<element name="TFieldDataLink.IsModified"/>

<element name="TFieldDataLink.FieldCanModify">
<short>Indicates if the Field for the data link can be modified.</short>
</element>
<element name="TFieldDataLink.FieldCanModify.Result">
<short>
<b>True</b> when Field is assigned and its CanModify method is also 
<b>True</b>.
</short>
</element>
<element name="TFieldDataLink.IsKeyField">
<short>
Indicates if the specified field is present in the KeyFields for the data 
link.
</short>
</element>
<element name="TFieldDataLink.IsKeyField.Result">
<short>
<b>True</b> when the name for the field is present in KeyFields.
</short>
</element>
<element name="TFieldDataLink.IsKeyField.aField">
<short>Field definition to locate in the KeyFields for the data link.</short>
</element>
<element name="TFieldDataLink.GetCanModify">
<short>Gets the value for the CanModify property.</short>
<seealso>
<link id="TFieldDataLink.CanModify"/>
</seealso>
</element>
<element name="TFieldDataLink.GetCanModify.Result">
<short>Value for the property.</short>
</element>
<element name="TFieldDataLink.SetFieldName">
<short>Sets the value for the FieldName property.</short>
<descr/>
<seealso>
<link id="TFieldDataLink.FieldName"/>
</seealso>
</element>
<element name="TFieldDataLink.SetFieldName.Value">
<short>Value for the property.</short>
</element>

<element name="TFieldDataLink.UpdateField">
<short>
Retrieves the value for the Field property from the linked dataset.
</short>
<descr/>
<seealso/>
</element>

<element name="TFieldDataLink.ValidateField">
<short>
Checks for FieldName in the linked Dataset, and updates the value in Field.
</short>
<descr/>
<seealso>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
</seealso>
</element>
<element name="TFieldDataLink.ResetEditingSource">
<short>Resets the EditingSource and EditingSourceSet Boolean flags.</short>
<descr/>
<seealso/>
</element>
<element name="TFieldDataLink.ActiveChanged">
<short>
<var>ActiveChanged</var> - method to process changes in the <var>Active</var> 
property.
</short>
<descr>
<p>
<var>ActiveChanged</var> - method to process changes in the <var>Active</var> 
property.
</p>
<p>
Any change to the <var>Active</var> property triggers the 
<var>ActiveChanged</var> method.
</p>
<p>
If the method is triggered by a transition into an <var>Active</var> state, 
then <var>ActiveChanged</var> ensures that this <var>TFieldDataLink</var>'s 
<var>Field</var> is still valid before calling the event handler.
</p>
<p>
ActiveChanged calls the <var>OnActiveChange</var> event handler if one has 
been assigned.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.OnActiveChange"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TFieldDataLink.EditingChanged">
<short>
<var>EditingChanged</var> - method for processing changes in the 
<var>Editing</var> property.
</short>
<descr>
<p>
<var>EditingChanged</var> is an overridden method which re-implements the 
virtual method defined in <var>TDataLink</var>. EditingChanged ensures that 
the
<var>Editing</var> property is updated to reflect actual state for the
<var>Field</var> in the linked dataset. If the real editing state does not 
match the value in the Editing property, internal flags are reset to reflect 
the new editing state and the <var>OnEditingChange</var> event handler is 
signalled (when assigned).
</p>
<p>
EditingChanged is used in the implementation of the <var>LayoutChanged</var> 
method. It is also called when the value in the <var>FieldName</var> or 
<var>Active</var> property is changed.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Editing"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="TFieldDataLink.OnEditingChange"/>
</seealso>
</element>
<element name="TFieldDataLink.LayoutChanged">
<short>
<var>LayoutChanged</var>- called if layout is changed: tests validity of 
field then calls <var>OnLayoutChange</var> event handler.
</short>
<descr>
<p>
<var>LayoutChanged</var> is an overridden procedure called when the field 
binding in the linked dataset for a data-aware Control has been changed. 
LayoutChanged calls the ValidateField method to ensure that the Field is 
valid / up-to-date, or set to <b>Nil</b> when the FieldName does not exist in 
the linked dataset. If the Field is assigned (not <b>Nil</b>), the 
EditingChanged and RecordChanged methods are called.
</p>
<remark>
LayoutChanged does not call the inherited method.
</remark>
<p>
LayoutChanged is used primarily in the implementation of methods in 
TCustomDBGrid and descendent classes.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Control"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="TFieldDataLink.RecordChanged"/>
<link id="#lcl.dbgrids.TCustomDBGrid">TCustomDBGrid</link>
</seealso>
</element>
<element name="TFieldDataLink.RecordChanged">
<short>
<var>RecordChanged</var> - triggered if the contents of the current record 
change; calls
<var>Reset</var>.
</short>
<descr>
<p>
<var>RecordChanged</var> is an overridden procedure called when the current 
record in the linked dataset has been changed.
</p>
<p>
<var>AField</var> contains the TField definition with the value that has 
changed in the current record. It may contain <b>Nil</b> when more than one 
field has been changed in the current record for the linked dataset.
</p>
<p>
RecordChanged calls the Reset method when any of the following are 
<b>True</b>:
</p>
<ul>
<li>AField is unassigned (contains Nil)</li>
<li>AField has the same value as the Field property</li>
<li>Field is an assigned key field which uses the fkLookup field kind</li>
</ul>
<p>
Applications should not call this method; it is executed when values are 
stored by data-aware controls which use the field data link.
</p>
</descr>
<seealso/>
</element>
<element name="TFieldDataLink.RecordChanged.aField">
<short>Field definition with the value updated in the current record.</short>
</element>
<element name="TFieldDataLink.UpdateData">
<short>
Signals the <var>OnUpdateData</var> event handler for pending changes to the 
linked dataset.
</short>
<descr>
<p>
<var>UpdateData</var> is an overridden procedure used to post pending updates 
from a data-aware control to the linked dataset. UpdateData uses the value in 
the internal IsModified flag to determine if additional actions are required 
in the method. No actions are performed when the internal IsModified flag has 
not been set.
</p>
<p>
UpdateData signals the <var>OnUpdateData</var> event handler when it has been 
assigned for the class instance. This event handler normally contains a 
reference to the <var>UpdateData</var> method defined for the associated 
data-aware <var>Control</var>, such as <var>TCustomDBGrid.UpdateData</var> 
and <var>TDBEdit.UpdateData</var>.
</p>
<remark>
UpdateData does <b>not</b> call the inherited method in the ancestor class.
</remark>
</descr>
<seealso>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="TFieldDataLink.Control"/>
</seealso>
</element>
<element name="TFieldDataLink.FocusControl">
<short>
<var>FocusControl</var> gives the input focus to the data-aware control in 
the class instance.
</short>
<descr>
<p>
<var>FocusControl</var> is an overridden procedure used to give input focus 
to the data-aware <var>Control</var> for the class instance.
</p>
<p>
<var>AField</var> is a reference to the <var>TField</var> which defines the 
field for the data-aware control. AField must be assigned, and point to the
<var>Field</var> used in the class instance. No actions are performed in the 
method if either condition is not met.
</p>
<p>
FocusControl can be used for any Control descended from TWinControl where its 
CanFocus value is <b>True</b>; the SetFocus method in the Control is called 
to receive the input focus.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Control"/>
<link id="TFieldDataLink.Field"/>
<link id="#lcl.controls.TWinControl.CanFocus">TWinControl.CanFocus</link>
<link id="#lcl.controls.TWinControl.SetFocus">TWinControl.SetFocus</link>
</seealso>
</element>
<element name="TFieldDataLink.FocusControl.aField">
<short>Reference to the field expected for the focused control.</short>
</element>
<element name="TFieldDataLink.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 on entry to the method. Create sets the value 
in the <var>VisualControl</var> property to <b>True</b>.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.Create">TDataLink.Create</link>
</seealso>
</element>
<element name="TFieldDataLink.Edit">
<short>
<var>Edit</var> - if the field can be modified, performs inherited Edit and 
shows editing status.
</short>
<descr>
<p>
<var>Edit</var> is a <var>Boolean</var> function used to ensure that the 
field in the linked dataset can be modified. The return value is
<b>True</b> when the DataSource is already in an edit state, or if it is 
successfully changed to an edit state. The return value is
<b>False</b> if a dataset is not available, or not in a valid edit state.
</p>
<p>
Edit calls the inherited method when CanModify is <b>True</b> and the dataset 
is not already in an edit state. This causes the DataSource to call its Edit 
method.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.CanModify"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.Edit">TDataLink.Edit</link>
<link id="#fcl.db.TDataSource.Edit">TDataSource.Edit</link>
</seealso>
</element>
<element name="TFieldDataLink.Edit.Result">
<short><b>True</b> if the linked dataset is in an edit state.</short>
</element>
<element name="TFieldDataLink.Modified">
<short>Updates the class when the linked dataset enters an edit state.</short>
<descr>
<p>
<var>Modified</var> is a procedure which updates the class when the linked 
dataset is placed in an edit state. Modified sets the value in the internal 
IsModified member to <b>True</b> to track the state change independent of the 
real state for the linked dataset.
</p>
<p>
The EditingChanged, UpdateData, and Reset methods reverse the action 
performed in Modified.
</p>
<p>
Modified is used in the implementation of methods in data-aware controls, and 
generally occurs just prior to calling the Change method to signal an update 
to the value for the control.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.EditingChanged"/>
<link id="TFieldDataLink.UpdateData"/>
<link id="TFieldDataLink.Reset"/>
<link id="TDBEdit.Change"/>
<link id="TDBImage.Change"/>
<link id="TDBMemo.Change"/>
</seealso>
</element>
<element name="TFieldDataLink.Reset">
<short>
Checks whether the link is active, calls the <var>OnDataChange</var> event 
handler then sets <var>IsModified</var> to <b>False</b>.
</short>
<descr>
<p>
<var>Reset</var> is a procedure used to cancel pending changes in the Control 
value before they are written to the Field in the linked dataset. Reset 
signals the
<var>OnDataChange</var> event handler (when assigned), but does not store 
pending changes to the current record in the linked dataset.
</p>
<p>
The internal IsModified flag is reset in the method, as are flags which track 
the editing state for the source of the control value. Call the OnDataChange 
event handler to affect the internal IsModified flag only.
</p>
<p>
Reset is used in the implementation of methods in data-aware controls which 
process, apply, or cancel changes to the control value.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Control"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TDBEdit.Reset"/>
<link id="TDBEdit.KeyDown"/>
</seealso>
</element>
<element name="TFieldDataLink.Control">
<short>The <var>Control</var> to which this datalink is attached.</short>
<descr>
<p>
<var>Controls</var> is a <var>TComponent</var> property which contains the 
control which provides editing facilities for the value in the linked 
dataset. The value in control is generally assigned when a data-aware control 
is created and its data link is configured.
</p>
<p>
The value in Control is used in the implementation of the 
<var>FocusControl</var> method to give input focus to the control.
</p>
<p>
Use the <var>FieldName</var> property to access the name of the field in the 
linked dataset.
</p>
<p>
Use the <var>DataSource</var> property to access the component which provides 
access to the linked <var>DataSet</var> with the <var>Field</var> value.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FocusControl"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>
<element name="TFieldDataLink.Field">
<short>The <var>Field</var> to which the datalink is attached.</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which contains the 
field definition in the linked <var>DataSet</var> for the database column 
represented by the <var>FieldName</var> property. Field provides access to 
the metadata for the database column, such as: field type, size, display 
values, lookup settings and content, editing mask, et. al.
</p>
<p>
The value in Field is assigned in the private UpdateField method when the 
value for the FieldName property is changed. Its value is also accessible to 
the data-aware <var>Control</var> using the TFieldDataLink instance.
</p>
<p>
The <var>DataSource</var> and <var>DataSet</var> properties contain the 
source with the fields and values for the class instance.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Control"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>
<element name="TFieldDataLink.FieldName">
<short>
<var>FieldName</var> - the name of the attached field, stored as a string.
</short>
<descr>
<p>
<var>FieldName</var> is a <var>String</var> property which contains the name 
of the field in the linked <var>Dataset</var> with the value for a data-aware 
<var>Control</var>. Changing the value for the property causes 
<var>Field</var> to be updated to reflect the new value. If the data link is 
marked as <var>Active</var>, the <var>EditingChanged</var> and 
<var>Reset</var> methods are called to trigger event handlers in the class 
instance.
</p>
<p>
Use the DataSource property to assign the component with the linked DataSet 
which contains the specified FieldName.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Control"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="TFieldDataLink.Reset"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
</seealso>
</element>
<element name="TFieldDataLink.CanModify">
<short>
<b>True</b> if the linked field is capable of being modified.
</short>
<descr>
<p>
<var>CanModify</var> is a read-only <var>Boolean</var> property which 
indicates if the field in the linked <var>DataSet</var> can be modified. The 
property value is determined by examining the <var>Field</var> definition in 
the DataSet.
</p>
<p>
If Field has not been assigned by setting the <var>FieldName</var> property, 
the property value is <b>False</b>. If the Field is a lookup field type, the 
value is <b>True</b> when its list fields can be modified. Otherwise, the 
value in the CanModify property for the Field and the ReadOnly property in 
the data link determine the property value.
</p>
<p>
CanModify is used in the implementation of the EditingChanged and Edit 
methods.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Edit"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
</seealso>
</element>
<element name="TFieldDataLink.Editing">
<short>
<b>True</b> if the linked field is being edited.
</short>
<descr>
<p>
<var>Editing</var> is a read-only <var>Boolean</var> property which indicates 
if values in the class instance have been updated in its methods. It is used 
in methods for data-aware controls, and determines whether a control uses the 
data link to commit or discard value changes in the control.
</p>
<p>
The value in Editing is updated following changes to the 
<var>DataSource</var>, <var>FieldName</var>, <var>Field</var>, 
<var>ReadOnly</var>, or <var>Active</var> properties.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.ActiveChanged"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
</seealso>
</element>

<element name="TFieldDataLink.EditingSource">
<short>Indicates if the data link is changing its source properties.
</short>
<descr>
<p>
<var>EditingSource</var> is a read-only <var>Boolean</var> property which 
indicates if the data link is changing the source properties for the class 
instance. The source properties include <var>DataSource</var>, 
<var>FieldName</var>, and <var>Field</var>.
</p>
<p>
The value in EditingSource is updated when the <var>Edit</var> or 
<var>EditingChanged</var> methods are called. It is used to prevent multiple 
calls to the Edit method.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Edit"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element name="TFieldDataLink.OnDataChange">
<short>
Event handler signalled when the field data link has been changed.
</short>
<descr>
<p>
<var>OnDataChange</var> is a <var>TNotifyEvent</var> property which contains 
the event handler signalled when the <var>DataSource</var> or 
<var>Field</var> has been changed in the class instance. OnDataChange is 
normally signalled from the <var>DataChange</var> method in a data-aware 
control which has been assigned to the event handler when the control was 
initialized. It is also signalled from the <var>Reset</var> method which 
cancels field updates for the control.
</p>
<p>
See <var>OnUpdateData</var> for the event handler signalled when pending 
edits are written to the linked <var>DataSet</var>. See 
<var>EditingChanged</var> for the event handler signalled for pending changes 
to the <var>DataSource</var>, <var>Field</var>, or <var>FieldName</var> 
properties.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.Reset"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="TFieldDataLink.OnEditingChange"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="TFieldDataLink.UpdateData"/>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#rtl.classes.TNotifyEvent">TNotifyEvent</link>
</seealso>
</element>

<element name="TFieldDataLink.OnEditingChange">
<short>
<var>OnEditingChange</var> - event handler for a changed in the 
<var>Editing</var> property.
</short>
<descr>
<p>
<var>OnEditingChange</var> is a <var>TNotifyEvent</var> property which 
contains the event handler signalled when the value in the <var>Editing</var> 
property has been changed. OnEditingChange is signalled from the 
<var>EditingChanged</var> method (when assigned) after Editing has been 
updated to reflect the current edit state.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Editing"/>
<link id="TFieldDataLink.EditingChanged"/>
</seealso>
</element>
<element name="TFieldDataLink.OnUpdateData">
<short>
<var>OnUpdateData</var> - event handler for updating any pending changes in 
the data.
</short>
<descr>
<p>
<var>OnUpdateData</var> is a <var>TNotifyEvent</var> property which contains 
the event handler signalled for changes to the data in the control.
</p>
<p>
OnUpdateData is signalled from the <var>UpdateData</var> method, and normally 
contains a reference to the UpdateData method in the data-aware control which 
contains the class instance. The method in the data-aware control is 
responsible for performing any actions needed before the field value is 
written to its dataset. This can include validation of the field value, and 
potentially raising an exception for an invalid field value.
</p>
</descr>
<seealso/>
</element>

<element name="TFieldDataLink.OnActiveChange">
<short>
<var>OnActiveChange</var> - event handler for a change in the 
<var>Active</var> property.
</short>
<descr>
<p>
<var>OnActiveChange</var> is a <var>TNotifyEvent</var> property which 
contains the event handler signalled when the value for the <var>Active</var> 
property has been changed. OnActiveChange is signalled from the 
<var>ActiveChanged</var> method, and occurs after the <var>Field</var> 
property has been updated and the <var>OnDataChange</var> event handler has 
been executed.
</p>
<p>
Applications can implement and assign an object procedure to the property to 
allow responding the event notification.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.ActiveChanged"/>
<link id="TFieldDataLink.EditingChanged"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.Reset"/>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
<link id="#rtl.classes.TNotifyEvent">TNotifyEvent</link>
</seealso>
</element>

<element name="TDBLookup">
<short>
<var>TDBLookup</var> - used as source of data by <var>TDBLookupListBox</var> 
or
<var>TDBLookupComboBox</var>, to find data from a lookup table.
</short>
<descr>
<p>
<var>TDBLookup</var> component is typically owned by a Lookup control like 
<var>TDBLookupListBox</var> or <var>TDBLookupComboBox</var>.
</p>
<p>
The <var>ListSource</var> is the <var>TDataSource</var> for the other Dataset 
from which lookup values are retrieved.
</p>
<p>
The <var>KeyField</var> is the lookup key in <var>ListSource</var> which 
corresponds to the <var>DataField</var> value.
</p>
<p>
The <var>ListField</var> is the name of the field in <var>ListSource</var> to 
list into the <var>Items</var> property of the lookup control.
</p>
<p>
Use <var>EmptyValue</var> to specify a <var>KeyField</var> value 
automatically added to the <var>ControlItems</var> property when the linked 
lookup dataset contains no records. No entry is added to Controlitems when 
the value in EmptyValue is an empty string <b>('')</b>. The value in 
<var>DisplayEmpty</var> is used for the ListField displayed in the control.
</p>
</descr>
<version>
The EmptyValue and DisplayEmpty properties were added in revision 62844, and 
released in LCL version 2.0.8 and higher.
</version>
</element>
<element name="TDBLookup.FControlLink"/>
<element name="TDBLookup.FControlItems"/>
<element name="TDBLookup.FListLink"/>
<element name="TDBLookup.FListSource"/>
<element name="TDBLookup.FLookupSource"/>
<element name="TDBLookup.FDataFieldNames"/>
<element name="TDBLookup.FKeyFieldNames"/>
<element name="TDBLookup.FListFieldName"/>
<element name="TDBLookup.FEmptyValue"/>
<element name="TDBLookup.FDisplayEmpty"/>
<element name="TDBLookup.FListFieldIndex"/>
<element name="TDBLookup.FDataFields"/>
<element name="TDBLookup.FKeyFields"/>
<element name="TDBLookup.FListField"/>
<element name="TDBLookup.FListKeys"/>
<element name="TDBLookup.FNullValueKey"/>
<element name="TDBLookup.FHasLookUpField"/>
<element name="TDBLookup.FLookUpFieldIsCached"/>
<element name="TDBLookup.FLookupCache"/>
<element name="TDBLookup.FInitializing"/>
<element name="TDBLookup.FScrollListDataset"/>
<element name="TDBLookup.FFetchingLookupData"/>
<element name="TDBLookup.ActiveChange"/>
<element name="TDBLookup.ActiveChange.Sender"/>
<element name="TDBLookup.DataSetChange"/>
<element name="TDBLookup.DatasetChange.Sender"/>
<element name="TDBLookup.DoInitialize"/>
<element name="TDBLookup.FetchLookupData"/>
<element name="TDBLookup.GetKeyFieldName"/>
<element name="TDBLookup.GetKeyFieldName.Result"/>
<element name="TDBLookup.GetListSource"/>
<element name="TDBLookup.GetListSource.Result"/>
<element name="TDBLookup.SetKeyFieldName"/>
<element name="TDBLookup.SetKeyFieldName.Value"/>
<element name="TDBLookup.SetListFieldName"/>
<element name="TDBLookup.SetListFieldName.Value"/>
<element name="TDBLookup.SetListSource"/>
<element name="TDBLookup.SetListSource.Value"/>
<element name="TDBLookup.SetLookupCache"/>
<element name="TDBLookup.SetLookupCache.Value"/>
<element name="TDBLookup.HandleNullKey"/>
<element name="TDBLookup.HandleNullKey.Result"/>
<element name="TDBLookup.HandleNullKey.Key"/>
<element name="TDBLookup.HandleNullKey.Word"/>
<element name="TDBLookup.Notification">
<short>
Performs the notification message received for a component in the class 
instance.</short>
<descr>
<p>
Notification is an overridden method in TDBLookup. It calls the inherited 
method, and ensures that the ListSource property is set to Nil when the 
component is being removed.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.Notification">TComponent.Notification</link>
</seealso>
</element>
<element name="TDBLookup.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBLookup.Notification.Operation">
<short>Operation for the notification.</short>
</element>
<element name="TDBLookup.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 resources needed for 
internal members in the class instance, and sets the default values for the 
<var>DisplayEmpty</var> and <var>EmptyValue</var> properties (both are set to 
an empty string).
</p>
</descr>
<seealso>
<link id="TDBLookup.DisplayEmpty"/>
<link id="TDBLookup.EmptyValue"/>
<link id="#rtl.classes.TComponent.Create">TComponent.Create</link>
</seealso>
</element>

<element name="TDBLookup.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. 
Destroy ensures that resources allocated to internal members in the class 
instance are freed, and calls the inherited destructor prior to exiting from 
the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.Destroy">TComponent.Destroy</link>
</seealso>
</element>

<element name="TDBLookup.Initialize">
<short>
<var>Initialize</var> makes links between local Fields and the appropriate 
fields in the remote data source, then fetches the lookup data.
</short>
<descr>
<p>
<var>Initialize</var> is called when the value in the <var>Active</var> 
property for the list dataset is changed to <b>True</b>. No actions are 
performed in the method if it has already been called, but has not yet 
finished.
</p>
<p>
When <var>ScrollListDataset</var> is <b>True</b>, the linked datasets for the 
control and its lookup list are synchronized. The lookup dataset is 
positioned to the record with the values in the key fields. When 
ScrollListDataset is set to <b>False</b>, the datasets are not synchronized.
</p>
</descr>
</element>
<element name="TDBLookup.Initialize.AControlDataLink">
<short>
Link to the dataset with the keys and display values for the control.
</short>
</element>
<element name="TDBLookup.Initialize.AControlItems">
<short>Contains the keys and display values for the lookup control.</short>
</element>
<element name="TDBLookup.KeyFieldValue">
<short>
Gets the value(s) for one or more key fields defined for the Field in the 
linked dataset.
</short>
<descr>
<p>
<var>KeyFieldValue</var> is a <var>Variant</var> function used to get one or 
more values for fields which make up the index key for the linked dataset in 
the control. KeyFieldValue uses the internal <var>TFieldDataLink</var> 
instance in the class to get the return value for the method. The return 
value contains the content from the <var>FieldValues</var> property for the 
linked <var>DataSet</var>.
</p>
<p>
The return value is <b>Null</b> under the following conditions:
</p>
<ul>
<li>The internal data link has not been assigned</li>
<li>The Dataset in the data link is not Active</li>
<li>The Field in the data link does not have defined key field names</li>
</ul>
<p>
KeyFieldValue is useful for getting the index value for the current record in 
the linked dataset. It is not, however, used in the implementation of the 
class or descendants.
</p>
</descr>
<seealso>
<link id="TDBLookup.KeyField"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataSet.FieldValues">TDataSet.FieldValues</link>
</seealso>
</element>
<element name="TDBLookup.KeyFieldValue.Result">
<short>
Variant value for the key fields in the field definition for the control.
</short>
</element>
<element name="TDBLookup.UpdateData">
<short>
Signals the <var>OnUpdateData</var> event handler for pending changes to the 
linked dataset.
</short>
<descr>
<p>
<var>UpdateData</var> is a procedure used to post pending updates from a 
data-aware control to the specified key field in the linked dataset. 
<var>ValueIndex</var> contains the ordinal position in the list of key fields 
for the value updated in the method. No actions are performed in the method 
when ValueIndex is not a valid position for the list of key fields.
</p>
<p>
UpdateData uses the value in <var>ScrollListDataset</var> to determine 
whether the lookup dataset is moved to the new key value. When 
ScrollListDataset contains <b>True</b>, the linked lookup dataset calls its 
Locate method to find the record with the key value in its index fields. The 
lookup dataset is not moved when ScrollListDataset contains <b>False</b>.
</p>
<p>
The internal <var>TFieldDataLink</var> is used to access the linked dataset 
where the value for the control is stored. It has not been assigned, is not 
<var>Active</var>, or already contains the new key value, no additional 
actions are performed in the method. Otherwise, the new key value is stored 
in the field for the index key field.
</p>
</descr>
<seealso>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.ScrollListDataset"/>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
</seealso>
</element>
<element name="TDBLookup.UpdateData.ValueIndex">
<short>Ordinal position in the key fields located in the method.</short>
</element>

<element name="TDBLookup.GetKeyValue">
<short>
Gets the value for the key field at the specified ordinal position in the 
list of values from the lookup dataset.
</short>
<descr>
<p>
<var>GetKeyValue</var> is a <var>Variant</var> function used to get a values 
from an index key field in the linked lookup dataset.
</p>
<p>
<var>ValueIndex</var> contains the ordinal position in the list of fields 
defined as key fields in the Field for the linked dataset. When ValueIndex 
contains a valid position for the list of fields names, the corresponding 
field value from the lookup dataset is returned. Otherwise, the <b>Null</b> 
value is used as the return value for the method.
</p>
<p>
GetKeyField is called from methods in controls which use TDBLookup in their 
implementation, such as <var>TDBLookupListBox</var> and 
<var>TDBLookupComboBox</var>.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox"/>
<link id="TDBLookupComboBox"/>
<link id="#fcl.db.TDataSet.Fields">TDataSet.Fields</link>
<link id="#fcl.db.TField.KeyFields">TField.KeyFields</link>
<link id="#fcl.db.TField.LookupKeyFields">TField.LookupKeyFields</link>
</seealso>
</element>
<element name="TDBLookup.GetKeyValue.Result">
<short>Value for the Key field retrieved from the lookup dataset.</short>
</element>
<element name="TDBLookup.GetKeyValue.ValueIndex">
<short>
Ordinal position in the list of key values from the lookup dataset.
</short>
</element>
<element name="TDBLookup.GetKeyIndex">
<short>
Gets the ordinal position in the list for the specified key value.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookup.GetKeyIndex.Result">
<short>Ordinal position for the specified key value.</short>
</element>
<element name="TDBLookup.GetKeyIndex.AKeyValue">
<short>Key value to locate in the method.</short>
</element>
<element name="TDBLookup.ControlItems">
<short>Contains the items displayed for the lookup control.</short>
<descr>
<p>
<var>ControlItems</var> is a <var>TStrings</var> property used to store the 
display values for items in the lookup control.
</p>
<p>
Values in ControlItems are passed as an argument to the Initialize method 
called when the value in Active is changed. It is updated when values are 
retrieved from a linked lookup dataset using the ListField defined for the 
control. ControlItems is cleared if the linked lookup dataset does not 
contain any records; an empty value is added to the property when EmptyValue 
and DisplayEmpty have been assigned in the control.
</p>
</descr>
<seealso/>
</element>
<element name="TDBLookup.LookupCache">
<short>
Indicates if look-up information is cached in the field data link for the 
control.
</short>
<descr>
<p>
Used in classes with TDBLookup in their implementation, like 
<var>TDBLookupComboBox</var> and <var>TDBLookupListBox</var>.
</p>
</descr>
<seealso/>
</element>
<element name="TDBLookup.KeyField">
<short>The name of the <var>KeyField</var> used in the lookup search.</short>
</element>
<element name="TDBLookup.ListField">
<short>
<var>ListField</var> - the name of the list field displayed for the 
lookup.</short>
</element>
<element name="TDBLookup.ListFieldIndex">
<short>
<var>ListFieldIndex</var> - the index value of the list field.</short>
</element>
<element name="TDBLookup.ListSource">
<short>
<var>ListSource</var> - the data source that contains the lookup list.
</short>
</element>
<element name="TDBLookup.NullValueKey">
<short>
Keyboard shortcut which causes an empty value to be assigned to each of the 
key fields defined for the lookup control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookup.ScrollListDataset">
<short>
Indicates if the Dataset in ListSource can be scrolled when loading/locating 
key and display values.
</short>
<descr>
<p>
<var>ScrollListDataset</var> is a <var>Boolean</var> property which indicates 
if the linked lookup dataset can be scrolled when loading values from the 
fields identified in KeyField and ListField. The value in ScrollListDataset 
is used in the implementation of the <var>Initialize</var> and 
<var>UpdateData</var> methods.
</p>
</descr>
<seealso>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.ListField"/>
<link id="TDBLookup.ListSource"/>
<link id="TDBLookup.Initialize"/>
<link id="TDBLookup.UpdateData"/>
</seealso>
</element>
<element name="TDBLookup.EmptyValue">
<short>
Value stored for the lookup control when a lookup value is not available.
</short>
<descr>
<p>
<var>EmptyValue</var> is a <var>String</var> property which contains the 
value stored in the list of key values when no records are available in the 
linked lookup dataset, or when the <var>NullValueKey</var> shortcut is 
pressed.
</p>
<p>
Use <var>EmptyValue</var> to specify a KeyField value automatically added to 
the <var>ControlItems</var> property when the linked lookup dataset contains 
no records. No entry is added to Controlitems when the value in EmptyValue is 
an empty string (''). The value in <var>DisplayEmpty</var> is used for the 
<var>ListField</var>displayed in the control.
</p>
<p>
Use <var>DisplayEmpty</var> to specify the value displayed in the lookup 
control when no records are available in the linked lookup dataset, or when 
the NullValueKey shortcut is pressed.
</p>
</descr>
<seealso>
<link id="TDBLookup.DisplayEmpty"/>
<link id="TDBLookup.ControlItems"/>
<link id="TDBLookup.ListField"/>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.NullValueKey"/>
</seealso>
<version>
The EmptyValue and DisplayEmpty properties were added in revision 62844, and 
released in LCL version 2.0.8 and higher.
</version>
</element>
<element name="TDBLookup.DisplayEmpty">
<short>
Value displayed in the lookup control when a lookup value is not available.
</short>
<descr>
<p>
<var>DisplayEmpty</var> is a <var>String</var> property which contains the 
value displayed in the lookup when no records are available in the linked 
lookup dataset, or when the <var>NullValueKey</var> shortcut is pressed.
</p>
<p>
Use <var>EmptyValue</var> to specify a KeyField value automatically added to 
the <var>ControlItems</var> property when the linked lookup dataset contains 
no records. No entry is added to Controlitems when the value in EmptyValue is 
an empty string (''). The value in <var>DisplayEmpty</var> is used for the 
<var>ListField</var> displayed in the control.
</p>
<p>
Use <var>EmptyValue</var> to specify the value stored in the lookup when no 
records are available in the linked lookup dataset, or when the NullValueKey 
shortcut is pressed.
</p>
</descr>
<seealso>
<link id="TDBLookup.EmptyValue"/>
<link id="TDBLookup.ControlItems"/>
<link id="TDBLookup.ListField"/>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.NullValueKey"/>
</seealso>
<version>
The EmptyValue and DisplayEmpty properties were added in revision 62844, and 
released in LCL version 2.0.8 and higher.
</version>
</element>
<element name="TDBEdit">
<short>
<var>TDBEdit</var> - a data-aware edit box for processing a single 
text-string from a dataset.
</short>
<descr>
<p>
<var>TDBEdit</var> is a <var>TCustomMaskEdit</var> descendant which 
implements a data-aware control which allows editing of the value in a 
database field. Like its ancestor class, TDBEdit displays and edits a single 
line of text. For multi-line text values, use the <var>TDBMemo</var> control.
</p>
<p>
TDBEdit extends the ancestor class with additional properties needed to 
configure the data-aware features in the control, including:
</p>
<dl>
<dt>DataSource</dt>
<dd>Component which provides access to the dataset with the field value</dd>
<dt>DataField</dt>
<dd>Name of the field in the dataset edited in the control</dd>
<dt>Field</dt>
<dd>Field definition and metadata in the dataset</dd>
<dt>ReadOnly</dt>
<dd>Indicates if the value for the control (and its field) cannot be 
changed</dd>
</dl>
<p>
An internal <var>TFieldDataLink</var> class instance is used to maintain an 
association between the control and its data source. TDBEdit provides methods 
which support use of TBasicAction with the data link for the control.
</p>
<p>
TDBEdit extends the masking capabilities from the ancestor to include use of 
mask-related properties like <var>EditMask</var> and <var>Alignment</var> set 
in the <var>TField</var> instance for the control. Use the 
<var>CustomEditMask</var> property to enable an edit mask independent of the 
value defined in the dataset <var>Field</var>.
</p>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBEdit.FDataLink"/>
<element name="TDBEdit.FCustomEditMask"/>
<element name="TDBEdit.FFocusedDisplay"/>
<element name="TDBEdit.DataChange">
<short>
Performs actions needed when values in the dataset have been changed.
</short>
<descr>
<p>
DataChange implements the OnDataChange event handler used in the internal 
TFieldDataLink instance.
</p>
</descr>
<seealso/>
</element>
<element name="TDBEdit.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBEdit.UpdateData">
<short>
Performs actions needed to validate the edit control, and update the field in 
the linked dataset.
</short>
<descr>
<p>
UpdateData is assigned to the OnUpdateData event handler in the internal 
TFieldDataLink instance used in the control.
</p>
</descr>
<seealso/>
</element>
<element name="TDBEdit.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBEdit.GetDataField">
<short>Gets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBEdit.GetDataField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBEdit.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBEdit.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBEdit.GetField">
<short>Gets the value for the Field property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBEdit.GetField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBEdit.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBEdit.SetDataField.Value">
<short>New value for the property.</short>
</element>
<element name="TDBEdit.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr>
<p>
Calls the ChangeDataSource routine to perform free notifications and update 
the TFieldDataLink used in the class instance.
</p>
</descr>
<seealso/>
</element>
<element name="TDBEdit.SetDataSource.Value">
<short>New value for the property.</short>
</element>
<element name="TDBEdit.CMGetDataLink">
<short>Implements the CM_GETDATALINK control message.</short>
<descr/>
<seealso/>
</element>
<element name="TDBEdit.CMGetDataLink.Message">
<short>Message examined and updated in the method.</short>
</element>
<element name="TDBEdit.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
<descr>
<p>
<var>GetReadOnly</var> is a <var>Boolean</var> function used to get the value 
for the <var>ReadOnly</var> property. Read access for the property value 
redirected to the ReadOnly property in the internal <var>TFieldDataLink</var> 
instance used in the class.
</p>
</descr>
<seealso>
<link id="TDBEdit.ReadOnly"/>
<link id="#lcl.stdctrls.TCustomEdit.GetReadOnly">TCustomEdit.GetReadOnly</link>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
</seealso>
</element>
<element name="TDBEdit.GetReadOnly.Result">
<short>Value for the property.</short>
</element>
<element name="TDBEdit.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<descr>
<p>
<var>SetReadOnly</var> is a procedure used to set the value for the 
<var>ReadOnly</var> property. SetReadOnly calls the inherited method. Write 
access for the property value is redirected to the ReadOnly property in the 
internal <var>TFieldDataLink</var> instance used in the class.
</p>
</descr>
<seealso>
<link id="TDBEdit.ReadOnly"/>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
<link id="#lcl.stdctrls.TCustomEdit.SetReadOnly">TCustomEdit.SetReadOnly</link>
</seealso>
</element>
<element name="TDBEdit.SetReadOnly.Value">
<short>New value for the property.</short>
</element>
<element name="TDBEdit.KeyDown">
<short>Handles key down events in the control.</short>
<descr>
<p>
<var>KeyDown</var> is an overridden method in <var>TDBEdit</var>. KeyDown 
calls the inherited method, and ensures that the specified virtual key code 
and modifier are applied in the manner needed for the data-aware control. 
KeyDown handles the following virtual key codes:
</p>
<dl>
<dt>VK_ESCAPE</dt>
<dd>
Cancels an active edit and resets the state for the DataSource. Calls the 
<var>Reset</var> method in the internal <var>TFieldDataLink</var>, and 
re-selects the content in the control. Sets Key to the value 
<b>VK_UNKNOWN</b>.
</dd>
<dt>VK_DELETE or VK_BACK</dt>
<dd>
Sets the value in Key to <b>VK_UNKNOWN</b> when the control is used on a 
field that cannot be edited.
</dd>
<dt>VK_RETURN</dt>
<dd>
Calls the <var>UpdateRecord</var> method in the internal 
<var>TFieldDataLink</var> instance when it is in an edit state.
</dd>
</dl>
<p>
For the macOS (Darwin) platform, additional virtual key codes are detected (and 
discarded) if the contents of the field in the linked dataset cannot be 
modified. These keys include:
</p>
<dl>
<dt>VK_0..VK_9</dt>
<dd>numeric characters not on the numeric keypad</dd>
<dt>VK_A..VK_Z</dt>
<dd>alphabetic characters</dd>
<dt>VK_SPACE</dt>
<dd>space character</dd>
<dt>VK_NUMPAD0..VK_NUMPAD9</dt>
<dd>numeric digits on the numeric keypad</dd>
<dt>VK_MULTIPLY, VK_DIVIDE, VK_ADD, VK_SUBTRACT</dt>
<dd>operators on the numeric keypad</dd>
<dt>VK_SEPARATOR, VK_DECIMAL </dt>
<dd>padded and non-padded Decimal separators</dd>
<dt>VK_OEM_1</dt>
<dd>';:' keycap on the US standard keyboard</dd>
<dt>VK_OEM_2</dt> 
<dd>'/?' keycap on the US standard keyboard</dd>
<dt>VK_OEM_3</dt>
<dd>'`~' keycap on the US standard keyboard</dd>
<dt>VK_OEM_4</dt>
<dd>'[{' keycap on the US standard keyboard</dd>
<dt>VK_OEM_5</dt>
<dd>'\|' keycap on the US standard keyboard</dd>
<dt>VK_OEM_6</dt>
<dd>']}' keycap on the US standard keyboard</dd>
<dt>VK_OEM_7</dt>
<dd>
'&apos;&quot;' (Apostrophe and Quote) keycap on the US standard keyboard
</dd>
<dt>VK_OEM_8</dt>
<dd>miscellaneous character; varies by keyboard layout</dd>
</dl>
<p>
For these macOS-specific keys, the value in Key is set to 0 if the field cannot 
be modified.
</p>
</descr>
<version>
Modified in LCL version 3.6 to handle additional data keys on the macOS 
(Darwin) platform.
</version>
<seealso>
<link id="TFieldDataLink.Reset"/>
<link id="TFieldDataLink.Editing"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
<link id="#lcl.controls.TWinControl.KeyDown">TWinControl.KeyDown</link>
</seealso>
</element>
<element name="TDBEdit.KeyDown.Key">
<short>Virtual key code examined and applied in the method.</short>
</element>
<element name="TDBEdit.KeyDown.Shift">
<short>Key modifier examined and applied in the method.</short>
</element>
<element name="TDBEdit.UTF8KeyPress">
<short>Handles UTF-8 characters for the data-aware control.</short>
<descr>
<p>
<var>UTF8KeyPress</var> is an overridden method in TDBEdit. UTF8KeyPress 
calls the inherited method, and performs actions needed to handle the 
UTF-8-encoded character specified in the <var>UTF8Key</var> argument.
</p>
<p>
UTF8KeyPress checks the value in UTF8Key to determine the number of bytes 
required for the code point. A single-byte code point is converted to a Char 
type, and passed to the <var>FieldCanAcceptKey</var> routine to validate its 
content for the Field in the control. Multi-byte Unicode code points are 
ignored, and the Extended ASCII <b>NbSp</b> character (Decimal 255) is passed 
to FieldCanAcceptKey. The value in UTF8Key is set to an empty string if it is 
valid for the Field.
</p>
<p>
Use the OnUTF8KeyPress event handler to handle/convert specific multi-byte 
character values.
</p>
</descr>
<seealso>
<link id="TDBEdit.OnUTF8KeyPress"/>
<link id="#lcl.maskedit.TCustomMaskEdit.UTF8KeyPress">TCustomMaskEdit.UTF8KeyPress</link>
<link id="#lcl.maskedit.TCustomMaskEdit.HandleKeyPress">TCustomMaskEdit.HandleKeyPress</link>
<link id="#lcl.controls.TWinControl.UTF8KeyPress">TWinControl.UTF8KeyPress</link>
<link id="#lcl.controls.TWinControl.OnUTF8KeyPress">TWinControl.OnUTF8KeyPress</link>
<link id="#fcl.db.TField.IsValidChar">TField.IsValidChar</link>
</seealso>
</element>
<element name="TDBEdit.UTF8KeyPress.UTF8Key">
<short>UTF-8 character examined in the method.</short>
</element>
<element name="TDBEdit.Notification">
<short>
Handles notifications when a component is added or removed from the control.
</short>
<descr>
<p>
Notification is overridden in TDBEdit to ensure that the DataSource for the 
data link in the control is set to Nil when the component is freed. 
Notification calls the inherited method.
</p>
</descr>
<seealso>
<link id="TDBEdit.DataSource"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#rtl.classes.TComponent.Notification">TComponent.Notification</link>
</seealso>
</element>
<element name="TDBEdit.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBEdit.Notification.Operation">
<short>Operation for the notification.</short>
</element>
<element name="TDBEdit.EditCanModify">
<short>
Indicates if the control can modify the text for the control value.
</short>
<descr>
<p>
<var>EditCanModify</var> is an overridden <var>Boolean</var> function in 
TDBEdit. The return value contains the value for the <var>CanModify</var> 
property in the
<var>TFieldDataLink</var> instance in the control.
</p>
<remark>
EditCanModify does <b>NOT</b> call the inherited method which always returns 
<b>True</b>. In addition, it is provided to maintain Delphi code 
compatibility; it is not referenced directly by any methods in the 
implementation of the control or its descendants.
</remark>
</descr>
<seealso>
<link id="TFieldDataLink.CanModify"/>
<link id="#lcl.maskedit.TCustomMaskEdit.EditCanModify">TCustomMaskEdit.EditCanModify</link>
</seealso>
</element>
<element name="TDBEdit.EditCanModify.Result">
<short>
<b>True</b> when the control can modify the value for the field in the linked 
dataset.
</short>
</element>
<element link="#LCL.MaskEdit.TCustomMaskEdit.GetEditText" name="TDBEdit.GetEditText"/>
<element link="#LCL.MaskEdit.TCustomMaskEdit.GetEditText.Result" name="TDBEdit.GetEditText.Result"/>
<element name="TDBEdit.Change">
<short>
Performs actions needed when the value for the control has been changed.
</short>
<descr>
<p>
<var>Change</var> is an overridden procedure in <var>TDBEdit</var> used to 
ensure that the internal <var>TFieldDataLink</var> instance for the control 
is notified when the value for the control has been modified. Change calls 
the <var>Modified</var> method in <var>TFieldDataLink</var> to perform the 
notification, and calls the inherited Change method.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Modified"/>
<link id="TFieldDataLink.UpdateData"/>
<link id="#lcl.maskedit.TCustomMaskEdit.Change">TCustomMaskEdit.Change</link>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
</seealso>
</element>
<element name="TDBEdit.Reset">
<short>Cancels pending changes to the linked dataset.</short>
<descr>
<p>
<var>Reset</var> is an overridden method in <var>TDBEdit</var> which ensures 
that the internal <var>TFieldDataLink</var> instance in the control is reset 
when pending changes to the control value are cancelled. Reset calls the 
Reset method in TFieldDataLink to perform the notification, signal its 
<var>OnDataChange</var> event handler, and to reset the state for its 
DataSource. Reset calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Reset"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#lcl.maskedit.TCustomMaskEdit.Reset">TCustomMaskEdit.Reset</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TDBEdit.WMSetFocus">
<short>Ensures that the control has the input focus.</short>
<descr>
<p>
<var>WMSetFocus</var> is an overridden method in TDBEdit. WMSetFocus ensures 
that the text for the control is updated before calling the inherited method. 
This includes applying an edit mask assigned to the control when it has input 
focus.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomEdit.WMSetFocus">TCustomEdit.WMSetFocus</link>
</seealso>
</element>
<element name="TDBEdit.WMSetFocus.Message">
<short>Window message handled for the control.</short>
</element>
<element name="TDBEdit.WMKillFocus">
<short>
Ensures that the liked dataset is updated when the modified control loses 
input focus.
</short>
<descr/>
<seealso>
<link id="#lcl.stdctrls.TCustomEdit.WMKillFocus">TCustomEdit.WMKillFocus</link>
</seealso>
</element>
<element name="TDBEdit.WMKillFocus.Message">
<short>Window message handled for the control.</short>
</element>
<element name="TDBEdit.WndProc">
<short>Handles the specified LCL message for the control.</short>
<descr>
<p>
<var>WndProc</var> is an overridden method in TDBEdit. It is used to process 
the specified LCL message for the control. WndProc ensures that the message 
is applied to the linked dataset when it can be modified, and handles the 
following LCL messages:
</p>
<ul>
<li>LM_CLEAR</li>
<li>LM_CUT</li>
<li>LM_PASTE</li>
</ul>
<p>
The Edit and Modified methods in the internal TFieldDataLink instance are 
called, and the DataChange method is called to post changes for the control. 
No actions are performed on the dataset when it cannot be modified, but the 
result value in Message is set to 1 to prevent calling the default procedure 
for the window.
</p>
<p>
WndProc calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.CanModify"/>
<link id="TFieldDataLink.Edit"/>
<link id="TFieldDataLink.Modified"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#lcl.lmessages.TLMessage">TLMessage</link>
<link id="#lcl.lmessages.LM_CLEAR">LM_CLEAR</link>
<link id="#lcl.lmessages.LM_CUT">LM_CUT</link>
<link id="#lcl.lmessages.LM_PASTE">LM_PASTE</link>
<link id="#lcl.stdctrls.TCustomEdit.WndProc">TCustomEdit.WndProc</link>
</seealso>
</element>
<element name="TDBEdit.WndProc.Message">
<short>LCL message examined and applied in the method.</short>
</element>
<element name="TDBEdit.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, then creates and configures the 
internal <var>TFieldDataLink</var> instance used in the control. The 
DataChange and UpdateData methods are assigned to the <var>OnDataChange</var> 
and <var>OnUpdateData</var> event handlers in the TFieldDataLink instance.
</p>
</descr>
<errors/>
<seealso>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#lcl.maskedit.TCustomMaskEdit.Create">TCustomMaskEdit.Create</link>
</seealso>
</element>
<element name="TDBEdit.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDBEdit.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. 
Destroy ensures that resources allocated to members in the class instance are 
freed prior to destruction of the class instance. Destroy calls the inherited 
destructor prior to exit.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomEdit.Destroy">TCustomEdit.Destroy</link>
</seealso>
</element>
<element name="TDBEdit.ExecuteAction">
<short>Provides support for TBasicAction in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden method in <var>TDBEdit</var>. It 
calls the inherited method, and when the action is not handled in the 
ancestor, executes <var>AAction</var> using the <var>ExecuteAction</var> 
method in the internal
<var>TFieldDataLink</var> instance in the class.
</p>
<p>
The return value is <b>True</b> if the action was executed in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBEdit.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TDBEdit.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TDBEdit.UpdateAction">
<short>
Updates the specified action to reflect the current state in the linked 
dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBEdit</var>. UpdateAction is called when the <var>Application</var> 
enters an idle state to ensure that the action reflects the current state for 
a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBEdit.UpdateAction.Result">
<short><b>True</b> if the action was updated in the method.</short>
</element>
<element name="TDBEdit.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>
<element name="TDBEdit.Field">
<short>
Provides access to the field definition for the data-aware control.
</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which provides 
access to the field definition to which the data-aware control is linked. 
Read access for the property is redirected to the Field property in the 
internal TFieldDataLink class instance. The value in Field is updated when a 
new value is assigned to the Field in the TFieldDataLink instance.
</p>
<p>
Use <var>DataField</var> to read or write the field name used for the 
data-aware control. Use <var>DataSource</var> to specify the data source with 
the dataset containing the specified field name.
</p>
</descr>
<seealso>
<link id="TDBEdit.DataField"/>
<link id="TDBEdit.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element name="TDBEdit.CustomEditMask">
<short>Indicates if a custom edit mask is used in the control.</short>
<descr>
<p>
<var>CustomEditMask</var> is a <var>Boolean</var> property which indicates if 
an edit mask other than the one defined for the <var>Field</var> in the 
linked dataset is used in the control.
</p>
<p>
When set to <b>True</b>, the features from the ancestor class are used to 
provide the editing mask. Set the value in the <var>EditMask</var> property 
when CustomEditMask is set to <b>True</b>.
</p>
<p>
When set to <b>False</b>, the EditMask defined in the internal TFieldDataLink 
instance (and loaded from the database field definition) is used in the 
control.
</p>
</descr>
<seealso>
<link id="TDBEdit.EditMask"/>
<link id="TFieldDataLink.Field"/>
<link id="#lcl.maskedit.TCustomMaskEdit.EditMask">TCustomMaskEdit.EditMask</link>
</seealso>
</element>
<element name="TDBEdit.DataField">
<short>Contains the name of the field with the value for the control.</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
for the field in the linked dataset where the value for the control is read 
and written. Read and write access to the property value are redirected to 
the <var>FieldName</var> property in the internal <var>TFieldDataLink</var> 
instance for the control. Changing the value in DataField causes the value in 
<var>Field</var> to be updated.
</p>
<p>
Set the value in <var>DataSource</var> to the component which provides access 
to the dataset for the data-aware control.
</p>
</descr>
<seealso>
<link id="TDBEdit.Field"/>
<link id="TDBEdit.DataSource"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element name="TDBEdit.DataSource">
<short>Provides access to the dataset with content for the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the <var>Field</var> property to determine the dataset and 
field definition used when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="TDBEdit.DataField"/>
<link id="TFieldDataLink.FieldName"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataSource">TDataSource</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>

<element name="TDBEdit.ReadOnly">
<short>
Indicates if the control cannot modify the field in the linked dataset.
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the 
control cannot modify its <var>DataField</var> in the linked dataset. When 
set to <b>True</b>, the underlying field value cannot be modified using the 
control.
</p>
<p>
Read and write access for the property value are redirected to the ReadOnly 
property in the TFieldDataLink instance used in the control.
</p>
<remark>
A value assigned to ReadOnly may be overridden by the Field definition from 
the target database table.
</remark>
</descr>
<seealso>
<link id="TDBEdit.DataField"/>
<link id="TDBEdit.DataSource"/>
<link id="TDBEdit.Field"/>
<link id="TFieldDataLink.Field"/>
<link id="#lcl.stdctrls.TCustomEdit.ReadOnly">TCustomEdit.ReadOnly</link>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBEdit.Align"/>
<element link="#lcl.stdctrls.TCustomEdit.Alignment" name="TDBEdit.Alignment"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBEdit.Anchors"/>
<element link="#lcl.stdctrls.TCustomEdit.AutoSelect" name="TDBEdit.AutoSelect"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBEdit.AutoSize"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBEdit.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBEdit.BorderSpacing"/>
<element name="TDBEdit.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element name="TDBEdit.CharCase" link="#lcl.stdctrls.TCustomEdit.CharCase"/>
<element link="#lcl.controls.TControl.Color" name="TDBEdit.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBEdit.Constraints"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBEdit.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBEdit.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBEdit.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBEdit.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBEdit.Enabled"/>
<element link="#LCL.MaskEdit.TCustomMaskEdit.EditMask" name="TDBEdit.EditMask"/>
<element link="#lcl.controls.TControl.Font" name="TDBEdit.Font"/>
<element link="#lcl.stdctrls.TCustomEdit.MaxLength" name="TDBEdit.MaxLength"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBEdit.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBEdit.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBEdit.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBEdit.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBEdit.ParentShowHint"/>
<element link="#lcl.stdctrls.TCustomEdit.PasswordChar" name="TDBEdit.PasswordChar"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBEdit.PopupMenu"/>
<element link="#lcl.controls.TControl.ShowHint" name="TDBEdit.ShowHint"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBEdit.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBEdit.TabStop"/>

<element name="TDBEdit.TextHint" link="#lcl.stdctrls.TCustomEdit.TextHint"/>

<element link="#lcl.controls.TControl.Visible" name="TDBEdit.Visible"/>
<element link="#lcl.stdctrls.TCustomEdit.OnChange" name="TDBEdit.OnChange"/>
<element name="TDBEdit.OnClick"  link="#lcl.controls.TControl.OnClick"/>
<element name="TDBEdit.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TDBEdit.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBEdit.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBEdit.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEditingDone" name="TDBEdit.OnEditingDone"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBEdit.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBEdit.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBEdit.OnExit"/>
<element name="TDBEdit.OnKeyDown">
<short>
Event handler signalled when a key is down while control has focus.
</short>
<descr>
<p>
<var>OnKeyDown</var> differs from the method in <link 
id="#lcl.controls.TWinControl">TWinControl</link> in that the key may have 
already been down when the control received focus; with <var>OnKeyPress</var> 
the key needs to become pressed while the control has focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyDown">TWinControl.OnKeyDown</link>
</seealso>
</element>
<element name="TDBEdit.OnKeyPress">
<short>
Event handler signalled when a key is being pressed while the control has 
focus.
</short>
<descr>
<p>
<var>OnKeyPress</var> differs from the method in <link 
id="#lcl.controls.TWinControl">TWInControl</link> in that the key needs to 
become pressed while the control has focus; with <var>OnKeyDown</var> the key 
may have already been down when the control received focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyPress">TWinControl.OnKeyPress</link>
</seealso>
</element>
<element name="TDBEdit.OnKeyUp">
<short>
Event handler signalled when a key becomes up (not pressed) while the control 
has focus.
</short>
<descr>
<p>
<var>OnKeyUp</var> is an event handler signalled when a key is up (not 
pressed) while the control has focus. The key may already have been up when 
the control received focus, or a pressed key may become released during the 
time the control has focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyUp">TWinControl.OnKeyUp</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBEdit.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBEdit.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBEdit.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBEdit.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBEdit.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBEdit.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBEdit.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBEdit.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBEdit.OnStartDrag"/>
<element link="#lcl.controls.TWinControl.OnUTF8KeyPress" name="TDBEdit.OnUTF8KeyPress"/>
<element name="TDBText">
<short>Displays a string value stored in a dataset field.</short>
<descr>
<p>
<var>TDBText</var> is a <var>TCustomLabel</var> descendant which implements a 
component to display the text content in a dataset field in the manner used 
for a label control. The stored field value is not editable in the control - 
just like a label component.
</p>
<p>
Use the <var>Field</var> property to access the field definition used to 
provide the value for the control.
</p>
</descr>
<seealso>
<link id="TDBText.Field"/>
<link id="#fcl.db.TField">TField</link>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBText.FDataLink"/>
<element name="TDBText.DataChange">
<short>
Updates the control display value when the linked dataset is changed.
</short>
<descr>
<p>
<var>DataChange</var> is used to perform actions needed when the linked 
dataset for the control has been changed. In TDBText, this requires setting 
the <var>Caption</var> property for the control. DataChange uses the 
<var>Field</var> property (when assigned) to get the display text for the 
field. At design-time, the <var>Name</var> property is used when Field is 
unassigned. At run-time, an empty string (
<b>''</b>) is used when Field is unassigned.
</p>
<p>
DataChange is assigned as the <var>OnDataChange</var> event handler in the 
internal <var>TFieldDataLink</var> instance.
</p>
</descr>
<seealso>
<link id="TDBText.Field"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#lcl.controls.TControl.Caption">TControl.Caption</link>
<link id="#rtl.classes.TComponent.Name">TComponent.Name</link>
</seealso>
</element>
<element name="TDBText.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBText.GetDataField">
<short>
Gets the name of the field in the linked dataset with the value for the 
control.
</short>
<descr/>
<seealso>
<link id="TDBText.DataField"/>
</seealso>
</element>
<element name="TDBText.GetDataField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBText.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr/>
<seealso>
<link id="TDBText.DataSource"/>
</seealso>
</element>
<element name="TDBText.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBText.GetField">
<short>Gets the value for the Field property.</short>
<descr/>
<seealso>
<link id="TDBText.Field"/>
</seealso>
</element>
<element name="TDBText.GetField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBText.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBText.SetDataField.Value">
<short>New value for the property.</short>
</element>
<element name="TDBText.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso>
<link id="TDBText.DataSource"/>
</seealso>
</element>
<element name="TDBText.SetDataSource.Value">
<short>New value for the property.</short>
</element>
<element name="TDBText.CMGetDataLink">
<short>Handles the CM_GETDATALINK message for the control.</short>
<descr/>
<seealso/>
</element>
<element name="TDBText.CMGetDataLink.Message">
<short>Message handled and updated in the method.</short>
</element>
<element name="TDBText.Notification">
<short>
Handles a notification when a component is added to or removed from the 
control.
</short>
<descr>
<p>
<var>Notification</var> is called whenever a child component is destroyed, 
inserted or removed from the list of owned component. Components that were 
requested to send a notification when they are freed ((with <link 
id="TComponent.FreeNotification">FreeNotification</link>) will also call 
<var>Notification</var> when they are freed.
</p>
<p>
The <var>AComponent</var> parameter specifies which component sends the 
notification, and <var>Operation</var> specifies whether the component is 
being inserted into or removed from the child component list, or whether it 
is being destroyed.
</p>
<p>
Descendants of <var>TComponent</var> can use <link 
id="TComponent.FreeNotification">FreeNotification</link> to handle 
notifications when objects are freed. By overriding the 
<var>Notification</var> method, they can do special processing (typically, 
set a reference to this component to <var>Nil</var>) when this component is 
destroyed. The <var>Notification</var> method is called quite often in the 
streaming process, so speed should be a consideration when overriding this 
method.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomLabel.Notification">TCustomLabel.Notification</link>
</seealso>
</element>
<element name="TDBText.WSRegisterClass">
<short>
Registers the class type used to create new instance of the control for the 
Widgetset.
</short>
<descr>
<p>
<var>WSRegisterClass</var> is an overridden method used to register the 
widgetset class type used to create new instances of the control. 
WSRegisterClass calls the inherited method, and excludes loading the 
<var>Caption</var> property during LCL streaming.
</p>
</descr>
<version>
The <var>Caption</var> property was included in LCL component streaming prior 
to LCL version 0.9.29.
</version>
<seealso>
<link id="TDBText.Field"/>
<link id="#lcl.stdctrls.TCustomLabel.WSRegisterClass">TCustomLabel.WSRegisterClass</link>
</seealso>
</element>
<element name="TDBText.Loaded">
<short>
Performs actions when LCL component streaming has been completed.
</short>
<descr>
<p>
<var>Loaded</var> is called by the streaming system when a root component was 
completely read from a stream and all properties and references to other 
objects have been resolved by the streaming system. Descendants of 
<var>TComponent</var> should override this method to do some additional 
processing of properties after all published properties have been set from 
values obtained from the stream.
</p>
<p>
Application programmers should never call <var>Loaded</var> directly; this is 
done automatically by the LCL streaming system.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Loaded">TControl.Loaded</link>
</seealso>
</element>
<element name="TDBText.Notification.AComponent">
<short>Component affected by the notification.</short>
</element>
<element name="TDBText.Notification.Operation">
<short>Operation for the component.</short>
</element>
<element name="TDBText.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for <var>TDBText</var>. It 
calls the inherited Create method, and sets up the internal 
<var>TFieldDataLink</var> member used in the component.
</p>
</descr>
<seealso>
<link id="TDBText.Create"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink"/>
<link id="#lcl.stdctrls.TCustomLabel.Create">TCustomLabel.Create</link>
</seealso>
</element>
<element name="TDBText.Create.AOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDBText.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for <var>TDBText</var>. It 
frees the internal field data link in the class instance, and calls the 
inherited
<var>Destroy</var> method.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TGraphicControl.Destroy">TGraphicControl.Destroy</link>
</seealso>
</element>
<element name="TDBText.ExecuteAction">
<short>Implements support for standard actions in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden <var>Boolean</var> function used to 
implement support for <var>TBasicAction</var> in the control. ExecuteAction 
extends the inherited method by using the internal field data link (when 
assigned) to perform the requested action.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> instance examined and 
potentially executed in the method.
</p>
<p>
The return value for the method is <b>True</b> when the action in AAction was 
executed for the control.
</p>
</descr>
<seealso>
<link id="TDBText.UpdateAction"/>
<link id="#fcl.db.TDataLink.ExecuteAction">TDataLink.ExecuteAction</link>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBText.ExecuteAction.Result">
<short>
Returns <b>True</b> when the standard action was executed for the control.
</short>
</element>
<element name="TDBText.ExecuteAction.AAction">
<short>Standard action examined in the method.</short>
</element>
<element name="TDBText.UpdateAction">
<short>Updates the specified action to reflect the current state in the 
linked dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBText</var>. UpdateAction is called when the <var>Application</var> 
enters an idle state to ensure that the action reflects the current state for 
a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
</seealso>
</element>
<element name="TDBText.Field">
<short>
Provides access to the field definition for the data-aware control.
</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which provides 
access to the field definition to which the data-aware control is linked. 
Read access for the property is redirected to the Field property in the 
internal TFieldDataLink class instance.
</p>
<p>
Use <var>DataField</var> to read or write the field name used for the 
data-aware control. Use <var>DataSource</var> to specify the data source with 
the dataset containing the specified field name.
</p>
</descr>
<seealso>
<link id="TDBText.DataField"/>
<link id="TDBText.DataSource"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBText.Align"/>
<element link="#lcl.stdctrls.TCustomLabel.Alignment" name="TDBText.Alignment"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBText.Anchors"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBText.AutoSize"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBText.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBText.BorderSpacing"/>
<element link="#lcl.controls.TControl.Color" name="TDBText.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBText.Constraints"/>
<element name="TDBText.DataField">
<short>
The name of the field, as a string (i.e. cannot be referred to as an Index).
</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the field 
name in the linked dataset with the value displayed in the control. Read and 
write access for the property value is redirected to the <var>FieldName</var> 
property in the internal <var>TFieldDataLink</var> instance used in the 
control.
</p>
<p>
Use <var>DataSource</var> to specify the datasource with the linked dataset 
for the control. Use <var>Field</var> to access the definition and metadata 
for the field in the linked dataset.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.FieldName"/>
<link id="TDBText.DataSource"/>
<link id="TDBText.Field"/>
</seealso>
</element>
<element name="TDBText.DataSource">
<short>Provides access to the content displayed in the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the
<var>Field</var> property to determine the dataset and field definition used 
when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal TFieldDataLink instance used in the control. 
Assigning a new value to the property causes the <var>ChangeDataSource</var> 
routine to be called to apply the value to the internal TFieldDataLink 
instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="TDBText.DataField"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataSource">TDataSource</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.DragCursor" name="TDBText.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBText.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBText.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBText.Enabled"/>
<element link="#lcl.stdctrls.TCustomLabel.FocusControl" name="TDBText.FocusControl"/>
<element link="#lcl.controls.TControl.Font" name="TDBText.Font"/>
<element name="TDBText.Layout" link="#lcl.stdctrls.TCustomLabel.Layout"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBText.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBText.ParentColor"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBText.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBText.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBText.PopupMenu"/>

<element name="TDBText.ShowAccelChar">
<short>
Enables or disables drawing of accelerator or shortcut keys for the label.
</short>
<descr>
<p>
<var>ShowAccelChar</var> controls if an underlined character in the label is 
drawn for the accelerator or shortcut key. Changing the value for the 
property causes the WidgetSetClass to be notified of the potential change to 
the Caption and size for the control.
</p>
<p>
The default value for the property is <b>True</b>.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomLabel.ShowAccelChar">TCustomLabel.ShowAccelChar</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.ShowHint" name="TDBText.ShowHint"/>
<element link="#lcl.stdctrls.TCustomLabel.Transparent" name="TDBText.Transparent"/>
<element name="TDBText.Visible">
<short>Indicates if the control is displayed.</short>
<descr>
<p>
The <var>Visible</var> property represents the ability to see a visual 
control. If Visible is set to <b>True</b> the control is shown, otherwise it 
is hidden. Calling Show sets Visible to <b>True</b>. Setting Visible to 
<b>False</b> is equivalent to calling the <var>Hide</var> method.
</p>
<remark>
The Visible property does not depend on control's parent visibility. Use the 
<var>IsVisible</var> method to consider this and get the real visibility.
</remark>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>
<element name="TDBText.WordWrap">
<short>Indicates if text is wrapped at the right edge of the control.</short>
<descr>
<p>
<var>WordWrap</var> indicates whether a word is to be wrapped to the next 
line if the text is about to become too long for the width available in the 
control.
</p>
<p>
The default value for the property is <b>False</b>.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomLabel.WordWrap">TCustomLabel.WordWrap</link>
</seealso>
</element>

<element link="#lcl.stdctrls.TCustomLabel.OptimalFill" name="TDBText.OptimalFill"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBText.OnClick"/>
<element link="#lcl.controls.TControl.OnDblClick" name="TDBText.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBText.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBText.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBText.OnEndDrag"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBText.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBText.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBText.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBText.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBText.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBText.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBText.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBText.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnChangeBounds" name="TDBText.OnChangeBounds"/>
<element link="#lcl.controls.TControl.OnContextPopup" name="TDBText.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnResize" name="TDBText.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBText.OnStartDrag"/>

<element name="TCustomDBListBox">
<short>Specifies a data-aware listbox control.</short>
<descr>
<p>
<var>TCustomDBListBox</var> is a <var>TCustomListBox</var> descendant which 
specifies the base class for a data-aware listbox control. The control allows 
selection and storage of a value from a scrolling list of choices to the 
current record in a linked dataset.
</p>
<p>
TCustomDBListBox is the ancestor class for <var>TDBListBox</var>. 
Applications should create instances of the derived class.
</p>
<p>
Use the <var>Items</var> property to define the list of choices displayed in 
the listbox control.
</p>
<p>
The <var>DataSource</var> property provides access to the linked dataset 
where the selected value is stored. <var>Field</var> contains the field 
definition for the column in the dataset where the selected value is stored. 
Use the <var>DataField</var> property to specify the name for the Field.
</p>
</descr>
<seealso>
<link id="TDBListBox"/>
<link id="TDBListBox.DataSource"/>
<link id="TDBListBox.DataField"/>
<link id="#lcl.stdctrls.TCustomListBox.Items">TCustomListBox.Items</link>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TCustomDBListBox.GetDataField">
<short>
<var>GetDataField</var> - returns the name of the data field as a string.
</short>
<seealso>
<link id="TCustomDBListBox.DataField"/>
</seealso>
</element>
<element name="TCustomDBListBox.GetDataField.Result">
<short>Value for the DataField property.</short>
</element>
<element name="TCustomDBListBox.GetDataSource">
<short>
<var>GetDataSource</var> - returns the identity of the data source.
</short>
<seealso>
<link id="TCustomDBListBox.DataSource"/>
</seealso>
</element>
<element name="TCustomDBListBox.GetDataSource.Result">
<short>Value for the DataSource property.</short>
</element>
<element name="TCustomDBListBox.GetField">
<short>
<var>GetField</var> - returns the identity of the field.
</short>
<seealso>
<link id="TCustomDBListBox.Field"/>
</seealso>
</element>
<element name="TCustomDBListBox.GetField.Result">
<short>Value for the Field property.</short>
</element>
<element name="TCustomDBListBox.GetReadOnly">
<short>
Fetches the <var>ReadOnly</var> status from the field datalink rather than 
using the inherited ReadOnly status.
</short>
<descr/>
<seealso>
<link id="TCustomDBListBox.ReadOnly"/>
</seealso>
</element>
<element name="TCustomDBListBox.GetReadOnly.Result">
<short>Value for the ReadOnly property.</short>
</element>
<element name="TCustomDBListBox.SetReadOnly">
<short>
<var>SetReadOnly</var> - changes the datalink <var>ReadOnly</var> property as 
well as the local property, to that specified by <var>Value</var>.
</short>
<seealso>
<link id="TCustomDBListBox.ReadOnly"/>
</seealso>
</element>
<element name="TCustomDBListBox.SetReadOnly.Value">
<short>New value for the ReadOnly property.</short>
</element>
<element name="TCustomDBListBox.SetDataField">
<short>
<var>SetDataField</var> - links to the field in the datalink with the given 
name.
</short>
<seealso>
<link id="TCustomDBListBox.DataField"/>
</seealso>
</element>
<element name="TCustomDBListBox.SetDataField.Value">
<short>New value for the DataField property.</short>
</element>
<element name="TCustomDBListBox.SetDataSource">
<short>
<var>SetDataSource</var> - changes the attached data source to the one 
specified by AValue.
</short>
<seealso>
<link id="TCustomDBListBox.DataSource"/>
</seealso>
</element>
<element name="TCustomDBListBox.SetDataSource.Value">
<short>New value for the DataSource property.</short>
</element>
<element name="TCustomDBListBox.CMGetDataLink">
<short>
<var>CMGetDataLink</var> - control message method for obtaining the data link.
</short>
</element>
<element name="TCustomDBListBox.CMGetDataLink.Message">
<short>Message examined and updated in the method.</short>
</element>
<element name="TCustomDBListBox.FDataLink">
<short>
<var>FDataLink</var> - local variable holding the identity of the field data 
link.
</short>
</element>
<element name="TCustomDBListBox.DataChange">
<short>Performs actions needed when the linked dataset is repositioned.
</short>
<descr>
<p>
<var>DataChange</var> is an method used to perform actions needed when the 
control needs to be refreshed after a positioning the linked dataset. 
DataChange is an abstract virtual method in
<var>TCustomDBListBox</var>, and must be implemented in a descendent class to 
perform the actions required for the control.
</p>
<p>
DataChange is assigned to the <var>OnDataChange</var> event handler in the 
<var>TFieldDataLink</var> instance used in data-aware controls.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TDBListBox.DataChange"/>
<link id="TDBLookupListBox.DataChange"/>
</seealso>
</element>
<element name="TCustomDBListBox.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TCustomDBListBox.KeyDown">
<short>Handles key down events for the control.</short>
<descr>
<p>
<var>KeyDown</var> is an overridden method in <var>TCustomDBListBox</var> 
which applies the specified virtual key code and modifier to the control. 
KeyDown calls the inherited method, and ensures that the linked dataset is 
updated as needed for the key down event. The following actions are performed 
for the corresponding keys:
</p>
<dl>
<dt>VK_ESCAPE</dt>
<dd>
Calls the <var>TFieldDataLink.Reset</var> method to cancel the edit 
operation. Key is set to VK_UNKNOWN.
</dd>
<dt>VK_DOWN, VK_UP</dt>
<dd>
Calls the <var>TFieldDataLink.Edit</var> method after changing the selected 
item in the control.
</dd>
</dl>
</descr>
<seealso>
<link id="TFieldDataLink.Reset"/>
<link id="TFieldDataLink.Edit"/>
<link id="#lcl.controls.TWinControl.KeyDown">TWinControl.KeyDown</link>
</seealso>
</element>
<element name="TCustomDBListBox.KeyDown.Key">
<short>Virtual key code applied in the method.</short>
</element>
<element name="TCustomDBListBox.KeyDown.Shift">
<short>Modifier for the key code applied in the method.</short>
</element>
<element name="TCustomDBListBox.Notification">
<short>
Handles notifications when a component is added to or removed from the 
control.
</short>
<descr>
<p>
<var>Notification</var> is an overridden method in 
<var>TCustomDBListBox</var>. Notification calls the inherited method, and 
ensures that an assigned <var>DataSource</var> is set to <b>Nil</b> when 
<var>Operation</var> contains <var>opRemove</var>.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox.DataSource"/>
<link id="#rtl.classes.TComponent.Notification">TComponent.Notification</link>
</seealso>
</element>
<element link="#rtl.Classes.TComponent.Notification.AComponent" name="TCustomDBListBox.Notification.AComponent"/>
<element link="#rtl.Classes.TComponent.Notification.Operation" name="TCustomDBListBox.Notification.Operation"/>

<element name="TCustomDBListBox.UpdateData">
<short>
<var>UpdateData</var> - method for applying any pending changes to the data.
</short>
<descr>
<p>
<var>UpdateData</var> is a virtual abstract method in 
<var>TCustomDBListBox</var>, and must be implemented in a descendent class 
(such as <var>TDBListBox</var> or
<var>TDBLookupListBox</var>) to perform the actions needed to update a linked 
dataset using the current selection in the control.
</p>
<p>
UpdateData is assigned to the <var>OnUpdateData</var> event handler in the 
<var>TFieldDataLink</var> instance for data-aware controls.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="TDBListBox.UpdateData"/>
<link id="TDBLookupListBox.UpdateData"/>
</seealso>
</element>
<element name="TCustomDBListBox.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TCustomDBListBox.SetItems">
<short>
<var>SetItems</var> - copies the specified Values into the
<var>Items</var> property.
</short>
<descr>
<p>
<var>SetItems</var> is overridden in <var>TCustomDBListBox</var> to ensure 
that the <var>DataChange</var> method is called when the new Values are 
assigned to the <var>Items</var> property.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox.DataChange"/>
<link id="TCustomDBListBox.UpdateData"/>
<link id="#lcl.stdctrls.TCustomListBox.Items">TCustomListBox.Items</link>
</seealso>
</element>
<element name="TCustomDBListBox.SetItems.Values">
<short>New values for the property.</short>
</element>
<element name="TCustomDBListBox.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 allocates and configures the 
internal <var>TFieldDataLink</var> used in the class instance. The 
<var>DataChange</var> and <var>UpdateData</var> methods are assigned as the 
<var>OnDataChange</var> and <var>OnUpdateData</var> event handlers in the 
TFieldDataLink instance.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox.DataChange"/>
<link id="TCustomDBListBox.UpdateData"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#lcl.stdctrls.TCustomListBox.Create">TCustomListBox.Create</link>
</seealso>
</element>
<element name="TCustomDBListBox.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<var>Destroy</var> is the overridden destructor for the class instance. 
Destroy frees resources allocated to internal members in the class instance, 
and calls the inherited destructor prior to exiting from the method.
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomListBox.Destroy">CustomListBox.Destroy</link>
</seealso>
</element>

<element name="TCustomDBListBox.ExecuteAction">
<short>Implements support for standard actions in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden <var>Boolean</var> function used to 
implement support for <var>TBasicAction</var> in the control. ExecuteAction 
extends the inherited method by using the internal field data link (when 
assigned) to perform the requested action.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> instance examined and 
potentially executed in the method.
</p>
<p>
The return value for the method is <b>True</b> when the action in AAction was 
executed for the control.
</p>
</descr>
<seealso>
<link id="TDBText.UpdateAction"/>
<link id="#fcl.db.TDataLink.ExecuteAction">TDataLink.ExecuteAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>

<element name="TCustomDBListBox.ExecuteAction.Result">
<short><b>True</b> when the action is performed in the method.</short>
</element>
<element name="TCustomDBListBox.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TCustomDBListBox.UpdateAction">
<short>Updates the state for the specified action.</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function used to 
update the state of the <var>TBasicAction</var> (or descendant) instance in 
<var>AAction</var>. The return value is <b>True</b> when the action is 
updated in the method.
</p>
<p>
UpdateAction calls the inherited method. When the return value is 
<b>False</b> and a linked dataset is available in the class instance, the 
<var>UpdateAction</var> method in TFieldDataLink is called to update the 
action.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#fcl.db.TDataLink.ExecuteAction">TDataLink.ExecuteAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TCustomDBListBox.UpdateAction.Result">
<short><b>True</b> if the action was updated in the method.</short>
</element>
<element name="TCustomDBListBox.UpdateAction.AAction">
<short>Action updated in the method.</short>
</element>
<element name="TCustomDBListBox.Field">
<short>Field definition in the linked dataset for the control.</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which contains the 
field definition used to access a column defined in the linked dataset for 
the control. Read access to the property is redirected to the 
<var>Field</var> property in the internal <var>TFieldDataLink</var> instance 
used in the control.
</p>
<p>
Use the <var>DataField</var> property to specify the field name updated when 
a value is selected using the control. Use <var>DataSource</var> to specify 
the datasource component for the linked dataset.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox.DataField"/>
<link id="TCustomDBListBox.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element name="TCustomDBListBox.DataField">
<short>Name for the field in the linked dataset used in the control.</short>
<descr>
<p>
<var>DataField</var> is a <var/>String property which contains the name of 
the field in the linked dataset for the control. It is the destination where 
a value selected in the control is stored.
</p>
<p>
Read and write access for the property value is redirected to the FieldName 
property in the internal TFieldDataLink instance used in the control. Use 
Field to access the field definition and metadata for the column in the 
linked dataset.
</p>
<p>
Use DataSource to specify the datasource component which provides access to 
the linked dataset for the control.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox.DataSource"/>
<link id="TCustomDBListBox.Field"/>
<link id="TFieldDataLink.FieldName"/>
</seealso>
</element>
<element name="TCustomDBListBox.DataSource">
<short>Provides access to the linked dataset for the control.</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which contains the 
component used to access the linked dataset for the control. Read and write 
access for the property value are redirected to the <var>DataSource</var> 
property in the internal <var>TFieldDataLink</var> instance for the control. 
Changing the value in DataSource causes the <var>ChangeDataSource</var> 
routine to be called to perform notification events and assignments for the 
TFieldDataLink instance.
</p>
<p>
Use <var>DataField</var> to specify the name of the field in the linked 
dataset used to store the value selected in the control. Use <var>Field</var> 
to access the field definition and metadata for the column represented by 
DataField.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox.DataField"/>
<link id="TCustomDBListBox.Field"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataSource">TDataSource</link>
</seealso>
</element>
<element name="TCustomDBListBox.ReadOnly">
<short>
Indicates if the linked dataset for the control cannot be modified.
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the 
linked dataset for the control cannot be modified. Read and write access for 
the property value are redirected to the <var>ReadOnly</var> property in the 
internal
<var>TFieldDataLink</var> instance for the control.
</p>
<p>
The default value for the property is <b>False</b>.
</p>
<remark>
The value in the property may be changed during the course of editing. For 
example, setting ReadOnly to <b>False</b> when the linked dataset cannot 
actually be modified. Eventually, the property value gets updated to reflect 
the real read-only state for the linked dataset.
</remark>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
</seealso>
</element>
<element name="TDBListBox">
<short>Implements a data-aware version of <var>TListBox</var>.
</short>
<descr>
<p>
<var>TDBListBox</var> implements a data-aware version of <var>TListBox</var>.
The control allows selection and storage of a value from a scrolling list of 
choices to the current record in a linked dataset.
</p>
<p>
TDBListBox extends the <var>TCustomDBListBox</var> ancestor class to 
implement abstract/virtual methods, and to set the visibility for properties 
in the control.
</p>
<p>
Use the <var>Items</var> property to define the list of choices displayed in 
the listbox control.
</p>
<p>
The <var>DataSource</var> property provides access to the linked dataset 
where the selected value is stored. <var>Field</var> contains the field 
definition for the column in the dataset where the selected value is stored. 
Use the <var>DataField</var> property to specify the name for the Field.
</p>
</descr>
<seealso>
<link id="TCustomDBListBox"/>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBListBox.DataChange">
<short>
Implements the event handler signalled when data in the linked dataset has 
been changed.
</short>
<descr>
<p>
<var>DataChange</var> is an overridden procedure in <var>TDBListBox</var>. It 
implements the abstract virtual method defined in the ancestor class, and 
updates
<var>ItemIndex</var> to reflect the current value in the linked dataset (when 
available).
</p>
<p>
When <var>DataField</var> is an empty string, the value in ItemIndex is set 
to <b>-1</b> to indicate that no item is selected in the control. Otherwise, 
the field value in the linked dataset is located in <var>Items</var> and its 
ordinal position is used in ItemIndex.
</p>
<p>
DataChange is used as the OnDataChange event handler in the TFieldDataLink 
instance for the control.
</p>
</descr>
<seealso>
<link id="TDBListBox.Items"/>
<link id="TDBLIstBox.DataField"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="TCustomDBListBox.DataChange"/>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TDBListBox.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBListBox.DoSelectionChange">
<short>
Performs actions needed when the current selection in the listbox control is 
changed.
</short>
<descr>
<p>
<var>DoSelectionChange</var> is an overridden procedure in 
<var>TDBLIstBox</var>. It provides support for changing the modified status 
for the linked dataset when a new item is selected in the listbox.
</p>
<p>
<var>User</var> indicates if the change was performed by user interaction 
with the listbox, as opposed to a programmatic change from methods or 
messages in the class. When User is <b>True</b>, the internal 
<var>TFieldDataLink</var> instance is used to edit and set the 
<var>Modified</var> property in the linked dataset. When User is
<b>False</b>, the inherited DoSelectionChange method is called.
</p>
<p>
DoSelectionChange is used in the implementation of methods in the ancestor 
class, like <var>LMSelChange</var> and <var>SelectAll</var>.
</p>
</descr>
<seealso>
<link id="TCustomListBox.SelectAll"/>
<link id="TFieldDataLink.CanModify"/>
<link id="TFieldDataLink.Edit"/>
<link id="TFieldDataLink.Modified"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TDBListBox.DataChange"/>
<link id="#lcl.stdctrls.TCustomListBox.DoSelectionChange">TCustomListBox.DoSelectionChange</link>
</seealso>
</element>
<element name="TDBListBox.DoSelectionChange.User">
<short>
Indicates if the change results from user interaction with the control.
</short>
</element>
<element name="TDBListBox.UpdateData">
<short>
Performs actions needed to update the linked dataset when the value for the 
control has changed.
</short>
<descr>
<p>
<var>UpdateData</var> is an overridden method in <var>TDBLIstBox</var>. It 
implements the abstract virtual method defined in the ancestor, and provides 
support for updating the linked dataset when the value for the control has 
been changed.
</p>
<p>
UpdateData stores the value from <var>Items</var> located at the position in 
<var>ItemIndex</var> to the field for the linked dataset. No actions are 
performed in the method when ItemIndex is <b>-1</b> (no item is selected in 
the control).
</p>
<p>
UpdateData is used as the <var>OnUpdateData</var> event handler in the 
internal <var>TFieldDataLink</var> instance for the control.
</p>
</descr>
<seealso>
<link id="TDBListBox.Items"/>
<link id="TCustomDBListBox.UpdateData"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>
<element name="TDBListBox.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBListBox.EditingDone">
<short>
<var>EditingDone</var> - what to do when you have finished editing.
</short>
<descr>
<p>
Called when user has finished editing. This procedure can be used by data 
links to commit the changes.
</p>
<p>For example:</p>
<ul>
<li>When focus switches to another control (default)</li>
<li>When user selected another item</li>
</ul>
<p>
It's up to the control to perform the actions needed when the method is 
called.
</p>
</descr>
<seealso/>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBListBox.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBListBox.Anchors"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBListBox.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBListBox.BorderSpacing"/>
<element link="#lcl.controls.TWinControl.BorderStyle" name="TDBListBox.BorderStyle"/>
<element link="#lcl.controls.TControl.Color" name="TDBListBox.Color"/>
<element name="TDBListBox.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element link="#lcl.dbctrls.TCustomDBListBox.DataField" name="TDBListBox.DataField"/>
<element link="#lcl.dbctrls.TCustomDBListBox.DataSource" name="TDBListBox.DataSource"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBListBox.DoubleBuffered"/>
<element name="TDBListBox.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
<element name="TDBListBox.DragKind" link="#lcl.controls.TControl.DragKind"/>
<element name="TDBListBox.DragMode" link="#lcl.controls.TControl.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBListBox.Enabled"/>
<element link="#lcl.stdctrls.TCustomListBox.ExtendedSelect" name="TDBListBox.ExtendedSelect"/>
<element name="TDBListBox.Font" link="#lcl.controls.TControl.Font"/>
<element link="#lcl.stdctrls.TCustomListBox.ItemHeight" name="TDBListBox.ItemHeight"/>
<element name="TDBListBox.Items" link="#lcl.stdctrls.TCustomListBox.Items"/>
<element link="#lcl.stdctrls.TCustomListBox.MultiSelect" name="TDBListBox.MultiSelect"/>

<element name="TDBListBox.Options" link="#lcl.stdctrls.TCustomListBox.Options"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBListBox.ParentBiDiMode"/>
<element name="TDBListBox.ParentDoubleBuffered" link="#lcl.controls.TWinControl.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBListBox.ParentShowHint"/>
<element name="TDBListBox.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
<element link="#lcl.dbctrls.TCustomDBListBox.ReadOnly" name="TDBListBox.ReadOnly"/>
<element link="#lcl.controls.TControl.ShowHint" name="TDBListBox.ShowHint"/>
<element link="#lcl.stdctrls.TCustomListBox.Sorted" name="TDBListBox.Sorted"/>
<element link="#lcl.stdctrls.TCustomListBox.Style" name="TDBListBox.Style"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBListBox.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBListBox.TabStop"/>
<element link="#lcl.stdctrls.TCustomListBox.TopIndex" name="TDBListBox.TopIndex"/>
<element name="TDBListBox.Visible">
<short>
Indicates if the control is visible on the parent.
</short>
<descr>
<p>
The <var>Visible</var> property represents the ability to see a visual 
control. If Visible is <b>True</b> the control is shown, otherwise it is 
hidden. Calling Show sets Visible to <b>True</b>. Setting Visible to 
<b>False</b> is equivalent to calling Hide method.
</p>
<remark>
The Visible property does not depend on control's parent visibility. Use 
IsVisible method to consider this and get the real visibility.
</remark>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.OnClick" name="TDBListBox.OnClick"/>
<element name="TDBLIstBox.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TDBListBox.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBListBox.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBListBox.OnDragOver"/>

<element name="TDBListBox.OnDrawItem">
<short>
Event handler signalled to draw an Item on the data-aware list box.
</short>
<descr>
<p>
<var>OnDrawItem</var> is an event handler used to draw an Item on the 
data-aware list box.
</p>
<p>
For example, selecting an item may require it to be highlighted or have its 
font or background changed.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomListBox.OnDrawItem">TCustomListBox.OnDrawItem</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBListBox.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBListBox.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBListBox.OnExit"/>

<element name="TDBListBox.OnKeyPress">
<short>
Event handler signalled when a key is pressed while the control has focus.
</short>
<descr>
<p>
<var>OnKeyPress</var> differs from <link 
id="#lcl.controls.TWinControl.OnKeyDown">OnKeyDown</link> in that the key 
needs to become pressed while the control has focus; with 
<var>OnKeyDown</var> the key may have already been down when the control 
received focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyPress">TWinControl.OnKeyPress</link>
</seealso>
</element>

<element name="TDBListBox.OnKeyDown">
<short>
Event handler signalled when a key is down while the control has focus.
</short>
<descr>
<p>
<var>OnKeyDown</var> differs from <link 
id="#lcl.controls.TWinControl.OnKeyPress">OnKeyPress</link> in that the key 
may have already been down when the control received focus; with 
<var>OnKeyPress</var> the key needs to become pressed while the control has 
focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyDown">TWinControl.OnKeyDown</link>
</seealso>
</element>

<element name="TDBListBox.OnKeyUp">
<short>
Event handler signalled when a key is up (not pressed) while the control has 
focus.
</short>
<descr>
<p>
In <var>OnKeyUp</var>, the key may already have been up when the control 
received focus, or a pressed key may become released during the time the 
control has focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyUp">TWinControl.OnKeyUp</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBListBox.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBListBox.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBListBox.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBListBox.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBListBox.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBListBox.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBListBox.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBListBox.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnResize" name="TDBListBox.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBListBox.OnStartDrag"/>
<element link="#lcl.controls.TWinControl.OnUTF8KeyPress" name="TDBListBox.OnUTF8KeyPress"/>

<element name="TDBLookupListBox">
<short>Implements a data-aware listbox control with database lookup 
capabilities.
</short>
<descr>
<p>
<var>TDBLookupListBox</var> is a <var>TCustomDBListBox</var> descendant which 
implements a data-aware listbox with database lookup capabilities.
</p>
<p>
TDBLookupListBox allows selection of a value from a list of items, and stores 
the value to a field in a linked dataset. The database lookup feature allows 
a separate dataset to be used which contains the values for the items 
available in the control. Individual fields can be specified for both the 
stored value and the associated display value. Internally, it uses a 
TDBLookup component to enable the database lookup feature.
</p>
<p>
In addition, the control can be used in an unbound mode where either the 
<var>DataSource</var> or the <var>DataField</var> is not defined for the 
control. This allows the lookup dataset to synchronized when the current 
selection in the control is changed, but prevents the selected value from 
being stored in the linked dataset.
</p>
<p>
Use <var>ListSource</var> to provide access to the lookup dataset used in the 
control. Use <var>ListField</var> or <var>ListFieldIndex</var> to specify the 
field name or ordinal position in the lookup dataset displayed in the 
listbox. Use <var>KeyField</var> to specify the field name in the lookup 
dataset with the value stored in the DataField for the control. Use 
<var>KeyValue</var> to read or write the value for the KeyField in the lookup 
dataset.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.IsUnbound"/>
<link id="TDBLookupListBox.DataSource"/>
<link id="TDBLookupListBox.DataField"/>
<link id="TDBLookupListBox.ListSource"/>
<link id="TDBLookupListBox.ListField"/>
<link id="TDBLookupListBox.ListFieldIndex"/>
<link id="TDBLookupListBox.KeyField"/>
<link id="TDBLookupListBox.KeyValue"/>
<link id="TDBLookup"/>
</seealso>
</element>
<!-- visibility: private -->
<element name="TDBLookupListBox.FLookup"/>
<element name="TDBLookupListBox.ActiveChange"/>
<element name="TDBLookupListBox.ActiveChange.Sender"/>
<element name="TDBLookupListBox.GetDisplayEmpty"/>
<element name="TDBLookupListBox.GetDisplayEmpty.Result"/>
<element name="TDBLookupListBox.GetEmptyValue"/>
<element name="TDBLookupListBox.GetEmptyValue.Result"/>
<element name="TDBLookupListBox.GetKeyField"/>
<element name="TDBLookupListBox.GetKeyField.Result"/>
<element name="TDBLookupListBox.GetKeyValue"/>
<element name="TDBLookupListBox.GetKeyValue.Result"/>
<element name="TDBLookupListBox.GetListField"/>
<element name="TDBLookupListBox.GetListField.Result"/>
<element name="TDBLookupListBox.GetListFieldIndex"/>
<element name="TDBLookupListBox.GetListFieldIndex.Result"/>
<element name="TDBLookupListBox.GetListSource"/>
<element name="TDBLookupListBox.GetListSource.Result"/>
<element name="TDBLookupListBox.GetLookupCache"/>
<element name="TDBLookupListBox.GetLookupCache.Result"/>
<element name="TDBLookupListBox.GetNullValueKey"/>
<element name="TDBLookupListBox.GetNullValueKey.Result"/>
<element name="TDBLookupListBox.GetScrollListDataset"/>
<element name="TDBLookupListBox.GetScrollListDataset.Result"/>
<element name="TDBLookupListBox.SetDisplayEmpty"/>
<element name="TDBLookupListBox.SetDisplayEmpty.AValue"/>
<element name="TDBLookupListBox.SetEmptyValue"/>
<element name="TDBLookupListBox.SetEmptyValue.AValue"/>
<element name="TDBLookupListBox.SetKeyField"/>
<element name="TDBLookupListBox.SetKeyField.Value"/>
<element name="TDBLookupListBox.SetKeyValue"/>
<element name="TDBLookupListBox.SetKeyValue.AValue"/>
<element name="TDBLookupListBox.SetListField"/>
<element name="TDBLookupListBox.SetListField.Value"/>
<element name="TDBLookupListBox.SetListFieldIndex"/>
<element name="TDBLookupListBox.SetListFieldIndex.Value"/>
<element name="TDBLookupListBox.SetListSource"/>
<element name="TDBLookupListBox.SetListSource.Value"/>
<element name="TDBLookupListBox.SetLookupCache"/>
<element name="TDBLookupListBox.SetLookupCache.Value"/>
<element name="TDBLookupListBox.SetNullValueKey"/>
<element name="TDBLookupListBox.SetNullValueKey.AValue"/>
<element name="TDBLookupListBox.SetScrollListDataset"/>
<element name="TDBLookupListBox.SetScrollListDataset.AValue"/>
<element name="TDBLookupListBox.UpdateLookup"/>
<element name="TDBLookupListBox.DataChange">
<short>
Performs actions needed when a new DataField value is selected using the 
lookup dataset.
</short>
<descr>
<p>
<var>DataChange</var> is an overridden method in <var>TDBLookupListBox</var>. 
It implements the abstract virtual method defined in the ancestor class, and 
provides support for setting the value in <var>ItemIndex</var> when the value 
for <var>KeyField</var> in the lookup dataset has changed.
</p>
<p>
DataChange uses the internal <var>TFieldDataLink</var> instance in the 
control to determine if the linked dataset has been opened. If the dataset is 
active, the value in <var>ItemIndex</var> is set to the key index position 
from the lookup dataset. If the linked dataset is not active, the value in 
ItemIndex is set to <b>-1</b> (indicating no item is selected in the control).
</p>
<p>
DataChange is used as the <var>OnDataChange</var> event handler for the 
internal <var>TFieldDataLink</var> instance in the control, and called from 
the <var>DoSelectionChange</var> method.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.DataField"/>
<link id="TDBLookupListBox.KeyField"/>
<link id="TDBLookup.KeyFieldValue"/>
<link id="TDBLookup.GetKeyIndex"/>
<link id="TCustomDBListBox.DataChange"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>

<element name="TDBLookupListBox.DoSelectionChange">
<short>Performs actions needed when the selected item in the listbox is 
changed.
</short>
<descr>
<p>
<var>DoSelectionChange</var> is an overridden method in 
<var>TDBLookupListBox</var>. It extends the inherited method to provide 
support for the "unbound" usage model where either the <var>DataField</var> 
or the <var>DataSource</var> is not defined for the control. This allows the 
lookup dataset to be synchronized to the current item selection in the 
listbox, but does not include storing the new value in the linked dataset.
</p>
<p>
<var>User</var> indicates if the selection change is a result of user 
interaction with the listbox control, as opposed to a programmatic change 
from methods or messages in the class. When both User and 
<var>IsUnbound</var> are <b>True</b>, the <var>UpdateData</var> method is 
called to reposition the lookup dataset to the new value for the control.
</p>
<p>
When User is <b>True</b> and IsUnbound is <b>False</b>, the internal 
<var>TFieldDataLink</var> is notified of the new value by calling its 
<var>CanModify</var>, <var>Modified</var>, and <var>UpdateRecord</var> 
methods. If the linked dataset cannot be modified, the <var>DataChange</var> 
method is called.
</p>
<p>
DoSelectionChange calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.DataField"/>
<link id="TDBLookupListBox.DataSource"/>
<link id="TDBLookupListBox.IsUnbound"/>
<link id="TDBLookupListBox.DataChange"/>
<link id="TFieldDataLink.CanModify"/>
<link id="TFieldDataLink.Modified"/>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
<link id="#lcl.stdctrls.TCustomListBox.DoSelectionChange">TCustomListBox.DoSelectionChange</link>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>
<element name="TDBLookupListBox.DoSelectionChange.User">
<short>Indicates if the selection change is due to user interaction with the 
control.
</short>
</element>
<element name="TDBLookupListBox.InitializeWnd">
<short>Initializes the window handle for the control.</short>
<descr>
<p>
<var>InitializeWnd</var> is an overridden procedure in 
<var>TDBLookupListBox</var>, and calls the inherited method to initialize the 
window handle and the
<var>Items</var> used for the control. InitializeWnd ensures that the Items 
property is also assigned to the control items in the TDBLookup instance used 
in the control.
</p>
</descr>
<seealso>
<link id="TDBLookup.ControlItems"/>
<link id="#lcl.stdctrls.TCustomListBox.InitializeWnd">TCustomListBox.InitializeWnd</link>
<link id="#lcl.stdctrls.TCustomListBox.Items">TCustomListBox.Items</link>
</seealso>
</element>
<element name="TDBLookupListBox.DestroyWnd">
<short>
Frees the window handle and updates the address used for the Items in the 
controls.
</short>
<descr/>
<seealso>
<link id="#lcl.stdctrls.TCustomListBox.DestroyWnd">TCustomListBox.DestroyWnd</link>
</seealso>
</element>
<element name="TDBLookupListBox.KeyDown">
<short>Applies the specified virtual key code to the control.</short>
<descr>
<p>
<var>KeyDown</var> is an overridden procedure used to apply the specified 
virtual key code and modifier to the control.
</p>
<p>
<var>Key</var> is the virtual key code examined in the method. 
<var>Shift</var> is the modifier for the virtual key code.
</p>
<p>
KeyDown ensures that the <var>NullValueKey</var> shortcut defined for the 
control is applied to the control and its lookup dataset in the internal 
<var>TDBLookup</var> instance. This causes the value in <var>ItemIndex</var> 
to be set to <b>-1</b> to clear the selection in the listbox.
</p>
<p>
KeyDown calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.NullValueKey"/>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>
<element name="TDBLookupListBox.KeyDown.Key">
<short>Virtual key code examined in the method.</short>
</element>
<element name="TDBLookupListBox.KeyDown.Shift">
<short>Modifier for the virtual key code.</short>
</element>
<element name="TDBLookupListBox.Loaded">
<short>
Performs actions needed when the control has loaded using the LCL streaming 
mechanism.
</short>
<descr>
<p>
<var>Loaded</var> is an overridden procedure in <var>TDBLookupListBox</var>. 
It calls the inherited method, and calls the <var>UpdateLookup</var> method 
to initialize the internal <var>TDBLookup</var> instance used in the control.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent">TComponent</link>
</seealso>
</element>
<element name="TDBLookupListBox.UpdateData">
<short>Updates the data in the lookup dataset for the control.</short>
<descr>
<p>
<var>UpdateData</var> is an overridden procedure in 
<var>TDBLookupListBox</var>. It implements the abstract virtual method 
defined in the ancestor class. UpdateData uses the value in 
<var>ItemIndex</var> to update the internal TDBLookup instance for the 
control. When ItemIndex contains a positive non-zero value, the UpdateData 
method in TDBLookup is called to apply the ItemIndex value.
</p>
<remark>
No actions are performed in the method when ItemIndex contains a negative 
non-zero value.
</remark>
<p>
UpdateData is called from the <var>DoSelectionChange</var> method when 
<var>IsUnbound</var> returns <b>True</b>.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.IsUnbound"/>
<link id="TDBLookup.UpdateData"/>
<link id="TCustomDBListBox.UpdateData"/>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>
<element name="TDBLookupListBox.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBLookupListBox.IsUnbound">
<short>Indicates if the control is being used in the "unbound" mode.</short>
<descr>
<p>
<var>IsUnbound</var> is a <var>Boolean</var> function which indicates if the 
control is being used in the "unbound" mode - where either the DataField or 
DataSource are not assigned for the control. This mode allows the control to 
synchronize the lookup dataset to the current item selection in the control, 
but does not post the control value to its linked dataset.
</p>
<p>
IsUnBound is used in the <var>DoSelectionChange</var> method to determine if 
the <var>UpdateData</var> method needs to be performed.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.UpdateData"/>
<link id="TDBLookupListBox.DataField"/>
<link id="TDBLookupListBox.DataSource"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TDBLookupListBox.IsUnbound.Result">
<short><b>True</b> when the control does not store the current selection in 
the linked dataset.
</short>
</element>
<element name="TDBLookupListBox.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 allocates resources needed for 
the lookup dataset used in the control. Create sets the default values for 
properties, and assigns the <var>OnActiveChange</var> event handler used for 
the linked dataset where the selected value is stored.
</p>
</descr>
<seealso>
<link id="#LCL.DbCtrls.TCustomDBListBox.Create">TCustomDBListBox.Create</link>
<link id="TFieldDataLink.OnActiveChange"/>
<link id="TDBLookup"/>
</seealso>
</element>
<element name="TDBLookupListBox.Create.AOwner">
<short>Owner of the class instance.</short>
</element>

<element name="TDBLookupListBox.KeyValue">
<short>Accesses the value for the KeyField in the lookup dataset.</short>
<descr>
<p>
<var>KeyValue</var> is a <var>Variant</var> property used to access the value 
for the <var>KeyField</var> in the lookup dataset for the control. It is a 
Variant type because the KeyField may be represented as any of the valid 
field types supported in the lookup dataset.
</p>
<p>
Read and write access to the value is redirected to the internal 
<var>TDBLookup</var> instance used in the control. Read access uses the value 
in <var>ItemIndex</var> to call the <var>GetKeyValue</var> method in the 
lookup component. Write access calls the <var>GetKeyIndex</var> method in the 
lookup component.
</p>
</descr>
<seealso>
<link id="TDBLookup.KeyField"/>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.Align" name="TDBLookupListBox.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBLookupListBox.Anchors"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBLookupListBox.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBLookupListBox.BorderSpacing"/>
<element link="#lcl.controls.TWinControl.BorderStyle" name="TDBLookupListBox.BorderStyle"/>
<element link="#lcl.controls.TControl.Color" name="TDBLookupListBox.Color"/>
<element name="TDBLookupListBox.Constraints" link="#lcl.controls.TControl.Constraints"/>
<element link="#lcl.dbctrls.TCustomDBListBox.DataField" name="TDBLookupListBox.DataField"/>
<element link="#lcl.dbctrls.TCustomDBListBox.DataSource" name="TDBLookupListBox.DataSource"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBLookupListBox.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBLookupListBox.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBLookupListBox.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBLookupListBox.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBLookupListBox.Enabled"/>
<element name="TDBLookupListBox.Font" link="#lcl.controls.TControl.Font"/>
<element name="TDBLookupListBox.KeyField">
<short>
Field name in the lookup dataset with the value for the control.
</short>
<descr>
<p>
<var>KeyField</var> is a <var>String</var> property which contains the name 
of the field in the lookup dataset which provides the value stored in the 
data-aware control. Changing the value in KeyField causes the internal 
<var>TDBLookup</var> component to be updated, and calls the 
<var>UpdateLookup</var> method.
</p>
<p>
Use <var>ListField</var> to set the field name with the values displayed in 
the list of items for the control. Use <var>ListFieldIndex</var> to specify 
the list field by its ordinal field position in the lookup dataset.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.ListField"/>
<link id="TDBLookupListBox.ListFieldIndex"/>
<link id="TDBLookupListBox.ListSource"/>
<link id="TDBLookup"/>
</seealso>
</element>
<element name="TDBLookupListBox.ListField">
<short>Field name with the descriptive value displayed in the listbox.</short>
<descr>
<p>
<var>ListField</var> is a <var>String</var> property which contains the name 
of the field in the lookup dataset displayed in the listbox for the control. 
ListField normally contains a more descriptive textual value associated the 
KeyField.
</p>
<p>
Use <var>ListFieldIndex</var> to specify the list field by its ordinal 
position in the lookup dataset. Use <var>KeyField</var> to specify the name 
of the field with the value stored in the <var>DataField</var> for the linked 
dataset. Use <var>ListSource</var> to specify the datasource component with 
the lookup dataset for the control.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.DataSource"/>
<link id="TDBLookupListBox.DataField"/>
<link id="TDBLookupListBox.ListSource"/>
<link id="TDBLookupListBox.ListFieldIndex"/>
<link id="TDBLookupListBox.KeyField"/>
</seealso>
</element>
<element name="TDBLookupListBox.ListFieldIndex">
<short>
Ordinal position of the field in the lookup dataset with the descriptive 
value displayed in the control.
</short>
<descr>
<p>
<var>ListFieldIndex</var> is an
<var>Integer</var> property which contains the ordinal position of the field 
in the lookup dataset with the descriptive textual value displayed in the 
control.
</p>
<p>
Read and write access to the property value is redirected to the 
ListFieldIndex property in the internal <var>TDBLookup</var> instance used in 
the control. Assigning a new value to the property causes the 
<var>UpdateLookup</var> method to be called to re-initialize the TDBLookup 
instance and the value in the <var>ItemIndex</var> property.
</p>
<p>
The default value for the property is zero (<b>0</b>), and indicates that the 
first field in the lookup dataset is used as the list field.
</p>
<p>
Use <var>ListSource</var> to specify the datasource component used to access 
the lookup dataset for the control. Use <var>ListField</var> to specify the 
list field by its field name. Use <var>KeyField</var> to specify the field 
with the value stored in the <var>DataField</var> for the control.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.ListSource"/>
<link id="TDBLookupListBox.ListField"/>
<link id="TDBLookupListBox.KeyField"/>
<link id="TDBLookupListBox.DataField"/>
</seealso>
</element>
<element name="TDBLookupListBox.ListSource">
<short>Datasource with the lookup dataset for the control.</short>
<descr>
<p>
<var>ListSource</var> is a <var>TDataSource</var> property which contains the 
datasource component used to access the lookup dataset for the control.
</p>
<p>
Read and write access to the property value is redirected to the 
<var>DataSource</var> property in the internal <var>TDBLookup</var> instance 
used in the control. Assigning a new value to the property causes the 
<var>UpdateLookup</var> method to be called to re-initialize the TDBLookup 
instance and the value in the <var>ItemIndex</var> property.
</p>
<p>
Use <var>ListField</var> or <var>ListFieldIndex</var> to specify the field 
with the descriptive value displayed in the control. Use <var>KeyField</var> 
to specify the field with the value stored in the <var>DataField</var> for 
the control.
</p>
</descr>
<seealso>
<link id="TDBLookupListBox.ListField"/>
<link id="TDBLookupListBox.ListFieldIndex"/>
<link id="TDBLookupListBox.KeyField"/>
<link id="TDBLookupListBox.DataField"/>
<link id="TDBLookup"/>
<link id="#lcl.stdctrls.TCustomListBox.ItemIndex">TCustomListBox.ItemIndex</link>
</seealso>
</element>
<element name="TDBLookupListBox.LookupCache">
<short>
Indicates if caching is enabled for fields in the lookup dataset.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupListBox.NullValueKey">
<short>
Keyboard shortcut used to assign the empty key value to the control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupListBox.EmptyValue">
<short>
Value used as the empty field value in the DataField for the control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupListBox.DisplayEmpty">
<short>Descriptive text displayed for the EmptyValue in the control.</short>
<descr/>
<seealso/>
</element>


<element link="#lcl.stdctrls.TCustomListBox.Options" name="TDBLookupListBox.Options"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBLookupListBox.ParentBidiMode"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBLookupListBox.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBLookupListBox.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBLookupListBox.PopupMenu"/>
<element link="#lcl.dbctrls.TCustomDBListBox.ReadOnly" name="TDBLookupListBox.ReadOnly"/>

<element name="TDBLookupListBox.ScrollListDataset">
<short>
Indicates if the look-up data set is scrolled for a new value in the control.
</short>
<descr>
<p>
Indicates if the look-up data set is searched and scrolled when a new value 
is selected in the control. The default value for the property is 
<b>False</b>.
</p>
</descr>
<seealso/>
</element>

<element link="#lcl.controls.TControl.ShowHint" name="TDBLookupListBox.ShowHint"/>
<element link="#lcl.stdctrls.TCustomListBox.Sorted" name="TDBLookupListBox.Sorted"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBLookupListBox.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBLookupListBox.TabStop"/>
<element link="#lcl.stdctrls.TCustomListBox.TopIndex" name="TDBLookupListBox.TopIndex"/>
<element link="#lcl.controls.TControl.Visible" name="TDBLookupListBox.Visible"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBLookupListBox.OnClick"/>
<element name="TDBLookupListBox.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDblClick" name="TDBLookupListBox.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBLookupListBox.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBLookupListBox.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEditingDone" name="TDBLookupListBox.OnEditingDone"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBLookupListBox.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBLookupListBox.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBLookupListBox.OnExit"/>
<element link="#lcl.controls.TWinControl.OnKeyPress" name="TDBLookupListBox.OnKeyPress"/>
<element link="#lcl.controls.TWinControl.OnKeyDown" name="TDBLookupListBox.OnKeyDown"/>
<element link="#lcl.controls.TWinControl.OnKeyUp" name="TDBLookupListBox.OnKeyUp"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBLookupListBox.OnMouseDown"/>

<element name="TDBLookupListBox.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
<element name="TDBLookupListBox.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
<element name="TDBLookupListBox.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
<element name="TDBLookupListBox.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
<element name="TDBLookupListBox.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TDBLookupListBox.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TDBLookupListBox.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnResize" name="TDBLookupListBox.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBLookupListBox.OnStartDrag"/>
<element link="#lcl.controls.TWinControl.OnUTF8KeyPress" name="TDBLookupListBox.OnUTF8KeyPress"/>

<element name="TDBRadioGroup">
<short>
<var>TDBRadioGroup</var> is a data-aware version of <var>TRadioGroup,</var> 
providing a series of mutually exclusive buttons to select an entry to insert 
into a database field.
</short>
<descr>
<p>
The properties of <var>TDBRadioGroup</var> are similar to those of 
<var>TRadioGroup</var> (and <var>TCustomRadioGroup</var>). Access is obtained 
to members of the group by selecting (in the Object Inspector) the ellipsis 
(...) next to the entry <b>Items</b>, and then editing the stringlist.
</p>
<p>
At run-time, selecting one of the radio buttons makes the corresponding 
ItemIndex available to the programmer, and the corresponding string Item gets 
selected and appears as the string value for the record in that field.
</p>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBRadioGroup.FDataLink"/>
<element name="TDBRadioGroup.FOnChange"/>
<element name="TDBRadioGroup.FValue"/>
<element name="TDBRadioGroup.FValues"/>
<element name="TDBRadioGroup.FInSetValue"/>
<element name="TDBRadioGroup.GetDataField"/>
<element name="TDBRadioGroup.GetDataField.Result"/>
<element name="TDBRadioGroup.GetDataSource"/>
<element name="TDBRadioGroup.GetDataSource.Result"/>
<element name="TDBRadioGroup.GetField"/>
<element name="TDBRadioGroup.GetField.Result"/>
<element name="TDBRadioGroup.GetReadOnly"/>
<element name="TDBRadioGroup.GetReadOnly.Result"/>
<element name="TDBRadioGroup.SetDataField"/>
<element name="TDBRadioGroup.SetDataField.AValue"/>
<element name="TDBRadioGroup.SetDataSource"/>
<element name="TDBRadioGroup.SetDataSource.AValue"/>
<element name="TDBRadioGroup.SetItems"/>
<element name="TDBRadioGroup.SetItems.AValue"/>
<element name="TDBRadioGroup.SetReadOnly"/>
<element name="TDBRadioGroup.SetReadOnly.AValue"/>
<element name="TDBRadioGroup.SetValue"/>
<element name="TDBRadioGroup.SetValue.AValue"/>
<element name="TDBRadioGroup.SetValues"/>
<element name="TDBRadioGroup.SetValues.AValue"/>
<element name="TDBRadioGroup.CMGetDataLink"/>
<element name="TDBRadioGroup.CMGetDataLink.Message"/>
<element name="TDBRadioGroup.Change">
<short>Signals the OnChange event handler when assigned.
</short>
<descr>
<var>Change</var> is used to signal the <var>OnChange</var> event handler 
(when assigned).
</descr>
<seealso/>
</element>
<element name="TDBRadioGroup.Notification">
<short>
Sets the DataSource to Nil when the control is destroyed.
</short>
<descr>
<p>
<var>Notification</var> is an overridden method in TDBRadioGroup, and calls 
the inherited method. Notification ensures the <var>DataSource</var> for the 
control is set to <b>Nil</b> when <var>Operation</var> contains 
<var>opRemove</var> and
<var>AComponent</var> is the DataSource component.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataSource"/>
<link id="TDBRadioGroup.Destroy"/>
<link id="#rtl.classes.TComponent">TComponent</link>
</seealso>
</element>
<element name="TDBRadioGroup.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBRadioGroup.Notification.Operation">
<short>Operation generating the notification.</short>
</element>
<element name="TDBRadioGroup.DataChange">
<short>Updates the control display value when the linked dataset is 
repositioned.
</short>
<descr>
<p>
<var>DataChange</var> is used to perform actions needed when the linked 
dataset for the control has been repositioned. In TDBRadioGroup, this 
requires setting the
<var>Value</var> property for the control. DataChange uses the
<var>Field</var> property (when assigned) to get the display text for the 
field. Value is set to an empty string <b>('')</b> when Field has not been 
assigned.
</p>
<p>
DataChange is used as the <var>OnDataChange</var> event handler in the 
internal <var>TFieldDataLink</var> instance in the class. It is called 
directly when values are assigned to the Items and Value properties, and when 
UpdateRadioButtonStates is used to update tab navigation and the current 
selection index in the control.
</p>
</descr>
<seealso/>
</element>
<element name="TDBRadioGroup.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBRadioGroup.UpdateData">
<short>Updates the linked dataset using the current selection in the control.
</short>
<descr>
<p>
<var>UpdateData</var> us used to perform the actions needed to update a 
linked dataset using the current selection in the control.
</p>
<p>
In <var>TDBRadioGroup</var>, this involves assigning the content from the 
<var>Value</var> property to the field for the linked dataset. UpdateData 
uses the internal <var>TFieldDataLink</var> instance for the control to 
access the <var>Field</var> for the linked dataset. No actions are performed 
when the field in the TFieldDataLink instance has not been assigned.
</p>
<p>
UpdateData is assigned to the <var>OnUpdateData</var> event handler in the 
<var>TFieldDataLink</var> instance for the data-aware control.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataField"/>
<link id="TDBRadioGroup.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.OnUpdateData"/>
</seealso>
</element>
<element name="TDBRadioGroup.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBRadioGroup.DataLink">
<short>Provides access to properties, methods, and events for the data-aware 
control.
</short>
<descr>
<p>
<var>DataLink</var> is a read-only TFieldDataLink property which provides 
access to properties, methods, and events needed to implement the data-aware 
control. It maintains references to the <var>Control</var> and its associated 
<var>DataSource</var>, <var>DataSet</var>, and <var>Field</var>.
</p>
<p>
Read and Write access to many of the properties in the control are redirected 
to this member in the class instance, including: DataField, DataSource, 
Field, ReadOnly, et. al. It is used in the implementation of methods to 
synchronize the actions and state for the control and its database-related 
components.
</p>
<p>
Methods, such as DataChange and UpdateData, are used as event handlers in the 
property.
</p>
</descr>
<seealso>
<link id="TFieldDataLink"/>
<link id="TDBRadioGroup.DataField"/>
<link id="TDBRadioGroup.DataSource"/>
<link id="TDBRadioGroup.Field"/>
<link id="TDBRadioGroup.ReadOnly"/>
<link id="TDBRadioGroup.DataChange"/>
<link id="TDBRadioGroup.UpdateData"/>
</seealso>
</element>

<element name="TDBRadioGroup.GetButtonValue">
<short>Gets the value for the radio button at the specified position in the 
control.
</short>
<descr>
<p>
<var>GetButtonValue</var> is a <var>String</var> function used to get the 
value for the Radio Button at the ordinal position specified in 
<var>Index</var>.
</p>
<p>
When Index is a negative non-zero value, the return value is an empty string 
<b>('')</b>. Otherwise, the return value contains the content at the 
specified index position in Values. If no corresponding entry is available in 
Values, the content from Items at the specified position is used.
</p>
<p>
Use the Items property to define the Radio Buttons displayed in the control. 
Use Values to define the content stored in <var>DataField</var> when the 
radio button in <var>ItemIndex</var> is selected.
</p>
<p>
GetButtonValue is used in the implementation of the 
<var>UpdateRadioButtonStates</var> method.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.Items"/>
<link id="TDBRadioGroup.ItemIndex"/>
<link id="TDBRadioGroup.Values"/>
<link id="TDBRadioGroup.Value"/>
<link id="TDBRadioGroup.UpdateRadioButtonStates"/>
</seealso>
</element>
<element name="TDBRadioGroup.GetButtonValue.Result">
<short>The value stored for the specified radio button.</short>
</element>
<element name="TDBRadioGroup.GetButtonValue.Index">
<short>Ordinal position in Items for the requested radio button.</short>
</element>

<element name="TDBRadioGroup.UpdateRadioButtonStates">
<short>
Updates the linked dataset to reflect the current radio button selected in 
the control.
</short>
<descr>
<p>
<var>UpdateRadioButtonStates</var> is an overridden method in 
<var>TDBRadioGroup</var> used to update the linked dataset for the 
data-aware control when the value in ItemIndex has been changed.
</p>
<p>
UpdateRadioButtonStates ensures that the <var>Value</var> for the radio 
button in ItemIndex is applied to the linked dataset when it can be modified. 
The Edit and Modified methods in DataLink are called to place the linked 
dataset in an edit state. Value is updated to apply the new content to the 
field in the linked dataset.
</p>
<p>
If the dataset cannot be modified, the <var>DataChange</var> method is called 
directly to update the control. Value is changed to 'X' character to indicate 
that the linked dataset could not be modified.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.Value"/>
<link id="TDBRadioGroup.DataLink"/>
<link id="TFieldDataLink.Modified"/>
<link id="TFieldDataLink.Edit"/>
<link id="#lcl.extctrls.TCustomRadioGroup.UpdateRadioButtonStates">
TCustomRadioGroup.UpdateRadioButtonStates</link>
</seealso>
</element>
<element name="TDBRadioGroup.Create">
<short>Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for <var>TDBRadioGroup</var>. 
It calls the inherited <var>Create</var> method, and allocates resources 
needed for the <var>DataLink</var> and <var>Values</var> properties. The 
<var>DataChange</var> and <var>UpdateData</var> methods are assigned to event 
handlers in DataLink.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomRadioGroup.Create">TCustomRadioGroup.Create</link>
</seealso>
</element>
<element name="TDBRadioGroup.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDBRadioGroup.Destroy">
<short>Destroy is the destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the destructor for <var>TDBRadioGroup</var>. It frees 
resources allocated to the <var>DataLink</var> and <var>Values</var> 
properties, and calls the inherited destructor prior to exiting from the 
method.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomRadioGroup.Destroy">TCustomRadioGroup.Destroy</link>
</seealso>
</element>
<element name="TDBRadioGroup.EditingDone">
<short>Performs actions needed when the user has finished editing.</short>
<descr>
<p>
<var>EditingDone</var> is an overridden method in <var>TDBRadioGroup</var>. 
It is used to perform actions needed when the user has finished editing using 
the control. It occurs when the focus changes to another control, or when the 
user selects another item using the mouse.
</p>
<p>
EditingDone extends the behavior from the ancestor class to update the linked 
dataset by calling the <var>UpdateRecord</var> method in <var>DataLink</var>.
</p>
<p>
EditingDone calls the inherited method to signal the <var>OnEditingDone</var> 
event handler (when assigned).
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataLink"/>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
<link id="#lcl.controls.TControl.EditingDone">TControl.EditingDone</link>
<link id="#lcl.controls.TControl.OnEditingDone">TControl.OnEditingDone</link>
</seealso>
</element>
<element name="TDBRadioGroup.ExecuteAction">
<short>Implements support for standard actions in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden <var>Boolean</var> function used to 
implement support for <var>TBasicAction</var> in the control. ExecuteAction 
extends the inherited method by using the DataLink (when assigned) to perform 
the requested action.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> instance examined and 
potentially executed in the method.
</p>
<p>
The return value for the method is <b>True</b> when the action in AAction was 
executed for the control.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.UpdateAction"/>
<link id="#fcl.db.TDataLink.ExecuteAction">TDataLink.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
</seealso>
</element>
<element name="TDBRadioGroup.ExecuteAction.Result">
<short><b>True</b> when the action was executed in the method.</short>
</element>
<element name="TDBRadioGroup.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TDBRadioGroup.UpdateAction">
<short>Updates the specified action to reflect the current state in the 
linked dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBRadioGroup</var>. UpdateAction is called when the 
<var>Application</var> enters an idle state to ensure that the action 
reflects the current state for a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when DataLink has been assigned, 
executes its UpdateAction method. The return value is <b>True</b> when 
AAction is updated using either the inherited method, or the method in 
DataLink. The return value is <b>False</b> when AAction could not be updated 
in the method.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBRadioGroup.UpdateAction.Result">
<short><b>True</b> when the action was updated in the method.</short>
</element>
<element name="TDBRadioGroup.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>
<element name="TDBRadioGroup.Field">
<short>The DataSet Field relevant to the data being selected.</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which contains the 
definition used to access the field in the linked dataset where the 
<var>Value</var> for the data-aware control is stored. Read access for the 
property value is redirected to the <var>Field</var> property in 
<var>DataLink</var>.
</p>
<p>
Use <var>DataSource</var> to assign the component which provides access to 
the linked dataset.
</p>
<p>
Use <var>DataField</var> to access the name of the field in the linked 
dataset.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataLink"/>
<link id="TDBRadioGroup.DataField"/>
<link id="TDBRadioGroup.DataSource"/>
<link id="TDBRadioGroup.Value"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>

<element name="TDBRadioGroup.ItemIndex">
<short>
Ordinal position for the selected radio button in the group.
</short>
<descr>
<p>
ItemIndex is an Integer property with the ordinal position for the selected 
radio button in the group. The default value for the property is -1, and 
indicates that no radio button is selected for the group. Changing the value 
for the property causes the widgetset control to be updated when its Handle 
has been assigned.
</p>
<p>
ItemIndex must be in the range <b>-1..Items.Count-1</b>. An Exception is 
raised with the message in rsIndexOutOfBounds if ItemIndex is set to a value 
less than -1 or greater than or equal to the number Items for the control.
</p>
<p>
ItemIndex is a public property in TDBRadioGroup.
</p>
<remark>
Some widgetsets do not allow a radio button group to have an unselected item 
index. To provide cross-platform compatibility, a hidden radio button is 
created for this purpose. When ItemIndex is set to -1, it actually selects 
the hidden radio button.
</remark>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomRadioGroup.ItemIndex">TCustomRadioGroup.ItemIndex</link>
</seealso>
</element>

<element name="TDBRadioGroup.Value">
<short>The value for the selected radio button in the control.</short>
<descr>
<p>
<var>Value</var> is a <var>String</var> property which contains the text for 
the radio button at <var>ItemIndex</var> in the control. It is given the 
string value from the <var>Values</var> property stored at the position in 
ItemIndex. It may contain an 'X' character when the linked dataset has not 
been assigned, or when Values does not have a string stored at the requested 
position.
</p>
<p>
Assigning a new string to Value causes the <var>Values</var> property to be 
searched to locate the radio button with the specified content. ItemIndex is 
updated with the new position for the radio button, which initiates a call to 
<var>UpdateRadioButtonStates</var> to update the linked dataset and refresh 
the control. The <var>Change</var> method is called to signal the 
<var>OnChange</var> event handler (when assigned).
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.Items"/>
<link id="TDBRadioGroup.ItemIndex"/>
<link id="TDBRadioGroup.Values"/>
<link id="TDBRadioGroup.Change"/>
<link id="TDBRadioGroup.OnChange"/>
<link id="TDBRadioGroup.UpdateRadioButtonStates"/>
</seealso>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBRadioGroup.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBRadioGroup.Anchors"/>
<element link="#lcl.extctrls.TCustomRadioGroup.AutoFill" name="TDBRadioGroup.AutoFill"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBRadioGroup.AutoSize"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBRadioGroup.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBRadioGroup.BorderSpacing"/>
<element name="TDBRadioGroup.Caption">
<short>
Text displayed as the caption for the control.
</short>
<descr>
<p>
Gets caption as a text-string (<var>GetText</var>), or stores the new caption 
(<var>SetText</var>). Shows flag if caption is stored 
(<var>IsCaptionStored</var>).
</p>
<p>
By default, the <var>Caption</var> appears the same as the control 
<var>Name</var> in the Object Inspector, and the developer needs to set it 
explicitly to some new text.
</p>
<p>
The VCL implementation relies on the virtual <var>Get/SetTextBuf</var> to 
exchange text between widgets and VCL. This means a lot of (unnecessary) text 
copies.
</p>
<p>
The LCL uses strings for exchanging text (more efficient). To maintain VCL 
compatibility, the virtual <var>RealGet/SetText</var> is introduced. These 
functions interface with the LCLInterface.
</p>
<p>
The default <var>Get/SetTextBuf</var> implementation calls the 
<var>RealGet/SetText</var>. As long as the <var>Get/SetTextBuf</var> isn't 
overridden <var>Get/SetText</var> calls <var>RealGet/SetText</var> to avoid 
PChar copying.
</p>
<p>
To keep things optimal, LCL implementations should always override 
RealGet/SetText. Get/SetTextBuf is only kept for compatibility.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Caption">TControl.Caption</link>
</seealso>
</element>
<element link="#lcl.controls.TWinControl.ChildSizing" name="TDBRadioGroup.ChildSizing"/>
<element link="#lcl.controls.TControl.Color" name="TDBRadioGroup.Color"/>
<element link="#lcl.extctrls.TCustomRadioGroup.ColumnLayout" name="TDBRadioGroup.ColumnLayout"/>
<element name="TDBRadioGroup.Columns">
<short>
Number of columns displayed for the radio buttons on the control.
</short>
<descr>
<p>
Don't confuse this with the Columns entity in a DBGrid, nor with the COLUMNS 
entity in a SQL database - it simply refers to the number of columns of radio 
buttons to be displayed.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomRadioGroup.Columns">TCustomRadioGroup.Columns</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Constraints" name="TDBRadioGroup.Constraints"/>
<element name="TDBRadioGroup.DataField">
<short>
Name of the Field in the linked dataset where the control Value is stored.
</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
of the field in the linked dataset where the <var>Value</var> for the 
data-aware control is stored. Read and write access to the property value are 
redirected to the FieldName property in DataLink.
</p>
<p>
Use <var>DataSource</var> to access the component which provides the linked 
dataset where DataField is located.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataLink"/>
<link id="TDBRadioGroup.DataSource"/>
<link id="TDBRadioGroup.Value"/>
<link id="TFieldDataLink.FieldName"/>
</seealso>
</element>
<element name="TDBRadioGroup.DataSource">
<short>
Provides access to the linked dataset and the field definition used in the 
control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which contains the 
component used to provide access to the linked dataset and the field used in 
the data-aware control.
</p>
<p>
Read and write access to the property value are redirected to the 
<var>DataSource</var> property in <var>DataLink</var>. Assigning a new value 
for the property causes the <var>ChangeDataSource</var> routine to be called 
to perform notification messages and update the DataLink property in the 
control.
</p>
<p>
Use the <var>DataField</var> property to get or set the name for the field in 
the linked dataset where the <var>Value</var> for the control is stored.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataLink"/>
<link id="TDBRadioGroup.DataField"/>
<link id="TDBRadioGroup.Value"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataSource">TDataSource</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Enabled" name="TDBRadioGroup.Enabled"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBRadioGroup.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBRadioGroup.DragCursor"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBRadioGroup.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBRadioGroup.Enabled"/>
<element link="#lcl.controls.TControl.Font" name="TDBRadioGroup.Font"/>

<element name="TDBRadioGroup.Items">
<short>
Contains the string values used as captions for radio buttons in the grouped 
data-aware control.
</short>
<descr>
<p>
<var>Items</var> is a published <var>TStrings</var> property in 
<var>TDBRadioGroup</var>. The write access specifier ( <var>SetItems</var>) 
is re-implemented in the class to perform the <var>DataChange</var> method 
after assigning the new values(s) in the property.
</p>
<p>
Use the <var>Values</var> property to define the strings that can be stored 
as the <var>Value</var> for the <var>DataField</var> in the control.
</p>
<p>
Use <var>Value</var> to access the element in Values for the current 
selection (<var>ItemIndex</var>) in the control.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.DataChange"/>
<link id="TDBRadioGroup.ItemIndex"/>
<link id="TDBRadioGroup.DataField"/>
<link id="TDBRadioGroup.DataSource"/>
<link id="TDBRadioGroup.DataLink"/>
<link id="TDBRadioGroup.Value"/>
<link id="#lcl.extctrls.TCustomRadioGroup.Items">TCustomRadioGroup.Items</link>
</seealso>
</element>


<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBRadioGroup.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBRadioGroup.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBRadioGroup.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBRadioGroup.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBRadioGroup.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBRadioGroup.PopupMenu"/>

<element name="TDBRadioGroup.ReadOnly">
<short>
<var>ReadOnly</var> - if <b>True</b>, data can only be read, not written or 
modified. (Doesn't really make sense for a RadioGroup!).
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the 
control, and its linked dataset can be modified. Read and write access for 
the property value are redirected to the <var>ReadOnly</var> property in 
<var>DataLink</var>.
</p>
<p>
The default value for the property is <b>False</b>.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.CanModify"/>
<link id="TDataLink.ReadOnly"/>
</seealso>
</element>

<element link="#lcl.controls.TControl.ShowHint" name="TDBRadioGroup.ShowHint"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBRadioGroup.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBRadioGroup.TabStop"/>

<element name="TDBRadioGroup.Values">
<short>
The <var>values</var> of the strings in <var>Items</var>.
</short>
<descr>
<p>
<var>Values</var> is a <var>TStrings</var> property which contains strings 
entries that can be stored as the <var>Value</var> for the control. Values is 
used in conjunction with the <var>Items</var> property, which defines the 
captions displayed for the radio buttons in the grouped control.
</p>
<p>
Assigning a new value to the property causes the <var>DataChange</var> method 
to be called after assigning the new property value.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.Items"/>
<link id="TDBRadioGroup.ItemIndex"/>
<link id="TDBRadioGroup.Value"/>
<link id="TDBRadioGroup.DataChange"/>
</seealso>
</element>

<element name="TDBRadioGroup.Visible">
<short>Indicates if the control is visible on its parent.</short>
<descr>
<p>
The Visible property represents the ability to see a visual control. If 
Visible is <b>True</b> the control is shown, otherwise it is hidden. Calling 
Show sets, among others, Visible to <b>True</b>. Setting Visible to 
<b>False</b> is equivalent to calling Hide method.
</p>
<remark>
The Visible property does not depend on control's parent visibility. Use 
IsVisible method to consider this and get real visibility.
</remark>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>
<element name="TDBRadioGroup.OnChange">
<short>Event Handler signalled when the Value for the control is changed.
</short>
<descr>
<p>
<var>OnChange</var> is a <var>TNotifyEvent</var> property which contains the 
event handler signalled when the <var>Value</var> for the control is changed. 
OnChange can be used in an application to perform actions needed after Value 
(and <var>ItemIndex</var>) has been updated, and the corresponding radio 
button has been set to the checked state.
</p>
<p>
OnChange is signalled from the <var>Change</var> method.
</p>
</descr>
<seealso>
<link id="TDBRadioGroup.Change"/>
<link id="TDBRadioGroup.ItemIndex"/>
<link id="TDBRadioGroup.Value"/>
</seealso>
</element>

<element link="#lcl.controls.TControl.OnChangeBounds" name="TDBRadioGroup.OnChangeBounds"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBRadioGroup.OnClick"/>
<element name="TDBRadioGroup.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBRadioGroup.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBRadioGroup.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBRadioGroup.OnEndDrag"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBRadioGroup.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBRadioGroup.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBRadioGroup.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBRadioGroup.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBRadioGroup.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBRadioGroup.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBRadioGroup.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBRadioGroup.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnResize" name="TDBRadioGroup.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBRadioGroup.OnStartDrag"/>

<element name="TDBCheckBox">
<short>Implements a data-aware check box control.</short>
<descr>
<p>
<var>TDBCheckBox</var> implements a data-aware check box control for use with 
a logical field in a database. The dataset field can be represented using 
either a <var>Boolean</var> or a <var>String</var> data type.
</p>
<p>
TDBCheckBox is a <var>TCustomCheckBox</var> descendant, and provides support 
for a linked dataset with the value for the control. Internally, it uses a 
<var>TFieldDataLink</var> instance to maintain an association between the 
control and its <var>DataSource</var> and <var>DataField</var>.
</p>
<p>
Support for <var>TBasicAction</var> is also implemented in the control using 
its <var>Action</var> property.
</p>
<p>
Use the following properties to configure and control the data-aware check box 
control:
</p>
<ul>
<li>DataSource</li>
<li>DataField</li>
<li>Field</li>
<li>Checked</li>
<li>ValueChecked</li>
<li>ValueUnchecked</li>
<li>Caption</li>
<li>ReadOnly</li>
<li>State</li>
</ul>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBCheckBox.FDataLink"/>
<element name="TDBCheckBox.FValueCheck"/>
<element name="TDBCheckBox.FValueUncheck"/>
<element name="TDBCheckBox.GetDataField">
<short>Gets the value for the DataField property.</short>
</element>
<element name="TDBCheckBox.GetDataField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCheckBox.GetDataSource">
<short>Gets the value for the DataSource property.</short>
</element>
<element name="TDBCheckBox.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCheckBox.GetField">
<short>Gets the value for the Field property.</short>
</element>
<element name="TDBCheckBox.GetField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCheckBox.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
</element>
<element name="TDBCheckBox.GetReadOnly.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCheckBox.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso>
<link id="TDBCheckBox.DataField"/>
</seealso>
</element>
<element name="TDBCheckBox.SetDataField.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCheckBox.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso>
<link id="TDBCheckBox.DataSource"/>
</seealso>
</element>
<element name="TDBCheckBox.SetDataSource.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCheckBox.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<descr/>
<seealso>
<link id="TDBCheckBox.ReadOnly"/>
</seealso>
</element>
<element name="TDBCheckBox.SetReadOnly.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCheckBox.SetValueChecked">
<short>Sets the value for the ValueChecked property.</short>
<descr/>
<seealso>
<link id="TDBCheckBox.ValueChecked"/>
</seealso>
</element>
<element name="TDBCheckBox.SetValueChecked.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCheckBox.SetValueUnchecked">
<short>Sets the value for the ValueUnchecked property.</short>
<descr/>
<seealso>
<link id="TDBCheckBox.ValueUnchecked"/>
</seealso>
</element>
<element name="TDBCheckBox.SetValueUnchecked.AValue">
<short>New value for the property.</short>
</element>

<element name="TDBCheckBox.NonDefaultValueChecked"/>
<element name="TDBCheckBox.NonDefaultValueChecked.Result"/>
<element name="TDBCheckBox.NonDefaultValueUnchecked"/>
<element name="TDBCheckBox.NonDefaultValueUnchecked.Result"/>

<element name="TDBCheckBox.CMGetDataLink">
<short>
Implements the CM_GETDATALINK control message for the data-aware 
control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCheckBox.CMGetDataLink.Message">
<short>Message examined and updated in the method.</short>
</element>

<element name="TDBCheckBox.GetFieldCheckState">
<short>
<var>GetFieldCheckState</var> - returns the check box state for the current 
field.
</short>
<descr>
<p>
<var>GetFieldCheckState</var> is a <var>TCheckBoxState</var> function used to 
get the current value for the State property in the data-aware check box 
control. GetFieldCheckState uses the internal <var>TFieldDataLink</var> 
instance in the class to access the <var>Field</var> in the linked dataset represented by <var>DataField</var>.
</p>
<p>
The field type and value are examined to determine the return value for the 
method. The return value can be one of the following:
</p>
<dl>
<dt>cbChecked</dt>
<dd>
Used when the Boolean value in the Field is <b>True</b>.
</dd>
<dt>cbUnchecked</dt>
<dd>
Used when the Boolean value in the Field is <b>False</b>, or the String value 
matched ValueChecked. Also used when the Field has not been assigned 
(contains <b>Nil</b>).
</dd>
<dt>cbGrayed</dt>
<dd>
Used when the value in Field is not NULL (depends on the database and the field type), and when none of the previous conditions are <b>True</b>.
</dd>
</dl>
<p>
The return value is assigned to the <var>State</var> property when the 
<var>DoOnChange</var> and <var>DataChange</var> methods are executed.
</p>
</descr>
<seealso/>
</element>
<element name="TDBCheckBox.GetFieldCheckState.Result">
<short>Current TCheckBoxState for the control.</short>
</element>

<element name="TDBCheckBox.DataChange">
<short>
Updates the control display value when the linked dataset is changed.
</short>
<descr>
<p>
<var>DataChange</var> is used to perform actions needed when the linked 
dataset for the control has been changed. In TDBCheckBox, this requires 
setting the <var>State</var> property for the control. DataChange calls the 
GetFieldCheckState method to get the value for the State property.
</p>
<p>
DataChange is assigned in the constructor as the <var>OnDataChange</var> 
event handler in the internal <var>TFieldDataLink</var> instance for the 
control. It is temporarily unassigned (when used) prior to calling 
GetFieldCheckState, and reassigned prior to exit.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.GetFieldCheckState"/>
<link id="TDBCheckBox.State"/>
<link id="TFieldDataLink.OnDataChange"/>
</seealso>
</element>
<element name="TDBCheckBox.DataChange.Sender">
<short>Object for the event notification.</short>
</element>

<element name="TDBCheckBox.DoOnChange">
<short>Performs actions needed when the control is clicked.</short>
<descr>
<p>
<var>DoOnChange</var> is an overridden method in <var>TDBCheckBox</var>. It 
ensures that the internal <var>TFieldDataLink</var> is notified of a change 
to the control value.
</p>
<p>
If the OnDataChange event handler has been assigned for the field data link, 
its <var>Edit</var>, <var>Modified</var>, and <var>UpdateRecord</var> methods 
are called to store the new value for the control. If the linked dataset 
cannot be edited, the <var>GetFieldCheckState</var> method is called to get 
the checked state value stored to the <var>State</var> property.
</p>
<p>
The OnDataChange event handler in the data link is temporarily unassigned 
prior to updating the field value. The handler is reassigned when the 
actions have been completed.
</p>
<p>
DoOnChange calls the inherited method to signal the OnEditingDone and 
OnChange event handlers in ancestor classes.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.State"/>
<link id="TDBCheckBox.GetFieldCheckState"/>
<link id="TFieldDataLink.Edit"/>
<link id="TFieldDataLink.Modified"/>
<link id="#lcl.stdctrls.TButtonControl.DoOnChange">TButtonControl.DoOnChange</link>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
</seealso>
</element>

<element name="TDBCheckBox.UpdateData">
<short>
<var>UpdateData</var> - examines the <var>State</var> to see whether it has 
changed.
</short>
<descr>
<p>
<var>UpdateData</var> is a procedure used to update the linked dataset for 
the control when the value in the <var>State</var> property has been changed.
</p>
<p>
When State contains <var>cbGrayed</var>, the <var>Field</var> in the linked 
dataset is cleared. For other values, the Field data type determines whether 
one of the values in <var>Checked</var>, <var>ValueChecked</var>, or 
<var>ValueUnchecked</var> is used. If the Field is a <var>Boolean</var> data 
type, the value in Checked is stored to the linked dataset. Otherwise, the 
text for the field is updated using the value from <var>ValueChecked</var> 
(when Checked is <b>True</b>)  or <var>ValueUnchecked</var> (when Checked is 
<b>False</b>).
</p>
<p>
UpdateData is used as the <var>OnUpdateData</var> event handler in the 
internal <var>TFieldDataLink</var> instance for the class.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.State"/>
<link id="TDBCheckBox.Checked"/>
<link id="TDBCheckBox.DataField"/>
<link id="TDBCheckBox.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TDBCheckBox.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBCheckBox.Notification">
<short>
Handles notification events for components used in the class instance.
</short>
<descr>
<p>
<var>Notification</var> is an overridden procedure in <var>TDBCheckBox</var>, 
and calls the inherited method. Notification ensures that an assigned value 
in <var>DataSource</var> is cleared (set to <b>Nil</b>) when the DataSource 
component is destroyed.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.DataSource"/>
<link id="#rtl.classes.TComponent.Notification">TComponent.Notification</link>
</seealso>
</element>
<element name="TDBCheckBox.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBCheckBox.Notification.Operation">
<short>Operation for the notification.</short>
</element>

<element name="TDBCheckBox.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the constructor for <var>TDBCheckBox</var>, and calls 
the inherited constructor on entry.
</p>
<p>
Create sets the default values for the ValueChecked and ValueUnchecked 
properties to the corresponding strings returned from the BoolToStr. ValueChecked is set to '-1'. ValueUnchecked is set to '0'. Change the values 
in ValueChecked and ValueUnchecked if other string representations are needed.
</p>
<p>
The default value for the State property is set to cbUnchecked.
</p>
<p>
Create allocates and configures the internal TFieldDataLink instance used to 
link the data-aware control to its Field in the underlying DataSource. The 
OnDataChange and OnUpdateData event handlers in the link are set to the 
DataChange and UpdateData methods in the control.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.State"/>
<link id="TDBCheckBox.ValueChecked"/>
<link id="TDBCheckBox.ValueUnchecked"/>
<link id="TDBCheckBox.DataChange"/>
<link id="TDBCheckBox.UpdateData"/>
<link id="TFieldDataLink"/>
<link id="#lcl.stdctrls.TCustomCheckBox.Create">TCustomCheckBox.Create</link>
<link id="#rtl.sysutils.BoolToStr">SysUtils.BoolToStr</link>
</seealso>
</element>
<element name="TDBCheckBox.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>

<element name="TDBCheckBox.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the destructor for <var>TDBCheckBox</var>. It frees 
the internal field data link, and calls the inherited <var>Destroy</var> 
method prior to exit.
</p>
</descr>
<seealso>
<link id="TFieldDataLink"/>
<link id="#lcl.controls.TWinControl.Destroy">TWinControl.Destroy</link>
</seealso>
</element>
<element name="TDBCheckBox.ExecuteAction">
<short>Implements support for TBasicAction in the data-aware control.
</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBCheckBox</var>. It extends the method from the ancestor class to 
include support for use of the internal <var>TFieldDataLink</var> to execute 
the action.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> examined and potentially 
executed in the method.
</p>
<p>
The return value is <b>True</b> when <var>AAction</var> is executed in in the 
method.
</p>
<p>
ExecuteAction calls the inherited method. If AAction is not handled in the 
ancestor class, the internal <var>TFieldDataLink</var> is used to execute the 
action. No actions are performed in the method when the field data link has 
not been assigned, or when the action is not supported for the data link.
</p>
<p>
Use <var>Action</var> to set the <var>TBasicAction</var> assigned to the 
<var>ActionLink</var> for the control, and executed in the <var>Click</var> 
method for the control.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.ExecuteAction">TDataLink.ExecuteAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#lcl.controls.TControl.Action">TControl.Action</link>
<link id="#lcl.controls.TControl.Click">TControl.Click</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
</seealso>
</element>
<element name="TDBCheckBox.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TDBCheckBox.ExecuteAction.AAction">
<short>Action examined an executed in the method.</short>
</element>
<element name="TDBCheckBox.UpdateAction">
<short>Updates the state for the specified action.</short>
<descr>
<p>
<var>UpdateAction</var> is overridden in <var>TDBCheckBox</var>, and checks 
the action specified in <var>AAction</var> to ensure that the current control 
is a target for the action.
</p>
<p>
UpdateAction calls the inherited method to determine if the control is a 
target for the action. If it is not handled (or updated), the internal 
<var>TFieldDataLink</var> instance calls its <var>UpdateAction</var> method. 
The action is supported when the <var>DataSource</var> is the target for the 
action.
</p>
<p>
No actions are performed in the method, and the return value is <b>False</b>, 
when the field data link has not been assigned. The return value is 
<b>True</b> when the action is supported for the control, and successfully 
updated in the method.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.DataSource"/>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#lcl.controls.TControl.Action">TControl.Action</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBCheckBox.UpdateAction.Result">
<short>
<b>True</b> when the action is supported and updated in the method.
</short>
</element>
<element name="TDBCheckBox.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>

<element link="#lcl.stdctrls.TButtonControl.Checked" name="TDBCheckBox.Checked"/>

<element name="TDBCheckBox.Field">
<short>
Provides access to the field definition for the data-aware control.
</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which provides 
access to the field definition to which the data-aware control is linked. 
Read access for the property is redirected to the <var>Field</var> property 
in the internal <var>TFieldDataLink</var> class instance.
</p>
<p>
Field can be used to access properties, methods, and events for the field 
definition in the linked dataset. This includes the data type, field kind, 
size, current value, display labels, key fields, lookup information, 
constraints, etc. There are also properties which handle conversion of the 
field value to different data types.
</p>
<p>
Use <var>DataField</var> to read or write the field name used for the 
data-aware control. Use <var>DataSource</var> to specify the data source with 
the dataset containing the specified field name.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.DataField"/>
<link id="TDBCheckBox.DataSource"/>
<link id="TFieldDataLink"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>

<element link="#lcl.stdctrls.TCustomCheckBox.State" name="TDBCheckBox.State">
<descr>
<p>
See <link id="#lcl.stdctrls.TCheckBoxState">TCheckBoxState</link> for 
possible values of <var>State</var>.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCheckBoxState">TCheckBoxState</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.Action" name="TDBCheckBox.Action"/>
<element link="#lcl.controls.TControl.Align" name="TDBCheckBox.Align"/>
<element name="TDBCheckBox.Alignment" link="#lcl.stdctrls.TCustomCheckBox.Alignment"/>
<element link="#lcl.stdctrls.TCustomCheckBox.AllowGrayed" name="TDBCheckBox.AllowGrayed"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBCheckBox.Anchors"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBCheckBox.AutoSize"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBCheckBox.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBCheckBox.BorderSpacing"/>
<element name="TDBCheckBox.Caption">
<short>
Text displayed as the caption for the control.
</short>
<descr>
<p>
Gets the caption for the control as a text-string (<var>GetText</var>), or 
stores the new caption (<var>SetText</var>). Updates an internal flag if the 
caption is stored (<var>IsCaptionStored</var>).
</p>
<p>
By default, the <var>Caption</var> appears the same as the control 
<var>Name</var> in the Object Inspector, and the developer needs to set it 
explicitly to some new text.
</p>
<p>
The VCL implementation relies on the virtual <var>Get/SetTextBuf</var> to 
exchange text between widgets and VCL. This means a lot of (unnecessary) text 
copies.
</p>
<p>
The LCL uses strings for exchanging text (more efficient). To maintain VCL 
compatibility, the virtual <var>RealGet/SetText</var> is introduced. These 
functions interface with the LCLInterface.
</p>
<p>
The default <var>Get/SetTextBuf</var> implementation calls the 
<var>RealGet/SetText</var>. As long as the <var>Get/SetTextBuf</var> isn't 
overridden <var>Get/SetText</var> calls <var>RealGet/SetText</var> to avoid 
PChar copying.
</p>
<p>
To keep things optimal, LCL implementations should always override 
RealGet/SetText. Get/SetTextBuf is only kept for compatibility.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Caption">TControl.Caption</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Color" name="TDBCheckBox.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBCheckBox.Constraints"/>
<element name="TDBCheckBox.DataField">
<short>
The name (as a string) of the field with which the check box is to be 
associated.
</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which specifies the name 
of the field in the linked dataset where the value for the data-aware control 
is stored. Read and write access to the property value is redirected to the 
<var>FieldName</var> property in the internal <var>TFieldDataLink</var> 
instance used in the class.
</p>
<p>
The field can use either a <var>Boolean</var> or a <var>String</var> data 
type. For a String field type, use either the <var>ValueChecked</var> or 
<var>ValueUnchecked</var> property to define the value stored in the dataset 
for the corresponding control <var>State</var>.
</p>
<p>
Use <var>DataSource</var> to specify the linked dataset for the data-aware 
control.
</p>
<p>
Use <var>Checked</var> to read or write the control state (and the value for 
the field) as a Boolean data type.
</p>
</descr>
<seealso>
<link id="TDBCheckBox.State"/>
<link id="TDBCheckBox.Checked"/>
<link id="TDBCheckBox.DataSource"/>
<link id="TDBCheckBox.ValueChecked"/>
<link id="TDBCheckBox.ValueUnchecked"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TDBCheckBox.DataSource">
<short>
Provides access to the dataset with content for the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the
<var>Field</var> property to determine the dataset and field definition used 
when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value at run-time to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso/>
</element>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBCheckBox.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBCheckBox.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBCheckBox.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBCheckBox.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBCheckBox.Enabled"/>
<element link="#lcl.controls.TControl.Font" name="TDBCheckBox.Font"/>
<element link="#lcl.controls.TControl.Hint" name="TDBCheckBox.Hint"/>


<element link="#lcl.controls.TControl.ParentShowHint" name="TDBCheckBox.ParentShowHint"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBCheckBox.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBCheckBox.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBCheckBox.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBCheckBox.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBCheckBox.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBCheckBox.PopupMenu"/>

<element name="TDBCheckBox.ReadOnly">
<short>
<var>ReadOnly</var> - if <b>True</b>, data may be read but not written or 
modified (doesn't make much sense for a check-box unless the box is 
<b>not</b> Enabled).
</short>
<descr/>
<seealso/>
</element>

<element link="#lcl.controls.TControl.ShowHint" name="TDBCheckBox.ShowHint"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBCheckBox.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBCheckBox.TabStop"/>

<element name="TDBCheckBox.ValueChecked">
<short>
String representation for the check box value when the control is in its 
checked state.
</short>
<descr>
<p>
<var>ValueChecked</var> is a <var>String</var> property with the value for 
the control when its State property contains the value cbChecked (or Checked 
is set to <b>True</b>). It is the string representation for the boolean 
value, like: 'True', '1', or -1'.
</p>
<p>
The default value for the property is assigned in the constructor, and 
contains the value returned from BoolToStr(True). Changing the value for the 
property causes the DataChange method to be called. This updates the control 
State after the new property value has been assigned to its member.
</p>
<p>
ValueChecked is not written using the LCL resource streaming mechanism if a 
non-default value has not been explicitly assigned to the property.
</p>
<p>
ValueChecked is used in the GetFieldCheckState method when the control is 
linked to a field that is not a Boolean field type. It provides the value  
which is compared to the field value to determine the checked State for the 
control.
</p>
<p>
ValueChecked is also used in the UpdateData method when the control is linked 
to field that is not a Boolean field type. It provides the value that is 
stored in the field when the Checked property is <b>True</b> (State is 
cbChecked).
</p>
<p>
Use ValueUnchecked to specify the string used for the unchecked state in the 
control.
</p>
</descr>
<version>
Modified in version 3.0 to include the storage specifier for the property 
value.
</version>
<seealso>
<link id="TDBCheckBox.Create"/>
<link id="TDBCheckBox.State"/>
<link id="TDBCheckBox.GetFieldCheckState"/>
<link id="TDBCheckBox.DataChange"/>
<link id="TDBCheckBox.UpdateData"/>
<link id="TDBCheckBox.ValueUnchecked"/>
<link id="#rtl.sysutils.BoolToStr">SysUtils.BoolToStr</link>
<link id="#rtl.sysutils.TrueBoolStrs">SysUtils.TrueBoolStrs</link>
</seealso>
</element>

<element name="TDBCheckBox.ValueUnchecked">
<short>
String representation for the check box value when the control is in its 
unchecked state.
</short>
<descr>
<p>
<var>ValueUnchecked</var> is a <var>String</var> property with the value for 
the control when its State property contains the value cbUnchecked (or 
Checked is set to <b>False</b>). It is the string representation for the 
boolean value, like: 'False' or '0'.
</p>
<p>
The default value for the property is assigned in the constructor, and 
contains the value returned from BoolToStr(False). Changing the value for the 
property causes the DataChange method to be called. This updates the control 
State after the new property value has been assigned to its member.
</p>
<p>
ValueUnchecked is not written using the LCL resource streaming mechanism if a 
non-default value has not been explicitly assigned to the property.
</p>
<p>
ValueUnchecked is used in the GetFieldCheckState method when the control is 
linked to a field that is not a Boolean field type. It provides the value  
which is compared to the field value to determine the checked State for the 
control.
</p>
<p>
ValueUnchecked is also used in the UpdateData method when the control is 
linked to field that is not a Boolean field type. It provides the value that 
is stored in the field when the Checked property is <b>False</b> (State is 
cbUnchecked).
</p>
<remark>
The property value is not included in the LCL resource streaming mechanism if 
a non-default value has not been explicitly assigned to the property.
</remark>
<p>
Use ValueChecked to specify the string used for the checked state in the 
control.
</p>
</descr>
<version>
Modified in version 3.0 to include the storage specifier for the property 
value.
</version>
<seealso>
<link id="TDBCheckBox.Create"/>
<link id="TDBCheckBox.State"/>
<link id="TDBCheckBox.GetFieldCheckState"/>
<link id="TDBCheckBox.DataChange"/>
<link id="TDBCheckBox.UpdateData"/>
<link id="TDBCheckBox.ValueChecked"/>
<link id="#rtl.sysutils.BoolToStr">SysUtils.BoolToStr</link>
<link id="#rtl.sysutils.TrueBoolStrs">SysUtils.TrueBoolStrs</link>
</seealso>
</element>

<element name="TDBCheckBox.Visible">
<short>
Indicates if the control is visible on its parent.
</short>
<descr>
<p>
The Visible property represents the ability to see a visual control. If 
Visible is <b>True</b> the control is shown, otherwise it is hidden. Calling 
Show sets, among others, Visible to <b>True</b>. Setting Visible to 
<b>False</b> is equivalent to calling Hide method.
</p>
<remark>
The Visible property does not depend on control's parent visibility. Use 
IsVisible method to consider this and get real visibility.
</remark>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>

<element link="#lcl.stdctrls.TButtonControl.OnChange" name="TDBCheckBox.OnChange"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBCheckBox.OnClick"/>
<element name="TDBCheckBox.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBCheckBox.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBCheckBox.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBCheckBox.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBCheckBox.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBCheckBox.OnExit"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBCheckBox.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBCheckBox.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBCheckBox.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBCheckBox.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBCheckBox.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBCheckBox.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBCheckBox.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBCheckBox.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBCheckBox.OnStartDrag"/>

<element name="TCustomDBComboBox">
<short>
<var>TCustomDBComboBox</var> is a data-aware combo-box for displaying 
information from a database.
</short>
<descr>
<p>
<var>TCustomDBComboBox</var> is a <var>TCustomComboBox</var> descendant which 
specifies a data-aware combo-box control used to display and edit values in a 
database table. TCustomDBComboBox extends the ancestor class to provide 
<var>DataField</var>, <var>DataSource</var>, and <var>Field</var> properties 
needed to control access to the field in a linked dataset.
</p>
<p>
Methods are provided which enable the database features for the control, and 
maintain the interaction between the control and the underlying dataset. 
Internally, a <var>TFieldDataLink</var> class instance is used to maintain 
the association between the control and it data source and field.
</p>
<p>
TCustomDBComboBox is used as the ancestor for the <var>TDBComboBox</var> and 
<var>TDBLookupComboBox</var> controls. Do not create instances of 
TCustomDBComboBox; use one of the descendent classes.
</p>
</descr>
<seealso>
<link id="TDBComboBox"/>
<link id="TDBLookupComboBox"/>
<link id="#lcl.stdctrls.TCustomComboBox">TCustomComboBox</link>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TCustomDBComboBox.FDataLink"/>
<element name="TCustomDBComboBox.FDetectedEvents"/>
<element name="TCustomDBComboBox.GetDataField">
<short>Gets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.GetDataField.Result">
<short>Value for the DataField property.</short>
</element>
<element name="TCustomDBComboBox.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr>
<p>
<var>GetDataSource</var> is a <var>TDataSource</var> function used to get the 
value for the <var>DataSource</var> property.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.DataSource"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>
<element name="TCustomDBComboBox.GetDataSource.Result">
<short>Value for the DataSource property.</short>
</element>
<element name="TCustomDBComboBox.GetField">
<short>Gets the value for the Field property.</short>
<descr>
<p>
<var>GetField</var> is a <var>TField</var> function used to get the value for 
the
<var>Field</var> property.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.Field"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element name="TCustomDBComboBox.GetField.Result">
<short>Value for the Field property.</short>
</element>
<element name="TCustomDBComboBox.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
<descr/>
<seealso>
<link id="TCustomDBComboBox.ReadOnly"/>
</seealso>
</element>
<element name="TCustomDBComboBox.GetReadOnly.Result">
<short>Value for the ReadOnly property.</short>
</element>
<element name="TCustomDBComboBox.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso>
<link id="TCustomDBComboBox.DataField"/>
</seealso>
</element>
<element name="TCustomDBComboBox.SetDataField.AValue">
<short>New value for the DataField property.</short>
</element>
<element name="TCustomDBComboBox.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso>
<link id="TCustomDBComboBox.DataSource"/>
</seealso>
</element>
<element name="TCustomDBComboBox.SetDataSource.AValue">
<short>New value for the DataSource property.</short>
</element>
<element name="TCustomDBComboBox.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<descr/>
<seealso>
<link id="TCustomDBComboBox.ReadOnly"/>
</seealso>
</element>
<element name="TCustomDBComboBox.SetReadOnly.AValue">
<short>New value for the ReadOnly property.</short>
</element>
<element name="TCustomDBComboBox.CMGetDataLink">
<short>
Implements the message to get the data link for the control.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.CMGetDataLink.Message">
<short>Control message updated in the method.</short>
</element>

<element name="TCustomDBComboBox.DoEdit">
<short>
Performs LCL deferred edit messages for events detected in the control.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.DoEdit.Result">
<short><b>True</b> if the field was edited in the linked data set.</short>
</element>

<element name="TCustomDBComboBox.DoOnCloseUp">
<short>Performs actions to close the drop down for the combo-box.</short>
<descr/>
<seealso>
<link id="TCustomDBComboBox.CloseUp"/>
<link id="TCustomComboBox.OnCloseUp"/>
<link id="TCustomDBComboBox.Text"/>
<link id="TCustomComboBox.AutoSelect"/>
<link id="TCustomComboBox.AutoSelected"/>
<link id="TCustomComboBox.SelectAll"/>
<link id="TCustomComboBox.SelText"/>
</seealso>
</element>
<element name="TCustomDBComboBox.DoOnSelect">
<short>Calls Select to trigger the OnSelect event handler.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.DoOnChange">
<short>Calls Change to trigger the OnChange event handler.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.LMDeferredEdit">
<short>Implements the LCL message for a deferred edit.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.LMDeferredEdit.Message">
<short>Message handled in the method.</short>
</element>
<element name="TCustomDBComboBox.DetectedEvents">
<short>Deferred messages pending for the control.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.CloseUp">
<short>
Sets deferred events when the drop down for the combo-box is closed.
</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.Select">
<short>Checks for the DBCBEVENT_SELECT message in the control.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.DataChange">
<short>
<var>DataChange</var> - updates any changes in text.
</short>
<descr>
<p>
<var>DataChange</var> is an abstract virtual method in 
<var>TCustomDBComboBox</var>. It must be implemented in a descendent class to 
perform the actions needed for the data-aware control.
</p>
</descr>
</element>
<element name="TCustomDBComboBox.DoMouseWheel">
<short>Checks for mouse wheel events in the control.</short>
<descr/>
<seealso/>
</element>
<element name="TCustomDBComboBox.DoMouseWheel.Shift">
<short>Shift state for the mouse wheel event.</short>
</element>
<element name="TCustomDBComboBox.DoMouseWheel.WheelDelta">
<short>Number of clicks that the mouse wheel was moved.</short>
</element>
<element name="TCustomDBComboBox.DoMouseWheel.MousePos">
<short>Mouse cursor position for the mouse wheel event.</short>
</element>
<element name="TCustomDBComboBox.Notification"  link="#lcl.controls.TControl.Notification"/>
<element name="TCustomDBComboBox.Change">
<short>
<var>Change</var> -if there has been a change to the data the link must be 
notified.
</short>
<descr>
<p>
<var>Change</var> is an overridden method in <var>TCustomDBComboBox</var>. It 
ensures that the internal data link for the control is notified when the 
value for the control is changed. This includes posting the DBCBEVENT_CHANGE 
deferred event message to the handle for the control.
</p>
<remark>
Change does not call the inherited method directly.
</remark>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomComboBox.Change">TCustomComboBox.Change</link>
</seealso>
</element>
<element name="TCustomDBComboBox.KeyDown">
<short>Performs actions needed to apply the key down event.</short>
<descr>
<p>
<var>KeyDown</var> is an overridden method in <var>TCustomDBComboBox</var>, 
and calls the inherited method on entry. It ensures that a virtual key which 
affects the datasource state is applied to the control. KeyDown handles the 
following virtual key codes:
</p>
<dl>
<dt>VK_ESCAPE</dt>
<dd>
Editing is cancelled. Calls the Cancel method in the linked dataset when the 
datasource is in an edit state. Calls the Reset method for the data link if 
the datasource is not being edited. Calls SelectAll to re-select content in 
the control. Sets Key to VK_UNKNOWN after applying the original virtual key 
code.
</dd>
</dl>
</descr>
<seealso>
<link id="TFieldDataLink.Reset"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataSet.Cancel">TDataSet.Cancel</link>
<link id="#lcl.stdctrls.TCustomComboBox.KeyDown">TCustomComboBox.KeyDown</link>
</seealso>
</element>

<element name="TCustomDBComboBox.KeyDown.Key">
<short>Virtual key code handled in the method.</short>
</element>
<element name="TCustomDBComboBox.KeyDown.Shift">
<short>Key modifier handled in the method.</short>
</element>
<element name="TCustomDBComboBox.UpdateData">
<short>
<var>UpdateData</var> - implements any pending changes in the data.</short>
<descr>
<p>
<var>UpdateData</var> is an abstract virtual method in 
<var>TCustomDBComboBox</var>. It must be implemented in descendent classes, 
like TDBComboBox or TDBLookComboBox, to perform any actions needed to update 
the value stored in the Field for the control.
</p>
</descr>
<seealso>
<link id="TDBComboBox.UpdateData"/>
<link id="TDBLookUpComboBox.UpdateData"/>
</seealso>
</element>
<element name="TCustomDBComboBox.UpdateRecord">
<short>
Updates the record in the linked dataset with the value for the control.
</short>
<descr>
<p>
<var>UpdateRecord</var> is a procedure used to update the record in the 
linked dataset with the value for the control. UpdateRecord uses the internal 
<var>TFieldDataLink</var> instance to checking the editing state for the 
control. When both <var>Editing</var> and <var>IsModified</var> are 
<b>True</b>, the <var>UpdateRecord</var> method in the data link is called. 
No actions are performed in the method if either condition is not met.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Editing"/>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
</seealso>
</element>
<element name="TCustomDBComboBox.WndProc">
<short>Handles cut, copy and paste window messages for the control.
</short>
<descr>
<p>
<var>WndProc</var> is an overridden method in <var>TCustomDBComboBox</var>. 
WndProc ensures that LCL Cut, Copy, and Paste window messages are applied 
when both the control and the dataset can be modified. WndProc uses the 
internal <var>TFieldDataLink</var> instance to examine the value in 
<var>CanModify</var>. When it is <b>True</b>, the inherited method is called. 
Otherwise, the Message result is set to 1 to prevent calling the default 
window process.
</p>
<p>
The inherited method is called for LCL window messages other than Cut, Copy, 
and Paste.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.CanModify"/>
<link id="#lcl.controls.TWinControl.WndProc">TWinControl.WndProc</link>
</seealso>
</element>
<element name="TCustomDBComboBox.WndProc.Message">
<short>LCL window message examined in the method.</short>
</element>
<element name="TCustomDBComboBox.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 on entry. Create allocates and configures the 
internal <var>TFieldDataLink</var> instance used in the control. Its 
<var>OnDataChange</var> and <var>OnUpdateData</var> event handlers are set to 
the <var>DataChange</var> and
<var>UpdateData</var> methods (respectively). Create sets the value used in
<var>ControlStyle</var>.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.DataChange"/>
<link id="TCustomDBComboBox.UpdateData"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#lcl.controls.TControl.ControlStyle">TControl.ControlStyle</link>
</seealso>
</element>
<element name="TCustomDBComboBox.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TCustomDBComboBox.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. 
Destroy ensures that the internal <var>TFieldDataLink</var> instance for the 
class is freed prior to calling the inherited destructor.
</p>
</descr>
<seealso>
<link id="TFieldDataLink"/>
<link id="#lcl.stdctrls.TCustomComboBox.Destroy">TCustomComboBox.Destroy</link>
</seealso>
</element>
<element name="TCustomDBComboBox.ExecuteAction">
<short>Provides support for TBasicAction in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden method in 
<var>TCustomDBComboBox</var>. It calls the inherited method, and when the 
action is not handled in the ancestor, executes <var>AAction</var> using the 
<var>ExecuteAction</var> method in the internal <var>TFieldDataLink</var> 
instance in the class.
</p>
<p>
The return value is <b>True</b> if the action was executed in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TCustomDBComboBox.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TCustomDBComboBox.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TCustomDBComboBox.UpdateAction">
<short>
Updates the specified action to reflect the current state in the linked 
dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBEdit</var>. UpdateAction is called when the <var>Application</var> 
enters an idle state to ensure that the action reflects the current state for 
a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
</seealso>
</element>
<element name="TCustomDBComboBox.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>
<element name="TCustomDBComboBox.UpdateAction.Result">
<short><b>True</b> when the action was updated in the method.</short>
</element>
<element name="TCustomDBComboBox.EditingDone">
<short>
Updates data through the link, then calls inherited <var>EditingDone</var>.
</short>
<descr>
<p>
<var>EditingDone</var> is an overridden method used to perform actions needed 
when the control has finished editing its value. EditingDone calls 
<var>UpdateRecord</var> to post the modified control value to the Field in 
the linked dataset. EditingDone calls the inherited method to signal the 
<var>OnEditingDone</var> event handler prior to exit.
</p>
<p>
EditingDone is called in the implementation of the CloseUp and KeyDown 
methods.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.UpdateRecord"/>
<link id="#lcl.stdctrls.TCustomComboBox.CloseUp">TCustomComboBox.CloseUp</link>
<link id="#lcl.stdctrls.TCustomComboBox.KeyDown">TCustomComboBox.KeyDown</link>
<link id="#lcl.controls.TControl.EditingDone">TControl.EditingDone</link>
</seealso>
</element>
<element name="TCustomDBComboBox.Field">
<short>
Contains the field definition from the linked dataset.
</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which contains the 
definition for the field in the linked dataset where the value for the 
control is stored. Read access for the property value is redirected to the 
Field property in the internal <var>TFieldDataLink</var> instance used in the 
class.
</p>
<p>
The value in Field is updated when the <var>UpdateField</var> method in 
TFieldDataLink is called after setting the <var>DataField</var> for the 
control.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.DataField"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element link="#lcl.stdctrls.TCustomComboBox.Text" name="TCustomDBComboBox.Text"/>
<element link="#lcl.stdctrls.TCustomComboBox.ItemIndex" name="TCustomDBComboBox.ItemIndex"/>

<element name="TCustomDBComboBox.DataField">
<short>
The name of the Field which provides the values displayed in the control.
</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
for the field in the linked dataset where the value for the control is read 
and written. Read and write access to the property value are redirected to 
the <var>FieldName</var> property in the internal <var>TFieldDataLink</var> 
instance for the control. Changing the value in DataField causes the value in 
<var>Field</var> to be updated.
</p>
<p>
Set the value in <var>DataSource</var> to the component which provides access 
to the dataset for the data-aware control.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.DataSource"/>
<link id="TCustomDBComboBox.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.Dataset">TDataLink.Dataset</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>

<element name="TCustomDBComboBox.DataSource">
<short>Provides access to the dataset with content for the control.</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the
<var>Field</var> property to determine the dataset and field definition used 
when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.DataField"/>
<link id="TFieldDataLink.FieldName"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataSource">TDataSource</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>

<element name="TCustomDBComboBox.ReadOnly">
<short>
Indicates if the control is prevented from changing the field value in its 
linked dataset.
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the 
control cannot modify its <var>DataField</var> in the linked dataset. When 
set to <b>True</b>, the underlying field value cannot be modified using the 
control.
</p>
<p>
Read and write access for the property value are redirected to the ReadOnly 
property in the TFieldDataLink instance used in the control.
</p>
<remark>
A value assigned to ReadOnly may be overridden by the Field definition from 
the target database table.
</remark>
</descr>
<seealso>
<link id="TCustomDBComboBox.DataField"/>
<link id="TCustomDBComboBox.DataSource"/>
<link id="TCustomDBComboBox.Field"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>
<element name="TDBComboBox">
<short>
<var>TDBComboBox</var> is a data-aware version of <var>TComboBox</var> which 
allows selection of a value from a list of entries into a database field.
</short>
<descr>
<p>
<var>TDBComboBox</var> has properties similar to <var>TComboBox</var> and 
<var>TCustomComboBox</var>. It consists of an Edit Box which is the 
Data-aware part of the component, and a drop-down list box.
</p>
<p>
In a typical application a user would be presented with the drop-down list, 
would make a selection and then this would appear in the edit box and become 
the data value for that cell in the database.
</p>
<p>
As an example, a list of countries might be presented, and the selected value 
from the list would be used to populate the appropriate field ('Country') in 
that record of the database.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox"/>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBComboBox.DataChange">
<short>
<var>DataChange</var> - updates the text if it has changed.
</short>
<descr>
<p>
<var>DataChange</var> is an overridden method used to perform actions needed 
when the value in the linked dataset has been changed. DataChange uses the 
<var>Field</var> property from the data link (when assigned) to get the 
current value stored in the <var>Text</var> property for the control. If 
Field has not been assigned, or the dataset is not active, the value in Text 
is set to an empty string <b>('')</b>.
</p>
<p>
DataChange is assigned as the <var>OnDataChange</var> event handler in the 
internal <var>TFieldDataLink</var> instance used in the control.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.Text"/>
<link id="TCustomDBComboBox.Field"/>
<link id="TCustomDBComboBox.DataChange"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element name="TDBComboBox.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBComboBox.KeyPress">
<short>Applies standard keystrokes to the control.</short>
<descr>
<p>
<var>KeyPress</var> is an overridden method used to apply standard keystrokes 
to the data-aware control. KeyPress calls the inherited method to process the 
keystroke character in <var>Key</var>. If the key is not handled in the 
ancestor, and is in the range #32..#255, it can be potentially applied to the 
<var>Field</var> in the linked dataset. FieldCanAcceptKey, in the 
implementation section, is called to to determine if the keystroke can be 
used and applied to the field type. When valid for the field, Key is set to 
#0 to suppress further processing of the keystroke.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TField">TField</link>
<link id="#lcl.controls.TWinControl.KeyPress">TWinControl.KeyPress</link>
</seealso>
</element>
<element name="TDBComboBox.KeyPress.Key">
<short>Keystroke character examined in the method.</short>
</element>
<element name="TDBComboBox.UpdateData">
<short>
Applies the changed value for the control to the field in its linked dataset.
</short>
<descr>
<p>
<var>UpdateData</var> is an overridden method which implements the abstract 
virtual method defined in <var>TCustomDBComboBox</var>. UpdateData is used to 
applying pending changes in the control value to the field in the linked 
dataset. The value in the Text property for the control is stored to the 
Field defined in the internal TFieldDataLink instance in the class.
</p>
<p>
UpdateData is assigned as the OnUpdateData event handler in the internal 
TFieldDataLink instance used in the control.
</p>
</descr>
<seealso>
<link id="TCustomDBComboBox.UpdateData"/>
<link id="TCustomDBComboBox.Text"/>
<link id="TFieldDataLink.OnUpdateData"/>
</seealso>
</element>
<element name="TDBComboBox.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBComboBox.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBComboBox.Anchors"/>
<element link="#lcl.stdctrls.TCustomComboBox.ArrowKeysTraverseList" name="TDBComboBox.ArrowKeysTraverseList"/>
<element link="#lcl.stdctrls.TCustomComboBox.AutoComplete" name="TDBComboBox.AutoComplete"/>
<element link="#lcl.stdctrls.TCustomComboBox.AutoCompleteText" name="TDBComboBox.AutoCompleteText"/>
<element name="TDBComboBox.AutoDropDown">
<short>
Indicates if the drop-down is automatically displayed when the control gets 
the input focus.
</short>
<descr>
<p>
<var>AutoDropDown</var> indicates whether the drop-down list for the control 
appears as soon as the control receives the input focus. When set to 
<b>False</b>, the drop-down list appears when the downward triangular glyph 
for the control is clicked. The default value for the property is 
<b>False</b>.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomComboBox.AutoDropDown">TCustomComboBox.AutoDropDown</link>
</seealso>
</element>
<element link="#lcl.stdctrls.TCustomComboBox.AutoSelect" name="TDBComboBox.AutoSelect"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBComboBox.AutoSize"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBComboBox.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBComboBox.BorderSpacing"/>
<element link="#lcl.controls.TWinControl.BorderStyle" name="TDBComboBox.BorderStyle"/>
<element link="#lcl.stdctrls.TCustomComboBox.CharCase" name="TDBComboBox.CharCase"/>
<element link="#lcl.controls.TControl.Color" name="TDBComboBox.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBComboBox.Constraints"/>
<element link="#lcl.dbctrls.TCustomDBComboBox.DataField" name="TDBComboBox.DataField"/>
<element link="#lcl.dbctrls.TCustomDBComboBox.DataSource" name="TDBComboBox.DataSource"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBComboBox.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBComboBox.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBComboBox.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBComboBox.DragMode"/>
<element link="#lcl.stdctrls.TCustomComboBox.DropDownCount" name="TDBComboBox.DropDownCount"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBComboBox.Enabled"/>
<element link="#lcl.controls.TControl.Font" name="TDBComboBox.Font"/>
<element link="#lcl.stdctrls.TCustomComboBox.ItemHeight" name="TDBComboBox.ItemHeight"/>
<element link="#lcl.stdctrls.TCustomComboBox.Items" name="TDBComboBox.Items"/>
<element link="#lcl.stdctrls.TCustomComboBox.ItemWidth" name="TDBComboBox.ItemWidth"/>

<element name="TDBComboBox.MaxLength">
<short>
The maximum length for text entered in the edit box for the control.
</short>
<descr>
<p>
<var>MaxLength</var> is an <var>Integer</var> property which contains the 
maximum length for a value entered in the Text for the control. It controls 
the number of characters allowed in the edit box, but does not limit the 
length of the value that can be directly assigned to Text. MaxLength is 
passed to and read from the widgetset class when a handle has been assigned 
for the control.
</p>
<p>
The default value for the property is -1 in TDBComboBox, and forces the 
widgetset class to update its value for the property. Setting the value for 
the property does not alter the existing value in Text.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomComboBox.MaxLength">TCustomComboBox.MaxLength</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBComboBox.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBComboBox.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBComboBox.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBComboBox.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBComboBox.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBComboBox.PopupMenu"/>
<element link="#lcl.dbctrls.TCustomDBComboBox.ReadOnly" name="TDBComboBox.ReadOnly"/>
<element link="#lcl.controls.TControl.ShowHint" name="TDBComboBox.ShowHint"/>
<element link="#lcl.stdctrls.TCustomComboBox.Sorted" name="TDBComboBox.Sorted"/>
<element link="#lcl.stdctrls.TCustomComboBox.Style" name="TDBComboBox.Style"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBComboBox.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBComboBox.TabStop"/>

<element name="TDBComboBox.Visible">
<short>Indicates if the control is visible on its parent.</short>
<descr>
<p>
The Visible property represents the ability to see a visual control. If 
Visible is <b>True</b> the control is shown, otherwise it is hidden. Calling 
Show sets, among others, Visible to <b>True</b>. Setting Visible to 
<b>False</b> is equivalent to calling Hide method.
</p>
<p>
The Visible property does not depend on control's parent visibility. Use 
IsVisible method to consider this and get real visibility.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>

<element link="#lcl.stdctrls.TCustomComboBox.OnChange" name="TDBComboBox.OnChange"/>
<element link="#lcl.controls.TControl.OnChangeBounds" name="TDBComboBox.OnChangeBounds"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBComboBox.OnClick"/>
<element name="TDBComboBox.OnCloseUp" link="#lcl.stdctrls.TCustomComboBox.OnCloseUp"/>
<element name="TDBComboBox.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDblClick" name="TDBComboBox.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBComboBox.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBComboBox.OnDragOver"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnDrawItem" name="TDBComboBox.OnDrawItem"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnDropDown" name="TDBComboBox.OnDropDown"/>
<element link="#lcl.controls.TControl.OnEditingDone" name="TDBComboBox.OnEditingDone"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBComboBox.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBComboBox.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBComboBox.OnExit"/>

<element name="TDBComboBox.OnKeyDown">
<short>
Event handler signalled when a key is down while the control has focus.
</short>
<descr>
<p>
<var>OnKeyDown</var> differs from <link 
id="#lcl.controls.TWinControl.OnKeyPress">OnKeyPress</link> in that the key 
may have already been down when the control received focus; with 
<var>OnKeyPress</var> the key needs to become pressed while the control has 
focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyDown">TWinControl.OnKeyDown</link>
</seealso>
</element>

<element name="TDBComboBox.OnKeyPress">
<short>
Event handler signalled when a key is pressed while the control has focus.
</short>
<descr>
<p>
<var>OnKeyPress</var> differs from <link 
id="#lcl.controls.TWinControl.OnKeyDown">OnKeyDown</link> in that the key 
needs to become pressed while the control has focus; with 
<var>OnKeyDown</var> the key may have already been down when the control 
received focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyPress">TWinControl.OnKeyPress</link>
</seealso>
</element>

<element name="TDBComboBox.OnKeyUp">
<short>
Event handler signalled when when a key is released while the control has 
focus.
</short>
<descr>
<p>
In <var>OnKeyUp</var>, the key may already have been up when the control 
received focus, or a pressed key may become released during the time the 
control has focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyUp">TWinControl.OnKeyUp</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.OnMouseDown" name="TDBComboBox.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBComboBox.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBComboBox.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBComboBox.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBComboBox.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBComboBox.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBComboBox.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBComboBox.OnMouseWheelUp"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnSelect" name="TDBComboBox.OnSelect"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBComboBox.OnStartDrag"/>
<element link="#lcl.controls.TWinControl.OnUTF8KeyPress" name="TDBComboBox.OnUTF8KeyPress"/>

<element name="TDBLookupComboBox">
<short>
<var>TDBLookupComboBox</var> is a data-aware combo-box for examining a lookup 
table in a database.
</short>
<descr>
<p>
<var>TDBLookupComboBox</var> is a <var>TCustomDBComboBox</var> descendant 
which implements a data-aware combo-box control that adds lookup capabilities 
using values from a separate dataset. Like the ancestor class, the 
<var>DataField</var> and <var>DataSource</var> properties are used to 
identify the dataset and field where the selected value for the control is 
stored. The <var>ListSource</var>, <var>KeyField</var>, and 
<var>ListField</var> properties are added to define the dataset with the 
values displayed and captured using the drop down for the combo-box control. 
Internally, a <var>TDBLookUp</var> instance is used to perform lookup 
operations for the control.
</p>
<p>
Other important properties used to manage the behavior and appearance of the 
control include:
</p>
<ul>
<li>AutoComplete</li>
<li>AutoDropDown</li>
<li>AutoSelect</li>
<li>NullValueKey</li>
<li>EmptyValue</li>
<li>DisplayEmpty</li>
<li>ScrollListDataset</li>
</ul>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
<link id="TCustomDBComboBox"/>
<link id="TDBLookup"/>
</seealso>
</element>

<element name="TDBLookupComboBox.DefineProperties">
<short>
Defines read and write routines for properties values in the class instance.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.DefineProperties.Filer">
<short>
TFiler instance used to read and write properties during component streaming.
</short>
</element>

<element name="TDBLookupComboBox.DoEdit">
<short>
Implements support for the "unbound" editing mode in the data-aware control.
</short>
<descr/>
<seealso>
<link id="TCustomDBComboBox.DoEdit"/>
</seealso>
</element>
<element name="TDBLookupComboBox.DoEdit.Result">
<short><b>True</b> if the field was edited in the linked data set.</short>
</element>

<element name="TDBLookupComboBox.DoAutoCompleteSelect">
<short>
Ensures the internal TDBLookup instance is updated when the control is used 
in  "unbound" mode.
</short>
<descr>
<p>
<var>DoAutoCompleteSelect</var> is an overridden method in 
<var>TDBLookComboBox</var> which re-implements the virtual method from the 
ancestor class. It does not call the inherited method.
</p>
<p>
DoAutoCompleteSelect ensures that the dataset for the <var>ListSource</var> 
is re-positioned when the value in <var>ItemIndex</var> has been changed. 
This includes calling the <var>UpdateData</var> method for the internal 
<var>TDBLookup</var> instance when the control is used in "unbound" mode 
(without a <var>DataSource</var> or <var>DataField</var>).
</p>
<p>
DoAutoCompleteSelect is called when the <var>KeyUp</var> method handles an 
alphanumeric key entered while the auto-complete feature has been enabled in 
<var>AutoCompleteText</var>.
</p>
</descr>
<seealso>
<link id="TDBLookupComboBox.UpdateData"/>
<link id="TDBLookup.UpdateData"/>
<link id="#lcl.stdctrls.TCustomComboBox.DoAutoCompleteSelect">TCustomComboBox.DoAutoCompleteSelect</link>
<link id="#lcl.stdctrls.TCustomComboBox.AutoCompleteText">TCustomComboBox.AutoCompleteText</link>
</seealso>
</element>

<element name="TDBLookupComboBox.IsUnbound">
<short>
Indicates if the control lacks a datasource or field name ("unbound" mode).
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.IsUnbound.Result">
<short>
<b>True</b> if either DataSource or DataField are not assigned in the field 
data link.
</short>
</element>
<!-- visibility: private -->
<element name="TDBLookupComboBox.FLookup"/>
<element name="TDBLookupComboBox.ActiveChange"/>
<element name="TDBLookupComboBox.ActiveChange.Sender"/>
<element name="TDBLookupComboBox.GetDisplayEmpty"/>
<element name="TDBLookupComboBox.GetDisplayEmpty.Result"/>
<element name="TDBLookupComboBox.GetDropDownRows"/>
<element name="TDBLookupComboBox.GetDropDownRows.Result"/>
<element name="TDBLookupComboBox.GetEmptyValue"/>
<element name="TDBLookupComboBox.GetEmptyValue.Result"/>
<element name="TDBLookupComboBox.GetKeyField"/>
<element name="TDBLookupComboBox.GetKeyField.Result"/>
<element name="TDBLookupComboBox.GetKeyValue"/>
<element name="TDBLookupComboBox.GetKeyValue.Result"/>
<element name="TDBLookupComboBox.GetListField"/>
<element name="TDBLookupComboBox.GetListField.Result"/>
<element name="TDBLookupComboBox.GetListFieldIndex"/>
<element name="TDBLookupComboBox.GetListFieldIndex.Result"/>
<element name="TDBLookupComboBox.GetListSource"/>
<element name="TDBLookupComboBox.GetListSource.Result"/>
<element name="TDBLookupComboBox.GetLookupCache"/>
<element name="TDBLookupComboBox.GetLookupCache.Result"/>
<element name="TDBLookupComboBox.GetNullValueKey"/>
<element name="TDBLookupComboBox.GetNullValueKey.Result"/>
<element name="TDBLookupComboBox.GetScrollListDataset"/>
<element name="TDBLookupComboBox.GetScrollListDataset.Result"/>
<element name="TDBLookupComboBox.ReadDropDownCount"/>
<element name="TDBLookupComboBox.ReadDropDownCount.Reader"/>
<element name="TDBLookupComboBox.SetDropDownRows"/>
<element name="TDBLookupComboBox.SetDropDownRows.AValue"/>
<element name="TDBLookupComboBox.SetDisplayEmpty"/>
<element name="TDBLookupComboBox.SetDisplayEmpty.AValue"/>
<element name="TDBLookupComboBox.SetEmptyValue"/>
<element name="TDBLookupComboBox.SetEmptyValue.AValue"/>
<element name="TDBLookupComboBox.SetKeyField"/>
<element name="TDBLookupComboBox.SetKeyField.Value"/>
<element name="TDBLookupComboBox.SetKeyValue"/>
<element name="TDBLookupComboBox.SetKeyValue.Value"/>
<element name="TDBLookupComboBox.SetListField"/>
<element name="TDBLookupComboBox.SetListField.Value"/>
<element name="TDBLookupComboBox.SetListFieldIndex"/>
<element name="TDBLookupComboBox.SetListFieldIndex.Value"/>
<element name="TDBLookupComboBox.SetListSource"/>
<element name="TDBLookupComboBox.SetListSource.Value"/>
<element name="TDBLookupComboBox.SetLookupCache"/>
<element name="TDBLookupComboBox.SetLookupCache.Value"/>
<element name="TDBLookupComboBox.SetNullValueKey"/>
<element name="TDBLookupComboBox.SetNullValueKey.AValue"/>
<element name="TDBLookupComboBox.SetScrollListDataset"/>
<element name="TDBLookupComboBox.SetScrollListDataset.AValue"/>
<element name="TDBLookupComboBox.UpdateLookup"/>
<element name="TDBLookupComboBox.UpdateItemIndex"/>
<element name="TDBLookupComboBox.InitializeWnd">
<short>
Ensures that the lookup uses the address for the items defined in the control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.DestroyWnd">
<short>
Updates the lookup with the address for the items in the control when the 
control handle is freed.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.KeyDown">
<short>Handles the Null key shortcut in key down events.</short>
<descr>
<p>
<var>KeyDown</var> is an overridden method used to handle and apply virtual 
key code messages (<b>WM_KEYDOWN</b>) received in the control. <var>Key</var> 
and <var>Shift</var> contain the virtual key code and the 
<b>Shift-Ctrl-Alt</b> modifiers for the message.
</p>
<p>
KeyDown ensures that the shortcut in <var>NullValueKey</var> is applied to 
the <var>TDBLookup</var> and the <var>ItemIndex</var> for the control. 
KeyDown calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="TDBLookUpComboBox.NullValueKey"/>
<link id="TCustomDBComboBox.KeyDown"/>
<link id="TCustomDBComboBox.ItemIndex"/>
<link id="TDBLookup"/>
</seealso>
</element>
<element name="TDBLookupComboBox.KeyDown.Key">
<short>Key examined in the method.</short>
</element>
<element name="TDBLookupComboBox.KeyDown.Shift">
<short>Modifier(s) for the key examined in the method.</short>
</element>

<element name="TDBLookupComboBox.UTF8KeyPress">
<short>Handles UTF-8 characters for the data-aware control.</short>
<descr>
<p>
<var>UTF8KeyPress</var> is an overridden method in 
<var>TDBLookupComboBox</var>. UTF8KeyPress ensures that the value in 
<var>Key</var> is cleared when the linked dataset cannot be modified, or the 
control is being used in the "unbound" mode.
</p>
<p>
UTF8KeyPress calls the inherited method prior to exit.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomComboBox.UTF8KeyPress">TCustomComboBox.UTF8KeyPress</link>
</seealso>
</element>
<element name="TDBLookupComboBox.UTF8KeyPress.UTF8Key">
<short>UTF-8-encoded value examined in the method.</short>
</element>
<element name="TDBLookupComboBox.Loaded" link="#lcl.controls.TWinControl.Loaded"/>
<element name="TDBLookupComboBox.UpdateData">
<short>
<var>UpdateData</var> - copies the local data from the corresponding entry 
from the lookup field.
</short>
<seealso>
<link id="TCustomDBComboBox.UpdateData"/>
</seealso>
</element>
<element name="TDBLookupComboBox.DataChange">
<short>
Updates the control when the value in the linked dataset has been 
changed.</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBLookupComboBox.DoOnSelect">
<short>
Performs the OnSelect event handler when in drop-down list mode.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.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 allocates resources for the 
internal <var>TDBLookup</var> instance used in the class. The 
<var>ActiveChange</var> method is assigned as the <var>OnActiveChange</var> 
event handler in the internal <var>TFieldDataLink</var> instance used in the 
class. Creates sets the default values for the <var>EmptyValue</var> and 
<var>DisplayEmpty</var> properties.
</p>
</descr>
<seealso>
<link id="TDBLookupComboBox.DisplayEmpty"/>
<link id="TDBLookupComboBox.EmptyValue"/>
<link id="TDBLookUp"/>
<link id="TFieldDataLink.OnActiveChange"/>
<link id="#lcl.stdctrls.TCustomComboBox.Create">TCustomComboBox.Create</link>
</seealso>
</element>
<element name="TDBLookupComboBox.KeyValue">
<short>
Value for the key field in the lookup dataset at the position in ItemIndex.
</short>
<descr>
<p>
Read and write access for the property value is provided using methods in the 
internal <var>TDBLookup</var> instance used in the class. Reading the value 
calls the <var>GetKeyValue</var> method in TDBLookup. Writing the value calls 
the <var>GetKeyIndex</var> method in TDBLookUp.
</p>
</descr>
<seealso/>
</element>

<element name="TDBLookupComboBox.DropDownCount">
<short>Deprecated. Use DropDownRows instead.</short>
<descr/>
<seealso>
<link id="TDBLookUpComboBox.DropDownRows"/>
<link id="#lcl.stdctrls.TCustomComboBox.DropDownCount">TCustomComboBox.DropDownCount</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.Align" name="TDBLookupComboBox.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBLookupComboBox.Anchors"/>
<element link="#lcl.stdctrls.TCustomComboBox.ArrowKeysTraverseList" name="TDBLookupComboBox.ArrowKeysTraverseList"/>
<element link="#lcl.stdctrls.TCustomComboBox.AutoComplete" name="TDBLookupComboBox.AutoComplete"/>
<element link="#lcl.stdctrls.TCustomComboBox.AutoDropDown" name="TDBLookupComboBox.AutoDropDown"/>
<element link="#lcl.stdctrls.TCustomComboBox.AutoSelect" name="TDBLookupComboBox.AutoSelect"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBLookupComboBox.AutoSize"/>
<element link="#lcl.controls.TControl.BiDIMode" name="TDBLookupComboBox.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBLookupComboBox.BorderSpacing"/>
<element link="#lcl.controls.TWinControl.BorderStyle" name="TDBLookupComboBox.BorderStyle"/>
<element link="#lcl.stdctrls.TCustomComboBox.CharCase" name="TDBLookupComboBox.CharCase"/>
<element link="#lcl.controls.TControl.Color" name="TDBLookupComboBox.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBLookupComboBox.Constraints"/>
<element link="#lcl.dbctrls.TCustomDBComboBox.DataField" name="TDBLookupComboBox.DataField"/>
<element link="#lcl.dbctrls.TCustomDBComboBox.DataSource" name="TDBLookupComboBox.DataSource"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBLookupComboBox.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBLookupComboBox.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBLookupComboBox.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBLookupComboBox.DragMode"/>

<element name="TDBLookupComboBox.DropDownRows">
<short>Number of rows displayed in the drop-down list for the control.</short>
<descr>
<p>
<var>DropDownRows</var> is the replacement for the deprecated 
<var>DropDownCount</var> property. It is compatible with the name used in the 
Delphi VCL. Read and write access to the property value are redirected to the 
DropDownCount property in the ancestor class.
</p>
<p>
The default value for the property is <b>7</b> in 
<var>TDBLookUpComboBox</var>.
</p>
</descr>
<seealso>
<link id="TDBLookupComboBox.DropDownCount"/>
<link id="#lcl.stdctrls.TCustomComboBox.DropDownCount">TCustomComboBox.DropDownCount</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.Enabled" name="TDBLookupComboBox.Enabled"/>
<element link="#lcl.controls.TControl.Font" name="TDBLookupComboBox.Font"/>
<element name="TDBLookupComboBox.KeyField">
<short>
<var>KeyField</var> the name of the field containing the key data.</short>
<descr>
<p>
<var>KeyField</var> is a <var>String</var> property which contains the name 
of the field in the lookup dataset which corresponds to the 
<var>DataField</var> in the linked dataset. Read and write access to the 
property value are redirected to the <var>KeyField</var> property in the 
internal <var>TDBLookup</var> instance used in the class. Setting a new value 
for the property causes the internal field data link to be refreshed, and 
potentially changes the value and the item index in the control.
</p>
<p>
Use <var>ListSource</var> to specify the component which provides access to 
the lookup dataset.
</p>
<p>
Use <var>ListField</var> to specify the field with values displayed in the 
drop-down for the combo-box control.
</p>
</descr>
<seealso>
<link id="TDBLookUpComboBox.ListSource"/>
<link id="TDBLookUpComboBox.ListField"/>
<link id="TCustomDBComboBox.ItemIndex"/>
<link id="TCustomDBComboBox.Text"/>
<link id="TDBLookup.KeyField"/>
<link id="TFieldDataLink"/>
</seealso>
</element>
<element name="TDBLookupComboBox.ListField">
<short>
<var>ListField</var> is the name of the field containing the list data 
displayed in the control.
</short>
<descr>
<p>
<var>ListField</var> is a <var>String</var> property which contains the name 
of the field in the lookup dataset with the values displayed in the drop-down 
for the combo-box control. Read and write access for the property value are 
redirected to the <var>ListField</var> in the internal <var>TDBLookup</var> 
instance used in the class. Setting a new value for the property causes the 
internal <var>TFieldDataLink</var> in the class to be refreshed, and results 
in a change to the <var>ItemIndex</var> and the current value for the control.
</p>
<p>
Use <var>ListSource</var> to assign the component which provides access to 
the lookup dataset for the control.
</p>
<p>
Use <var>KeyField</var> to specify the field in the lookup dataset stored in 
<var>DataField</var> when an item is selected in the data-aware control.
</p>
<p>
Use <var>ListFieldIndex</var> to get the ordinal position in the lookup 
dataset for current value in the control.
</p>
</descr>
<seealso/>
</element>
<element name="TDBLookupComboBox.ListFieldIndex">
<short>
<var>ListFieldIndex</var> - the index value of the field containing the list.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBLookupComboBox.ListSource">
<short>
<var>ListSource</var> the data source that contains the list.
</short>
<descr/>
<seealso/>
</element>

<element name="TDBLookupComboBox.LookupCache">
<short>
Indicates if look-up items are cached in the field data link for the control.
</short>
<descr>
<p>
<var>LookupCache</var> is a <var>Boolean</var> property which indicates if 
look-up items are cached in the field data link for the control. The property 
value is re-directed to the <var>LookupCache</var> property in the internal 
<var>TDBLookup</var> instance for the control. Changing the property to 
<b>True</b> causes the value in <var>ItemIndex</var> to be updated to the 
value in from the look-up cache.
</p>
</descr>
<seealso>
<link id="TDBLookUp.Initialize"/>
<link id="TDBLookUp.LookupCache"/>
<link id="#lcl.stdctrls.TCustomComboBox.Items">TCustomComboBox.Items</link>
<link id="#lcl.stdctrls.TCustomComboBox.ItemIndex">TCustomComboBox.ItemIndex</link>
</seealso>
</element>

<element name="TDBLookupComboBox.NullValueKey">
<short>
Keyboard shortcut which causes an empty value to be assigned to the field 
value for the lookup control.
</short>
<descr>
<p>
<var>NullValueKey</var> is a <var>TShortCut</var> property which contains the 
keystroke used to assign a Null value to the data-aware control. Read and 
write access for the property value are redirected to the 
<var>NullValueKey</var> property in the internal <var>TDBLookup</var> 
instance used in the class.
</p>
<p>
NullValueKey is used in TDBLookup methods, and handled in the 
<var>KeyDown</var> method for data-aware controls which support the feature. 
The default value for the property is zero (0) and indicates that the 
shortcut key is not used for the control.
</p>
</descr>
<seealso/>
</element>
<element name="TDBLookupComboBox.EmptyValue">
<short>
Value stored for the lookup control when a lookup value is not available.
</short>
<descr>
<p>
<var>EmptyValue</var> is a <var>String</var> property which contains the 
value stored in the list of key values when no records are available in the 
linked lookup dataset, or when the <var>NullValueKey</var> shortcut is 
pressed.
</p>
<p>
Use <var>EmptyValue</var> to specify a KeyField value automatically added to 
the <var>ControlItems</var> property when the linked lookup dataset contains 
no records. No entry is added to Controlitems when the value in EmptyValue is 
an empty string <b>('')</b>. The value in <var>DisplayEmpty</var> is used for 
the <var>ListField displayed</var> in the control.
</p>
<p>
Use <var>DisplayEmpty</var> to specify the value displayed in the lookup 
control when no records are available in the linked lookup dataset, or when 
the NullValueKey shortcut is pressed.
</p>
</descr>
<seealso>
<link id="TDBLookup.DisplayEmpty"/>
<link id="TDBLookup.ControlItems"/>
<link id="TDBLookup.ListField"/>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.NullValueKey"/>
</seealso>
<version>
The EmptyValue and DisplayEmpty properties were added in revision 62844, and 
released in LCL version 2.0.8 and higher.
</version>
</element>
<element name="TDBLookupComboBox.DisplayEmpty">
<short>
Value displayed in the lookup control when a lookup value is not available.
</short>
<descr>
<p>
<var>DisplayEmpty</var> is a <var>String</var> property which contains the 
value displayed in the lookup when no records are available in the linked 
lookup dataset, or when the <var>NullValueKey</var> shortcut is pressed.
</p>
<p>
Use <var>EmptyValue</var> to specify a KeyField value automatically added to 
the <var>ControlItems</var> property when the linked lookup dataset contains 
no records. No entry is added to Controlitems when the value in EmptyValue is 
an empty string <b>('')</b>. The value in <var>DisplayEmpty</var> is used for 
the <var>ListField</var> displayed in the control.
</p>
<p>
Use <var>EmptyValue</var> to specify the value stored in the lookup when no 
records are available in the linked lookup dataset, or when the NullValueKey 
shortcut is pressed.
</p>
</descr>
<seealso>
<link id="TDBLookup.EmptyValue"/>
<link id="TDBLookup.ControlItems"/>
<link id="TDBLookup.ListField"/>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.NullValueKey"/>
</seealso>
<version>
The EmptyValue and DisplayEmpty properties were added in revision 62844, and 
released in LCL version 2.0.8 and higher.
</version>
</element>


<element name="TDBLookupComboBox.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBLookupComboBox.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBLookupComboBox.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBLookupComboBox.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBLookupComboBox.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBLookupComboBox.PopupMenu"/>
<element link="#lcl.stdctrls.TCustomComboBox.ReadOnly" name="TDBLookupComboBox.ReadOnly"/>

<element name="TDBLookupComboBox.ScrollListDataset">
<short>
Indicates if the Dataset in ListSource can be scrolled when loading/locating 
key and display values.
</short>
<descr>
<p>
<var>ScrollListDataset</var> is a <var>Boolean</var> property which indicates 
if the linked lookup dataset can be scrolled when loading values from the 
fields identified in KeyField and ListField. The value in ScrollListDataset 
is used in the implementation of the <var>Initialize</var> and 
<var>UpdateData</var> methods.
</p>
</descr>
<seealso>
<link id="TDBLookup.KeyField"/>
<link id="TDBLookup.ListField"/>
<link id="TDBLookup.ListSource"/>
<link id="TDBLookup.Initialize"/>
<link id="TDBLookup.UpdateData"/>
</seealso>
</element>
<element link="#lcl.controls.TControl.ShowHint" name="TDBLookupComboBox.ShowHint"/>
<element link="#lcl.stdctrls.TCustomComboBox.Sorted" name="TDBLookupComboBox.Sorted"/>
<element link="#lcl.stdctrls.TCustomComboBox.Style" name="TDBLookupComboBox.Style"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBLookupComboBox.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBLookupComboBox.TabStop"/>
<element link="#lcl.controls.TControl.Visible" name="TDBLookupComboBox.Visible"/>

<element link="#lcl.stdctrls.TCustomComboBox.OnChange" name="TDBLookupComboBox.OnChange"/>
<element link="#lcl.controls.TControl.OnChangeBounds" name="TDBLookupComboBox.OnChangeBounds"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBLookupComboBox.OnClick"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnCloseUp" name="TDBLookupComboBox.OnCloseUp"/>

<element name="TDBLookUpComboBox.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>

<element link="#lcl.controls.TControl.OnDblClick" name="TDBLookupComboBox.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBLookupComboBox.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBLookupComboBox.OnDragOver"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnDrawItem" name="TDBLookupComboBox.OnDrawItem"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnDropDown" name="TDBLookupComboBox.OnDropDown"/>
<element link="#lcl.controls.TControl.OnEditingDone" name="TDBLookupComboBox.OnEditingDone"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBLookupComboBox.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBLookupComboBox.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBLookupComboBox.OnExit"/>
<element link="#lcl.controls.TWinControl.OnKeyDown" name="TDBLookupComboBox.OnKeyDown"/>
<element link="#lcl.controls.TWinControl.OnKeyPress" name="TDBLookupComboBox.OnKeyPress"/>
<element link="#lcl.controls.TWinControl.OnKeyUp" name="TDBLookupComboBox.OnKeyUp"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBLookupComboBox.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBLookupComboBox.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBLookupComboBox.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBLookupComboBox.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBLookupComboBox.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBLookupComboBox.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBLookupComboBox.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBLookupComboBox.OnMouseWheelUp"/>
<element link="#lcl.stdctrls.TCustomComboBox.OnSelect" name="TDBLookupComboBox.OnSelect"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBLookupComboBox.OnStartDrag"/>
<element name="TDBLookupComboBox.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>

<element name="TDBMemo">
<short>
<var>TDBMemo</var> is a data-aware Memo box to process the multi-line text of 
a single field in a dataset.
</short>
<descr>
<p>
<var>TDBMemo</var> is a <var>TCustomMemo</var> descendant which implements a 
data-aware memo control. Like its ancestor, TDBMemo can be used to display or 
edit multi-line textual content. It extends the ancestor class to provide 
properties which define the datasource and field name with the value 
maintained in the control. For situations where data-awareness is not needed, 
use the TMemo control.
</p>
<p>
Internally, the control uses a <var>TFieldDataLink</var> to maintain an 
association between the control and its datasource, dataset, and field.
</p>
<p>
Use <var>DataSource</var> to assign the component with the linked dataset for 
the control.
</p>
<p>
Use <var>DataField</var> to specify the name of the field in the linked 
dataset with the value for the control.
</p>
<p>
Use the <var>AutoDisplay</var> property to control whether the field content 
is automatically displayed during record navigation in the linked dataset. 
When AutoDisplay is set to <b>False</b>, the DisplayLabel for the Field is 
shown in the control and it content must be loaded by calling the 
<var>LoadMemo</var> method.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomMemo">TCustomMemo</link>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBMemo.FDataLink"/>
<element name="TDBMemo.FAutoDisplay"/>
<element name="TDBMemo.FDBMemoFocused"/>
<element name="TDBMemo.FDBMemoLoaded"/>
<element name="TDBMemo.GetDataField">
<short>Gets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.GetDataField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBMemo.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBMemo.GetField">
<short>Gets the value for the Field property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.GetField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBMemo.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
<descr/>
<seealso>
<link id="#lcl.stdctrls.TCustomEdit.GetReadOnly">TCustomEdit.GetReadOnly</link>
</seealso>
</element>
<element name="TDBMemo.GetReadOnly.Result">
<short>Value for the property.</short>
</element>
<element name="TDBMemo.SetAutoDisplay">
<short>Sets the value for the AutoDisplay property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.SetAutoDisplay.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBMemo.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.SetDataField.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBMemo.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.SetDataSource.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBMemo.CMGetDataLink">
<short>Implements the CM_GETDATALINK message for the control.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.CMGetDataLink.Message">
<short>Message handled in the method.</short>
</element>
<element name="TDBMemo.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.GetReadOnly.Result">
<short>Value for the property.</short>
</element>
<element name="TDBMemo.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<descr/>
<seealso>
<link id="#lcl.stdctrls.TCustomEdit.SetReadOnly">TCustomEdit.SetReadOnly</link>
</seealso>
</element>
<element name="TDBMemo.SetReadOnly.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBMemo.DataChange">
<short>
<var>DataChange</var> - if Data changed, loads the new data into the 
appropriate part of the Field.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.DataChange.Sender">
<short>Object for the event notification.</short>
</element>

<element name="TDBMemo.Notification">
<short>
Handles the notification when a component is added or removed from the 
control.
</short>
<descr>
<p>
<var>Notification</var> is an overridden method in <var>TDBMemo</var>. It 
calls the inherited method on entry, and ensures that the 
<var>DataSource</var> property is <b>Nil</b>'d when the component it is 
removed from the class instance.
</p>
</descr>
<seealso>
<link id="TDBMemo.DataSource"/>
<link id="#lcl.controls.TControl.Notification">TControl.Notification</link>
</seealso>
</element>
<element name="TDBMemo.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBMemo.Notification.Operation">
<short>Operation performed on / for the component.</short>
</element>
<element name="TDBMemo.UpdateData">
<short>
<var>UpdateData</var> - if data changed, copy new text via the datalink.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBMemo.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBMemo.Change">
<short>
Performs actions needed when the value for the control has been changed.
</short>
<descr>
<p>
<var>Change</var> is an overridden method used to perform actions needed when 
the value for the control has been changed. Change ensures that the linked 
dataset is notified by calling its <var>Modified</var> method. Change calls 
the inherited method prior to exit to signal the <var>OnChange</var> event or 
other handlers implemented in the ancestor class.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.Modified"/>
<link id="#lcl.stdctrls.TCustomEdit.Change">TCustomEdit.Change</link>
<link id="#lcl.stdctrls.TCustomEdit.OnChange">TCustomEdit.OnChange</link>
</seealso>
</element>

<element name="TDBMemo.KeyDown">
<short>Handles key down events in the data-aware control.</short>
<descr>
<p>
<var>KeyDown</var> is an overridden method used to handle key down events in 
the control.
</p>
<p>
<var>Key</var> is the virtual key code examined and handled in the method. 
<var>Shift</var> is the <b>Shift-Ctrl-Alt</b> modifier for the virtual key 
code.
</p>
<p>
KeyDown calls the inherited method to handle the key down event in the method 
form ancestor class. If Key is not already applied, it is checked for the 
following values:
</p>
<dl>
<dt>VK_ESCAPE</dt>
<dd>
Editing is being cancelled. Calls the <var>Reset</var> method in the 
<var>TFieldDataLink</var> instance used in the class. Call 
<var>SelectAll</var> to re-select content in the control. Sets Key to 
<b>VK_UNKNOWN</b> to indicate that it was handled in the method.
</dd>
<dt>VK_DELETE, VK_BACK</dt>
<dd>
Content is being removed in the control. If the <var>Field</var> in the 
internal <var>TFieldDataLink</var> is not editable, the value in Key is set 
<b>VK_UNKNOWN</b>.
</dd>
</dl>
<p>
For the macOS (Darwin) platform, additional virtual key codes are detected (and 
discarded) if the contents of the field in the linked dataset cannot be 
modified. These keys include:
</p>
<dl>
<dt>VK_0..VK_9</dt>
<dd>numeric characters not on the numeric keypad</dd>
<dt>VK_A..VK_Z</dt>
<dd>alphabetic characters</dd>
<dt>VK_SPACE</dt>
<dd>space character</dd>
<dt>VK_NUMPAD0..VK_NUMPAD9</dt>
<dd>numeric digits on the numeric keypad</dd>
<dt>VK_MULTIPLY, VK_DIVIDE, VK_ADD, VK_SUBTRACT</dt>
<dd>operators on the numeric keypad</dd>
<dt>VK_SEPARATOR, VK_DECIMAL </dt>
<dd>padded and non-padded Decimal separators</dd>
<dt>VK_OEM_1</dt>
<dd>';:' keycap on the US standard keyboard</dd>
<dt>VK_OEM_2</dt> 
<dd>'/?' keycap on the US standard keyboard</dd>
<dt>VK_OEM_3</dt>
<dd>'`~' keycap on the US standard keyboard</dd>
<dt>VK_OEM_4</dt>
<dd>'[{' keycap on the US standard keyboard</dd>
<dt>VK_OEM_5</dt>
<dd>'\|' keycap on the US standard keyboard</dd>
<dt>VK_OEM_6</dt>
<dd>']}' keycap on the US standard keyboard</dd>
<dt>VK_OEM_7</dt>
<dd>
'&apos;&quot;' (Apostrophe and Quote) keycap on the US standard keyboard
</dd>
<dt>VK_OEM_8</dt>
<dd>miscellaneous character; varies by keyboard layout</dd>
</dl>
<p>
For these macOS-specific keys, the value in Key is set to 0 if the field cannot 
be modified.
</p>
</descr>
<version>
Modified in LCL version 3.6 to handle additional data keys on the macOS 
(Darwin) platform.
</version>
<seealso>
<link id="#lcl.controls.TWinControl.KeyDown">TWinControl.KeyDown</link>
</seealso>
</element>
<element name="TDBMemo.KeyDown.Key">
<short>Virtual key code examined in the method.</short>
</element>
<element name="TDBMemo.KeyDown.Shift">
<short>Sift modifier for the key code.</short>
</element>

<element link="#lcl.controls.TWinControl.KeyPress" name="TDBMemo.KeyPress"/>
<element name="TDBMemo.KeyPress.Key" link="#lcl.controls.TWinControl.KeyPress.Key"/>
<element link="#lcl.controls.TControl.WndProc" name="TDBMemo.WndProc"/>
<element link="#lcl.controls.TControl.WndProc.Message" name="TDBMemo.WndProc.Message"/>

<element name="TDBMemo.WSRegisterClass">
<short>
Registers the widgetset class created for new instances of the control.
</short>
<descr/>
<seealso/>
</element>

<element name="TDBMemo.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 allocates resources for the 
internal <var>TFieldDataLink</var> instance used in the class. The 
<var>DataChange</var> and <var>UpdateData</var> methods are assigned as the 
<var>OnDataChange</var> and <var>OnUpdateData</var> event handlers in the 
<var>TFieldDataLink</var> instance. Create sets the default values for the 
<var>ControlStyle</var> and <var>AutoDisplay</var> properties.
</p>
</descr>
<seealso>
<link id="TDBMemo.DataChange"/>
<link id="TDBMemo.UpdateData"/>
<link id="TDBMemo.AutoDisplay"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#lcl.stdctrls.TCustomMemo.Create">TCustomMemo.Create</link>
<link id="#lcl.controls.TControl.ControlStyle">TControl.ControlStyle</link>
</seealso>
</element>
<element name="TDBMemo.Create.TheOwner">
<short>Owner for the class instance.</short>
</element>

<element name="TDBMemo.Destroy">
<short>
<var>Destroy</var> - destructor for <var>TDBMemo</var>: frees datalinks then 
calls inherited <var>Destroy</var>.
</short>
<descr/>
<seealso>
<link id="#lcl.stdctrls.TCustomMemo.Destroy">TCustomMemo.Destroy</link>
</seealso>
</element>
<element name="TDBMemo.EditingDone">
<short>Called when editing has been completed in the control.</short>
<descr>
<p>
<var>EditingDone</var> is an overridden method in <var>TDBMemo</var>. It is 
called when the user has finished editing in the control, and ensures that 
changes are applied to the field in the linked data set.
</p>
<p>
In TDBMemo, it calls the <var>UpdateRecord</var> method in the field data 
link when it can be modified and has been placed in edit mode. The inherited 
method is called to signal the <var>OnEditingDone</var> event handler (when 
assigned).
</p>
<p>
If the field cannot be modified in the linked data set, or the data set is 
not in Edit mode, the <var>Reset</var> method in the field data link is 
called. This will signal the <var>OnDataChange</var> event handler (when 
assigned), but the linked data set is not updated.
</p>
<p>
EditingDone is called from the KeyUpAfterInterface method when the VK_RETURN
key code is handled, and when the focus is changed to another control.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.CanModify"/>
<link id="TFieldDataLink.Editing"/>
<link id="TFieldDataLink.Reset"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
<link id="#lcl.stdctrls.TCustomEdit.EditingDone">TCustomEdit.EditingDone</link>
<link id="#lcl.controls.TControl.OnEditingDone">TControl.OnEditingDone</link>
</seealso>
</element>

<element name="TDBMemo.LoadMemo">
<short>
Loads the lines of text for the memo from the field in the linked data set.
</short>
<descr>
<p>
<var>LoadMemo</var> is a method used to load the text for the control from 
the field in the linked data set. No actions are performed in the method if 
the value for the memo has already been loaded, the field in the data link 
has not been assigned, or the field does not use the TBlobField field type.
</p>
<p>
LoadMemo signals the <var>OnGetText</var> event handler (when assigned in 
the field data link) to get the Text value for the blob field. If OnGetText has 
not been assigned, the AsString value for the blob field is retrieved. The 
retrieved value is stored to the Lines property when it differs from the 
existing value in Lines.
</p>
<p>
If an <var>EInvalidOperation</var> exception occurs while getting the value 
for the control, the exception is caught and the message is stored in the Lines 
property.
</p>
<p>
LoadMemo is called when the value in <var>AutoDisplay</var> is changed to 
<b>True</b>, when the <var>DataChange</var> method is called, and when the 
<b>Enter</b> key is handled in the <var>KeyPress</var> method.
</p>
</descr>
<version>
Modified in LCL version 3.6 to update Lines when the field value differs from 
the existing value in Lines.
</version>
<seealso>
<link id="TDBMemo.AutoDisplay"/>
<link id="TDBMemo.DataChange"/>
<link id="TDBMemo.KeyPress"/>
<link id="TFieldDataLink"/>
<link id="#lcl.stdctrls.TCustomMemo.Lines"/>
<link id="#fcl.db.TBlobField.IsBlob">TBlobField.IsBlob</link>
<link id="#fcl.db.TField.OnGetText">TField.OnGetText</link>
<link id="#fcl.db.TField.Text">TField.Text</link>
<link id="#fcl.db.TField.AsString">TField.AsString</link>
</seealso>
</element>

<element name="TDBMemo.ExecuteAction">
<short>Provides support for TBasicAction in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden method in <var>TDBMemo</var>. It 
calls the inherited method, and when the action is not handled in the 
ancestor, executes <var>AAction</var> using the <var>ExecuteAction</var> 
method in the internal <var>TFieldDataLink</var> instance in the class.
</p>
<p>
The return value is <b>True</b> if the action was executed in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBMemo.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TDBMemo.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TDBMemo.UpdateAction">
<short>
Updates the specified action to reflect the current state in the linked 
dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBMemo</var>. UpdateAction is called when the <var>Application</var> 
enters an idle state to ensure that the action reflects the current state for 
a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
</seealso>
</element>
<element name="TDBMemo.UpdateAction.Result">
<short><b>True</b> if the action was updated in the method.</short>
</element>
<element name="TDBMemo.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>
<element name="TDBMemo.Field">
<short>
Provides access to the field definition for the data-aware control.
</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which provides 
access to the field definition to which the data-aware control is linked. 
Read access for the property is redirected to the Field property in the 
internal TFieldDataLink class instance. The value in Field is updated when a 
new value is assigned to the Field in the TFieldDataLink instance.
</p>
<p>
Use <var>DataField</var> to read or write the field name used for the 
data-aware control. Use <var>DataSource</var> to specify the component with 
the dataset containing the specified field name.
</p>
</descr>
<seealso>
<link id="TDBMemo.DataField"/>
<link id="TDBMemo.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBMemo.Align"/>
<element link="#lcl.stdctrls.TCustomEdit.Alignment" name="TDBMemo.Alignment"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBMemo.Anchors"/>
<element name="TDBMemo.AutoDisplay">
<short>
<var>AutoDisplay</var> - if <b>True</b>, automatically displays the data when 
loaded from the linked dataset.
</short>
<descr>
<p>
<var>AutoDisplay</var> is a <var>Boolean</var> property which indicates if 
the content in the control is automatically displayed when it is loaded from 
the linked dataset. Changing the value in AutoDisplay causes the 
<var>LoadMemo</var> method to be called to load the content for the control. 
The default value for the property is
<b>True</b>.
</p>
<p>
AutoDisplay is used in the implementation of the <var>DataChange</var> method 
called when the content dataset from the dataset has been updated.
</p>
</descr>
<seealso>
<link id="TDBMemo.DataChange"/>
<link id="TDBMemo.LoadMemo"/>
</seealso>
</element>
<element link="#lcl.controls.TControl.BiDIMode" name="TDBMemo.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBMemo.BorderSpacing"/>
<element name="TDBMemo.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
<element link="#lcl.stdctrls.TCustomEdit.CharCase" name="TDBMemo.CharCase"/>
<element link="#lcl.controls.TControl.Color" name="TDBMemo.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBMemo.Constraints"/>

<element name="TDBMemo.DataField">
<short>
The name of the field, as a string (i.e. cannot be referred to as an Index).
</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
of the field in the linked dataset where the value for the control is stored. 
Read and write access to the property value are redirected to the 
<var>FieldName</var> property in the <var>TFieldDataLink</var> instance used 
in the class. Changing the value in DataField causes the value in the 
<var>Field</var> property to be updated.
</p>
<p>
Use <var>DataSource</var> to specify the component which provides access to 
the linked dataset for the control.
</p>
</descr>
<seealso>
<link id="TDBMemo.DataSource"/>
<link id="TDBMemo.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element name="TDBMemo.DataSource">
<short>Provides access to the dataset with content for the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the <var>Field</var> property to determine the dataset and 
field definition used when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="TDBMemo.DataField"/>
<link id="TFieldDataLink.FieldName"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataSource">TDataSource</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
</seealso>
</element>

<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBMemo.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBMemo.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBMemo.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBMemo.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBMemo.Enabled"/>
<element link="#lcl.controls.TControl.Font" name="TDBMemo.Font"/>
<element link="#lcl.stdctrls.TCustomEdit.MaxLength" name="TDBMemo.MaxLength"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBMemo.ParentBiDiMode"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBMemo.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBMemo.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBMemo.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBMemo.PopupMenu"/>

<element name="TDBMemo.ReadOnly">
<short>
Indicates that the text in the control cannot be modified.
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates whether 
the control is prevented from modifying its textual content. When set to 
<b>False</b>, the control value can be edited.
</p>
<p>
Read and write access specifiers in TDBMemo are overridden, and to the 
property value is redirected to the ReadOnly property in the TFieldDataLink 
instance used in the class. Write access calls the inherited method prior to 
updating the value in the field data link.
</p>
<remark>
A value assigned to ReadOnly may be overridden by the Field definition from 
the target database table.
</remark>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomEdit.ReadOnly">TCustomEdit.ReadOnly</link>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
</seealso>
</element>

<element link="#lcl.stdctrls.TCustomMemo.ScrollBars" name="TDBMemo.ScrollBars"/>
<element link="#lcl.controls.TControl.ShowHint" name="TDBMemo.ShowHint"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBMemo.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBMemo.Tabstop"/>
<element link="#lcl.controls.TControl.Visible" name="TDBMemo.Visible"/>
<element link="#lcl.stdctrls.TCustomMemo.WantReturns" name="TDBMemo.WantReturns"/>
<element link="#lcl.stdctrls.TCustomMemo.WantTabs" name="TDBMemo.WantTabs"/>
<element link="#lcl.stdctrls.TCustomMemo.WordWrap" name="TDBMemo.WordWrap"/>


<element link="#lcl.stdctrls.TCustomEdit.OnChange" name="TDBMemo.OnChange"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBMemo.OnClick"/>
<element link="#lcl.controls.TControl.OnContextPopup" name="TDBMemo.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDblClick" name="TDBMemo.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBMemo.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBMemo.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEditingDone" name="TDBMemo.OnEditingDone"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBMemo.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBMemo.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBMemo.OnExit"/>
<element link="#lcl.controls.TWinControl.OnKeyDown" name="TDBMemo.OnKeyDown"/>
<element link="#lcl.controls.TWinControl.OnKeyPress" name="TDBMemo.OnKeyPress"/>
<element link="#lcl.controls.TWinControl.OnKeyUp" name="TDBMemo.OnKeyUp"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBMemo.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBMemo.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBMemo.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBMemo.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBMemo.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBMemo.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBMemo.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBMemo.OnMouseWheelUp"/>
<element name="TDBMemo.OnResize" link="#lcl.controls.TControl.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBMemo.OnStartDrag"/>
<element link="#lcl.controls.TWinControl.OnUTF8KeyPress" name="TDBMemo.OnUTF8KeyPress"/>

<element name="TDBGroupBox">
<short>
<var>TDBGroupBox</var> is a data-aware version of <var>TGroupBox,</var> 
allowing a number of data-aware objects to be grouped together on a form.
</short>
<descr>
<p>
<var>TDBGroupBox</var> is a <var>TCustomGroupBox</var> descendant which 
implements a data-aware container for visual controls. A typical use case 
would involve using a database table where records contain one field which 
defines the group box caption, while other fields provide the values for 
additional data-aware controls.
</p>
<p>
Like other data-aware controls, TDBGroupBox contains both a 
<var>DataSource</var> and a <var>DataField</var> property which provides 
access to the linked dataset and the field with the caption for the control.
</p>
</descr>
<seealso>
<link id="#lcl.stdctrls.TCustomGroupBox">TCustomGroupBox</link>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBGroupBox.FDataLink">
<short>
<var>FDataLink</var> - local variable storing the identity of the Field Data 
Link.
</short>
</element>
<element name="TDBGroupBox.GetDataField">
<short>Gets the value for the DataField property.</short>
<descr/>
<seealso>
<link id="TDBGroupBox.DataField"/>
</seealso>
</element>
<element name="TDBGroupBox.GetDataField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBGroupBox.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr/>
<seealso>
<link id="TDBGroupBox.DataSource"/>
</seealso>
</element>
<element name="TDBGroupBox.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBGroupBox.GetField">
<short>Gets the value for the Field property.</short>
<descr/>
<seealso>
<link id="TDBGroupBox.Field"/>
</seealso>
</element>
<element name="TDBGroupBox.GetField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBGroupBox.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso>
<link id="TDBGroupBox.DataField"/>
</seealso>
</element>
<element name="TDBGroupBox.SetDataField.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBGroupBox.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso>
<link id="TDBGroupBox.DataSource"/>
</seealso>
</element>
<element name="TDBGroupBox.SetDataSource.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBGroupBox.CMGetDataLink">
<short>
<var>CMGetDataLink</var> implements the control message for finding the data 
link.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBGroupBox.CMGetDataLink.Message">
<short>Message where the field data link is stored in the method.</short>
</element>
<element name="TDBGroupBox.DataChange">
<short>
Updates the value for the control when the linked dataset is changed.
</short>
<descr>
<p>
<var>DataChange</var> is a procedure used to update the value displayed for 
the control when its linked dataset has been changed.
</p>
<p>
DataChange is used as the <var>OnDataChange</var> event handler in the 
internal <var>TFieldDataLink</var> instance used in the class. It is called 
after navigating to a different record in the linked dataset, or when the 
value for the <var>DataField</var> has been changed in program code.
</p>
<p>
DataChange uses the <var>Field</var> definition (when assigned) to get the 
value for the <var>Caption</var> in the control. When the Field has not been 
assigned, the Caption is set to an empty string <b>('')</b>.
</p>
</descr>
<seealso>
<link id="TDBGroupBox.Caption"/>
<link id="TDBGroupBox.DataField"/>
<link id="TDBGroupBox.DataSource"/>
<link id="TDBGroupBox.Field"/>
<link id="TFieldDataLink"/>
</seealso>
</element>
<element name="TDBGroupBox.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBGroupBox.Notification">
<short>
Handles a notification when a component is added to or removed from the 
control.
</short>
<descr>
<p>
<var>Notification</var> is called whenever a child component is destroyed, 
inserted or removed from the list of owned component. Components that were 
requested to send a notification when they are freed ((with <link 
id="TComponent.FreeNotification">FreeNotification</link>) will also call 
<var>Notification</var> when they are freed.
</p>
<p>
The <var>AComponent</var> parameter specifies which component sends the 
notification, and <var>Operation</var> specifies whether the component is 
being inserted into or removed from the child component list, or whether it 
is being destroyed.
</p>
<p>
Descendants of <var>TComponent</var> can use <link 
id="TComponent.FreeNotification">FreeNotification</link> to request 
notification of the destruction of another object. By overriding the 
<var>Notification</var> method, they can do special processing (typically, 
set a reference to this component to <var>Nil</var>) when this component is 
destroyed. The <var>Notification</var> method is called quite often in the 
streaming process, so speed should be a consideration when overriding this 
method.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Notification">TControl.Notification</link>
</seealso>
</element>
<element name="TDBGroupBox.Notification.AComponent">
<short>Component for the notification event.</short>
</element>
<element name="TDBGroupBox.Notification.Operation">
<short>Operation for the notification event.</short>
</element>
<element name="TDBGroupBox.Create">
<short>Constructor for the class instance.</short>
<descr>
<p>
<var>Create</var> is the overridden constructor for <var>TDBGroupBox</var>. 
It calls the inherited <var>Create</var> method, and allocates resources for 
the internal <var>TFieldDataLink</var> used in the control. The current class 
instance is assigned as the <var>Control</var> for the Field Data Link, and 
the <var>DataChange</var> method is used as the <var>OnDataChange</var> event 
handler.
</p>
</descr>
<seealso>
<link id="TDBGroupBox.DataChange"/>
<link id="TFieldDataLink"/>
<link id="TFieldDataLink.Control"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#lcl.stdctrls.TCustomGroupBox.Create">TCustomGroupBox.Create</link>
</seealso>
</element>
<element name="TDBGroupBox.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDBGroupBox.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for <var>TDBGroupBox</var>. 
It frees resources allocated to the internal <var>TFieldDataLink</var> 
instance used in the control, and calls the inherited <var>Destroy</var> 
method prior to exit.
</p>
</descr>
<seealso>
<link id="TFieldDataLink"/>
<link id="#lcl.controls.TWinControl.Destroy">TWinControl.Destroy</link>
</seealso>
</element>
<element name="TDBGroupBox.ExecuteAction">
<short>Provides support for TBasicAction in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden method in <var>TDBGroupBox</var>. 
It calls the inherited method, and when the action is not handled in the 
ancestor, executes <var>AAction</var> using the <var>ExecuteAction</var> 
method in the internal <var>TFieldDataLink</var> instance in the class.
</p>
<p>
The return value is <b>True</b> if the action was executed in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBGroupBox.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TDBGroupBox.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TDBGroupBox.UpdateAction">
<short>Updates the specified action to reflect the current state in the 
linked dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBGroupBox</var>. UpdateAction is called when the 
<var>Application</var> enters an idle state to ensure that the action 
reflects the current state for a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
</seealso>
</element>
<element name="TDBGroupBox.UpdateAction.Result">
<short><b>True</b> if the action was updated in the method.</short>
</element>
<element name="TDBGroupBox.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>
<element name="TDBGroupBox.Field">
<short>The <var>Field</var> to which the datalink is attached.</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which contains the 
field definition in the linked <var>DataSet</var> for the database column 
represented by the <var>DataField</var> property. Field provides access to 
the metadata for the database column, such as: field type, size, display 
values, lookup settings and content, editing mask, et. al.
</p>
<p>
Read access to the property value is redirected to the <var>Field</var> 
property in the internal <var>TFieldDataLink</var> instance used in the class.
</p>
<p>
The <var>DataSource</var> property contains the component which provides 
access to the Dataset for the data-aware control.
</p>
</descr>
<seealso>
<link id="TDBGroupBox.DataSource"/>
<link id="TDBGroupBox.DataField"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBGroupBox.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBGroupBox.Anchors"/>
<element link="#lcl.controls.TControl.BiDiMode" name="TDBGroupBox.BiDiMode"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBGroupBox.BorderSpacing"/>
<element name="TDBGroupBox.Caption">
<short>
Text displayed as the caption for the control.
</short>
<descr>
<p>
Gets caption as a text string (<var>GetText</var>), or stores the new caption 
(<var>SetText</var>). Sets an internal flag if the caption is stored 
(<var>IsCaptionStored</var>).
</p>
<p>
By default, the <var>Caption</var> is the same as the control <var>Name</var> 
in the Object Inspector. The developer needs to set it explicitly to some new 
text.
</p>
<p>
The VCL implementation relies on the virtual <var>Get/SetTextBuf</var> to 
exchange text between widgets and VCL. This means a lot of (unnecessary) text 
copies.
</p>
<p>
The LCL uses strings for exchanging text (more efficient). To maintain VCL 
compatibility, the virtual <var>RealGet/SetText</var> is introduced. These 
functions interface with the LCLInterface.
</p>
<p>
The default <var>Get/SetTextBuf</var> implementation calls 
<var>RealGet/SetText</var>. As long as the <var>Get/SetTextBuf</var> isn't 
overridden <var>Get/SetText</var> calls <var>RealGet/SetText</var> to avoid 
PChar copy operations.
</p>
<p>
For optimal usage, LCL implementations should always override 
RealGet/SetText. Get/SetTextBuf is only kept for compatibility.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Caption">TControl.Caption</link>
</seealso>
</element>
<element link="#lcl.controls.TControl.ClientHeight" name="TDBGroupBox.ClientHeight"/>
<element link="#lcl.controls.TControl.ClientWidth" name="TDBGroupBox.ClientWidth"/>
<element link="#lcl.controls.TControl.Color" name="TDBGroupBox.Color"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBGroupBox.Constraints"/>
<element name="TDBGroupBox.Cursor" link="#lcl.controls.TControl.Cursor"/>
<element name="TDBGroupBox.DataField">
<short>Contains the name of the field with the value for the control.</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
for the field in the linked dataset where the value for the control is read 
and written. Read and write access to the property value are redirected to 
the <var>FieldName</var> property in the internal <var>TFieldDataLink</var> 
instance for the control. Changing the value in DataField causes the value in 
<var>Field</var> to be updated.
</p>
<p>
Set the value in <var>DataSource</var> to the component which provides access 
to the dataset for the data-aware control.
</p>
</descr>
<seealso>
<link id="TDBGroupBox.Field"/>
<link id="TDBGroupBox.DataSource"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element name="TDBGroupBox.DataSource">
<short>Provides access to the dataset with content for the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the <var>Field</var> property to determine the dataset and 
field definition used when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="TDBGroupBox.DataField"/>
<link id="TFieldDataLink.FieldName"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataSource">TDataSource</link>
</seealso>
</element>

<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBGroupBox.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBGroupBox.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBGroupBox.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBGroupBox.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBGroupBox.Enabled"/>
<element link="#lcl.controls.TControl.Font" name="TDBGroupBox.Font"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBGroupBox.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBGroupBox.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBGroupBox.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBGroupBox.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBGroupBox.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBGroupBox.PopupMenu"/>
<element link="#lcl.controls.TControl.ShowHint" name="TDBGroupBox.ShowHint"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBGroupBox.TabOrder"/>
<element link="#lcl.controls.TWinControl.TabStop" name="TDBGroupBox.TabStop"/>

<element name="TDBGroupBox.Visible">
<short>
Indicates if the control is visible on its parent.
</short>
<descr>
<p>
The Visible property represents the ability to see a visual control. If 
Visible is <b>True</b> the control is shown, otherwise it is hidden. Calling 
Show sets, among others, Visible to <b>True</b>. Setting Visible to 
<b>False</b> is equivalent to calling Hide method.
</p>
<remark>
The Visible property does not depend on control's parent visibility. Use 
IsVisible method to consider this and get real visibility.
</remark>
</descr>
<seealso>
<link id="#lcl.controls.TControl.Visible">TControl.Visible</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.OnClick" name="TDBGroupBox.OnClick"/>
<element name="TDBGroupBox.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDblClick" name="TDBGroupBox.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBGroupBox.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBGroupBox.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBGroupBox.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBGroupBox.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBGroupBox.OnExit"/>
<element name="TDBGroupBox.OnKeyDown">
<short>
Event handler signalled when a key is down while the control has focus.
</short>
<descr>
<p>
<var>OnKeyDown</var> differs from <link 
id="TDBGroupBox.OnKeyPress">OnKeyPress</link> in that the key may have 
already been down when the control received focus; with <var>OnKeyPress</var> 
the key needs to become pressed while the control has focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyDown">TWinControl.OnKeyDown</link>
</seealso>
</element>

<element name="TDBGroupBox.OnKeyPress">
<short>
Event handler signalled when a key is being pressed while the control has 
focus.
</short>
<descr>
<p>
<var>OnKeyPress</var> is an event controller signalled when a key is being 
pressed while the control has focus.
</p>
<p>
Differs from <link id="TDBGroupBox.OnKeyDown">OnKeyDown</link> in that the 
key needs to become pressed while the control has focus; with 
<var>OnKeyDown</var> the key may have already been down when the control 
received focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyPress">TWinControl.OnKeyPress</link>
</seealso>
</element>

<element name="TDBGroupBox.OnKeyUp">
<short>
Event handler signalled when a key is up (not pressed) while the control has 
focus.
</short>
<descr>
<p>
<var>OnKeyUp</var> is an event handler signalled when a key is up (not 
pressed) while the control has focus.
</p>
<p>
The key may already have been up when the control received focus, or a 
pressed key may become released during the time the control has focus.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.OnKeyUp">TWinControl.OnKeyUp</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.OnMouseDown" name="TDBGroupBox.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBGroupBox.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBGroupBox.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBGroupBox.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBGroupBox.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBGroupBox.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBGroupBox.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBGroupBox.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnResize" name="TDBGroupBox.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBGroupBox.OnStartDrag"/>
<element link="#lcl.controls.TWinControl.OnUTF8KeyPress" name="TDBGroupBox.OnUTF8KeyPress"/>

<element name="TOnDBImageRead">
<short>
Specifies an event handler signalled to identify the graphic type for a 
database image.
</short>
<descr>
<p>
<var>TOnDBImageRead</var> is the type used for the <var>OnDBImageRead</var> 
property in <var>TDBImage</var>. It provides a mechanism for identifying the 
graphic class needed to load image content in the specified stream. In 
general, it is used when image data in S contains an additional header that 
must be processed / handled prior to reading the raw image data.
</p>
</descr>
<seealso>
<link id="TDbImage.OnDbImageRead"/>
<link id="TDbImage.LoadPicture"/>
</seealso>
</element>
<element name="TOnDBImageRead.Sender">
<short>
Object (TDBImage) instance for the event notification.
</short>
</element>
<element name="TOnDBImageRead.S">
<short>
Stream instance with the image data examined in the event handler.
</short>
</element>
<element name="TOnDBImageRead.GraphExt">
<short>
Returns the file extension used for the graphic type, or an empty string when 
not determined.
</short>
</element>

<element name="TOnDBImageWrite">
<short>
Event handler signalled when an image is written to the specified stream.
</short>
<descr>
<p>
<var>TOnDBImageWrite</var> is the type used for the <var>OnDbImageWrite</var> 
property in <var>TDBImage</var>.
</p>
</descr>
<seealso>
<link id="TDbImage.OnDbImageWrite"/>
<link id="TDbImage.UpdateData"/>
</seealso>
</element>
<element name="TOnDBImageWrite.Sender">
<short>Object (TDBImage) for the event notification.</short>
</element>
<element name="TOnDBImageWrite.S">
<short>Stream instance where the image is stored.</short>
</element>
<element name="TOnDBImageWrite.GraphExt">
<short>File extension associated with the image data.</short>
</element>

<element name="TDBImage">
<short>
<var>TDBImage</var> - a data-aware Image box to display a single image from a 
dataset.
</short>
<descr>
<p>
TDBImage is a TCustomImage descendant which implements a data-aware image 
control.
TDBImage is used to retrieve or save a graphic image in a field in a dataset. 
The field is generally a Binary Large Object (BLOB). The control allows use 
of clipboard operations, like Copy/Cut/Paste to add or update the content in 
the image.
</p>
<p>
If an application doesn't need the data-aware capabilities of TDBImage, use a 
TImage control.
</p>
<p>
TDBImage, like most data-aware controls, provides DataSource and DataField 
properties to connect the control to a dataset and field. Internally, it uses 
a TFieldDataLink to maintain an association between the control and its 
database-related configuration settings.
</p>
<p>
Use the AutoDisplay, AutoSize, Stretch, Proportional, and Transparent 
properties to determine the display and sizing behavior for the graphic image.
</p>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBImage.FDataLink"/>
<element name="TDBImage.FAutoDisplay"/>
<element name="TDBImage.FOnDBImageRead"/>
<element name="TDBImage.FOnDBImageWrite"/>
<element name="TDBImage.FQuickDraw"/>
<element name="TDBImage.FPictureLoaded"/>
<element name="TDBImage.FUpdatingRecord"/>
<element name="TDBImage.FWriteHeader"/>
<element name="TDBImage.GetDataField">
<short>Gets the value for the DataField property.</short>
<descr>
<p>
Returns the FieldName property from the field data link.
</p>
</descr>
<seealso/>
</element>
<element name="TDBImage.GetDataField.Result">
<short>Field name with the data for the control.</short>
</element>
<element name="TDBImage.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.GetDataSource.Result">
<short>Value for the DataSource property.</short>
</element>
<element name="TDBImage.GetField">
<short>Gets the value for the Field property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.GetField.Result">
<short>Value for the Field property.</short>
</element>
<element name="TDBImage.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.GetReadOnly.Result">
<short>Value for the ReadOnly property.</short>
</element>
<element name="TDBImage.SetAutoDisplay">
<short>Sets the value for the AutoDisplay property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.SetAutoDisplay.AValue">
<short>Value for the AutoDisplay property.</short>
</element>
<element name="TDBImage.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.SetDataField.AValue">
<short>New value for the DataField property.</short>
</element>
<element name="TDBImage.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.SetDataSource.AValue">
<short>New value for the DataSource property.</short>
</element>
<element name="TDBImage.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.SetReadOnly.AValue">
<short>New value for the ReadOnly property.</short>
</element>
<element name="TDBImage.CMGetDataLink">
<short>Implements the CM_GETDATALINK message for the control.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.CMGetDataLink.Message">
<short>Message for the handler.</short>
</element>
<element name="TDBImage.Notification">
<short>
Handles notifications when a component in the class instance is added or 
removed.
</short>
<descr>
<p>
Notification is an overridden method in TDBImage used to handle the 
notification received when a component for the control is added or removed. 
It calls the inherited method on entry.
</p>
<p>
Notification ensures that the Datasource member is set to Nil when its 
component is removed from the control. Needed when the data link for the 
control has been assigned.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.Notification">TComponent.Notification</link>
</seealso>
</element>
<element name="TDBImage.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBImage.Notification.Operation">
<short>Operation for the notification.</short>
</element>
<element name="TDBImage.DataChange">
<short>Performs actions needed when the content in the linked dataset has 
been changed.
</short>
<descr>
<p>
<var>DataChange</var> is a procedure used to perform actions needed when the 
content in the linked dataset has been changed. Such as when the record 
position has changed when scrolling the dataset.
</p>
<p>
DataChange ensures that the <var>TGraphic</var> instance in 
<var>Picture</var> is set to <b>Nil</b>. If <var>AutoDisplay</var> is set to 
<b>True</b>, the graphic image is loaded by calling the 
<var>LoadPicture</var> method.
</p>
<p>
DataChange is assigned as the <var>OnDataChange</var> event handler in the 
internal <var>TFieldDataLink</var> instance used in the class.
</p>
</descr>
<seealso>
<link id="TDBImage.AutoDisplay"/>
<link id="TDBImage.LoadPicture"/>
<link id="TFieldDataLink.OnDataChange"/>
<link id="#lcl.extctrls.TCustomImage.Picture">TCustomImage.Picture</link>
<link id="#lcl.graphics.TPicture.Graphic">TPicture.Graphic</link>
</seealso>
</element>
<element name="TDBImage.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBImage.UpdateData">
<short>
Performs actions needed to validate and store the content for the image 
control.
</short>
<descr>
<p>
UpdateData is a procedure used to validate and store the content for the 
image control.
</p>
<p>
UpdateData examines the Picture in the image control to ensure that it has 
been assigned, and contains image content. The Field in the linked dataset is 
cleared if either condition is <b>False</b>, and no additional actions are 
performed in the method.
</p>
<p>
Otherwise, a BLOB stream is created and used to write the image content to 
the field in the linked dataset. The OnDBImageWrite event handler is 
signalled (when assigned) to write a custom image header to the BLOB stream. 
If OnDBImageWrite is not used, and WriteHeader is <b>True</b>, the file 
extension for the graphic format is written to the BLOB stream. Finally, the 
content for the bitmap graphic is written to the BLOB stream.
</p>
<p>
UpdateData is assigned as the OnUpdateData event handler in the internal 
TFieldDataLink instance used in the control.
</p>
</descr>
<seealso>
<link id="TDBImage.Field"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.OnUpdateData"/>
</seealso>
</element>
<element name="TDBImage.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBImage.PictureChanged">
<short>
Performs actions needed when the Picture property in the image control has 
been changed.
</short>
<descr>
<p>
PictureChanged is an overridden method in TDBImage, and calls the inherited 
method. PictureChanged ensures that the Change method is called if it has not 
already been executed.
</p>
<p>
PictureChanged is assigned as the OnChange event handler for the TPicture 
instance in the Picture property.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomImage.PictureChanged">TCustomImage.PictureChanged</link>
<link id="#lcl.graphics.TPicture.OnChange">TPicture.OnChange</link>
</seealso>
</element>
<element name="TDBImage.PictureChanged.Sender">
<short>Object for the event notification.</short>
</element>

<element name="TDBImage.WSRegisterClass">
<short>Register the component class with the widgetset.</short>
<descr>
<p>
<var>WSRegisterClass</var> is a class method used to register the component 
class with the widgetset.
</p>
<p>
It is overridden in <var>TDBImage</var> to ensure that the class is 
registered only once. No actions are performed in the method if the class has 
already been registered with the widgetset. It calls the inherited method to 
register ancestor image classes.
</p>
<p>
TDBImage calls <var>RegisterPropertyToSkip</var> to exclude the 
<var>Picture</var> property during LCL component streaming. TDBImage loads 
its Picture data from the data set, and not from an LFM resource. Picture was 
removed in Lazarus version 0.9.29.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomImage.WSRegisterClass">TCustomImage.WSRegisterClass</link>
<link id="#lcl.extctrls.TCustomImage.Picture">TCustomImage.Picture</link>
<link id="#lcl.lresources.RegisterPropertyToSkip">RegisterPropertyToSkip</link>
</seealso>
</element>

<element name="TDBImage.DoCopyToClipboard">
<short>Implements the clipboard Copy (Ctrl+C) command.</short>
<descr>
<p>
<var>DoCopyToClipboard</var> is a procedure used to implement the clipboard 
<b>Copy</b> (<b>Ctrl+C</b>) command. DoCopyToClipboard assigns the 
<var>Picture</var> in the control to the <var>Clipboard</var> for the 
application.
</p>
<p>
For the Windows platform, the <var>TBitmap</var> format is expected in 
Picture. For all other platforms, the <var>TPortableNetworkGraphic</var> 
format is expected. DoCopyToClipboard calls the <var>AddFormat</var> method 
in Clipboard when needed. If Picture uses a <var>Graphic</var> format other 
than expected, it is written to a memory stream and loaded into the Clipboard 
using the newly registered graphic format.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomImage.Picture">TCustomImage.Picture</link>
<link id="#lcl.clipbrd.TClipboard.AddFormat">TClipboard.AddFormat</link>
<link id="#lcl.clipbrd.TClipboard">TClipboard</link>
<link id="#lcl.graphics.TGraphic">TGraphic</link>
<link id="#lcl.graphics.TBitmap">TBitmap</link>
<link id="#lcl.graphics.TPortableNetworkGraphic">TPortableNetworkGraphic</link>
</seealso>
</element>
<element name="TDBImage.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.
</p>
<p>
Create allocates resources for the internal <var>TFieldDataLink</var> 
instance used in the class, and configures the data link. The 
<var>DataChange</var> and <var>UpdateData</var> methods are used as the 
<var>OnDataChange</var> and <var>OnUpdateData</var> event handlers in the 
data link.
</p>
<p>
Create sets the default value for the following properties:
</p>
<dl>
<dt>ControlStyle</dt>
<dd>Includes csReplicatable in the existing style for the control.</dd>
<dt>AutoDisplay</dt>
<dd>Set to <b>True</b>.</dd>
<dt>QuickDraw</dt>
<dd>Set to <b>True</b>.</dd>
<dt>WriteHeader</dt>
<dd>Set to <b>True</b>.</dd>
</dl>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomImage.Create">TCustomImage.Create</link>
</seealso>
</element>
<element name="TDBImage.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDBImage.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. 
Destroy ensures that resources allocated to the internal 
<var>TFieldDataLink</var> instance is freed, and calls the inherited 
destructor prior to exiting from the method.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomImage.Destroy">TCustomImage.Destroy</link>
</seealso>
</element>
<element name="TDBImage.ExecuteAction">
<short>Provides support for TBasicAction in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden method in <var>TDBImge</var>. It 
calls the inherited method, and when the action is not handled in the 
ancestor, executes <var>AAction</var> using the <var>ExecuteAction</var> 
method in the internal <var>TFieldDataLink</var> instance in the class.
</p>
<p>
The return value is <b>True</b> if the action was executed in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBImage.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TDBImage.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>
<element name="TDBImage.UpdateAction">
<short>Updates the specified action to reflect the current state in the 
linked dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBImage</var>. UpdateAction is called when the <var>Application</var> 
enters an idle state to ensure that the action reflects the current state for 
a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
</seealso>
</element>
<element name="TDBImage.UpdateAction.Result">
<short><b>True</b> if the action was updated in the method.</short>
</element>
<element name="TDBImage.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>
<element name="TDBImage.Field">
<short>
Definition for the field in the linked dataset where the control value is 
stored.</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which provides 
access to the field definition to which the data-aware control is linked. 
Read access for the property is redirected to the Field property in the 
internal TFieldDataLink class instance. The value in Field is updated when a 
new value is assigned to the Field in the TFieldDataLink instance.
</p>
<p>
Use <var>DataField</var> to read or write the field name used for the 
data-aware control. Use <var>DataSource</var> to specify the component with 
the dataset containing the specified field name.
</p>
</descr>
<seealso>
<link id="TDBImage.DataField"/>
<link id="TDBImage.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>
<element name="TDBImage.Change">
<short>Notifies the linked dataset when the value in the control is changed.
</short>
<descr>
<p>
<var>Change</var> is a procedure used to notify the linked dataset in 
<var>DataSource</var> when the image in the control has been changed. Change 
calls the <var>Modified</var> method in the internal 
<var>TFieldDataLink</var> instance used in the class. This results in the 
<var>UpdateData</var> method being called to post the new value to the field 
in the dataset.
</p>
</descr>
<seealso>
<link id="TDBImage.UpdateData"/>
<link id="TDBImage.DataField"/>
<link id="TDBImage.DataSource"/>
<link id="TFieldDataLink.Modified"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element name="TDBImage.LoadPicture">
<short>
Loads the graphic content for the control from a field in the linked dataset.
</short>
<descr>
<p>
<var>LoadPicture</var> is a procedure used to load the graphic content into 
the image control from the field in the linked dataset. <var>DataField</var> 
contains the field name with the value for the control. <var>DataSource</var> 
is the component which provides access to the dataset with the specified 
field name.
</p>
<p>
LoadPicture uses the internal <var>TFieldDataLink</var> in the class instance 
to access the dataset and the field definition used in the operation. The 
Field is assigned to the <var>Picture</var> in the control when it is not 
already in use. If the Field is a <b>BLOB</b> field type, a <b>BLOB</b> 
stream is created and used to load the content in Picture.
</p>
<p>
LoadPicture uses the <var>OnDBImageRead</var> event handler (when assigned) 
to identify and load the graphic header and content for the image. When 
OnDBImageRead is implemented, it is assumed that a known graphic type is 
processed in its entirety in the handler. Otherwise, an invalid graphic type 
is returned and the remainder of the stream content is the graphic image 
data. In particular, returning an invalid graphic class while the stream 
contains an image header will not work.
</p>
<p>
If OnDBImageRead is not used, the <var>ReadImageHeader</var> method is called 
and the content for the graphic type is read and assigned to the Picture in 
the control.
</p>
<p>
LoadPicture is called when the value in the <var>AutoDisplay</var> property 
is changed to <b>True</b>, and from the implementation of the 
<var>DataChange</var> method.
</p>
<p>
Use <var>PictureLoaded</var> to determine if LoadPicture has already been 
called for the current record in the linked dataset.
</p>
</descr>
<seealso>
<link id="TDBImage.AutoDisplay"/>
<link id="TDBImage.PictureLoaded"/>
<link id="TDBImage.DataChange"/>
<link id="TDBImage.Field"/>
<link id="TDBImage.DataField"/>
<link id="TDBImage.DataSource"/>
<link id="TDBImage.OnDBImageRead"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#lcl.extctrls.TCustomImage.Picture">TCustomImage.Picture</link>
<link id="#lcl.graphics.TPicture.Graphic">TPicture.Graphic</link>
</seealso>
</element>

<element name="TDBImage.CopyToClipboard">
<short>
Performs actions needed for the Clipboard Copy (Ctrl+C) command.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.CutToClipboard">
<short>Performs actions needed for the Clipboard Cut (Ctrl+C) command.</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.PasteFromClipboard">
<short>
Performs actions needed for the Clipboard Paste (Ctrl+V) command.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBImage.PictureLoaded">
<short>
Indicates if the graphic content for the data-aware control has been loaded 
from its linked dataset.
</short>
<descr/>
<seealso/>
</element>
<element link="#lcl.controls.TControl.Align" name="TDBImage.Align"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBImage.Anchors"/>
<element link="#lcl.extctrls.TCustomImage.AntiAliasingMode" name="TDBImage.AntiAliasingMode"/>
<element name="TDBImage.AutoDisplay">
<short>
<var>AutoDisplay</var> - if <b>True</b>, automatically displays when focus is 
given.
</short>
<descr>
<p>
<var>AutoDisplay</var> is a <var>Boolean</var> property which indicates if 
the graphic content for the control is automatically displayed when values 
become available in the linked dataset. AutoDisplay is used in the 
implementation of the <var>DataChange</var> method to determine if 
<var>LoadPicture</var> is called.
</p>
<p>
Setting the property to <b>True</b> calls the LoadPicture method to retrieve 
the graphic content from the field in <var>DataField</var>.
</p>
<p>
The default value for the property is <b>True</b>.
</p>
</descr>
<seealso>
<link id="TDBImage.LoadPicture"/>
<link id="TDBImage.DataChange"/>
<link id="TDBImage.Field"/>
<link id="TDBImage.DataField"/>
<link id="TDBImage.DataSource"/>
<link id="TFieldDataLink"/>
</seealso>
</element>

<element name="TDBImage.AutoSize" link="#lcl.controls.TControl.AutoSize"/>

<element link="#lcl.controls.TControl.BorderSpacing" name="TDBImage.BorderSpacing"/>
<element link="#lcl.extctrls.TCustomImage.Center" name="TDBImage.Center"/>
<element link="#lcl.controls.TControl.Constraints" name="TDBImage.Constraints"/>
<element name="TDBImage.DataField">
<short>Contains the name of the field with the value for the control.</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
for the field in the linked dataset where the value for the control is read 
and written. Read and write access to the property value are redirected to 
the <var>FieldName</var> property in the internal <var>TFieldDataLink</var> 
instance for the control. Changing the value in DataField causes the value in 
<var>Field</var> to be updated.
</p>
<p>
Set the value in <var>DataSource</var> to the component which provides access 
to the dataset for the data-aware control.
</p>
<p>
Graphic content read from DataField is stored in the Picture property for 
display and editing using the control.
</p>
</descr>
<seealso>
<link id="TDBImage.Field"/>
<link id="TDBImage.DataSource"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
<link id="#lcl.extctrls.TCustomImage.Picture">TCustomImage.Picture</link>
</seealso>
</element>

<element name="TDBImage.DataSource">
<short>
Provides access to the dataset with content for the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the <var>Field</var> property to determine the dataset and 
field definition used when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataSource">TDataSource</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.DragCursor" name="TDBImage.DragCursor"/>
<element link="#lcl.controls.TControl.DragKind" name="TDBImage.DragKind"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBImage.DragMode"/>
<element name="TDBImage.KeepOriginXWhenClipped" link="#lcl.extctrls.TCustomImage.KeepOriginXWhenClipped"/>
<element name="TDBImage.KeepOriginYWhenClipped" link="#lcl.extctrls.TCustomImage.KeepOriginYWhenClipped"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBImage.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBImage.PopupMenu"/>
<element link="#lcl.extctrls.TCustomImage.Proportional" name="TDBImage.Proportional"/>

<element name="TDBImage.QuickDraw">
<short>
<var>QuickDraw</var> - if <b>True</b>, quick drawing is implemented.
</short>
<descr>
<p>
QuickDraw is a Boolean property which indicates if QuickDraw is enabled for 
the platform or OS. The default value for the property is <b>True</b>.
</p>
<remark>
QuickDraw is not used in the current LCL implementation.
</remark>
</descr>
<seealso/>
</element>

<element name="TDBImage.ReadOnly">
<short>
Indicates if the control cannot modify the image in the field for the linked 
dataset.
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the 
control cannot modify its <var>DataField</var> in the linked dataset. When 
set to <b>True</b>, the underlying field value cannot be modified using the 
control.
</p>
<p>
Read and write access for the property value are redirected to the ReadOnly 
property in the TFieldDataLink instance used in the control.
</p>
<remark>
A value assigned to ReadOnly may be overridden by the Field definition in the 
target database table.
</remark>
</descr>
<seealso>
<link id="TDBImage.DataField"/>
<link id="TDBImage.DataSource"/>
<link id="TDBImage.Field"/>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.ShowHint" name="TDBImage.ShowHint"/>
<element link="#lcl.extctrls.TCustomImage.Stretch" name="TDBImage.Stretch"/>
<element name="TDBImage.StretchInEnabled" link="#lcl.extctrls.TCustomImage.StretchInEnabled"/>
<element name="TDBImage.StretchOutEnabled" link="#lcl.extctrls.TCustomImage.StretchOutEnabled"/>
<element link="#lcl.extctrls.TCustomImage.Transparent" name="TDBImage.Transparent"/>
<element name="TDBImage.Visible" link="#lcl.controls.TControl.Visible"/>

<element name="TDBImage.WriteHeader">
<short>Write a header in the image stream.</short>
<descr>
<p>
The <var>WriteHeader</var> property controls whether or not a header will be 
written to the image stream. By default a header will be written. This helps 
to efficiently identify the image format when loading. The writing of a 
header in the image stream could be a problem if the database will be shared 
with external applications that do not expect a header in the image stream. 
In this case, set WriteHeader value to <b>False</b> in order to skip the 
header writing.
</p>
<p>
The default value is <b>True</b>.
</p>
<p>
Note: The <var>WriteHeader</var> value is ignored if the 
<var>OnDbImageWrite</var> event is implemented.
</p>
</descr>
</element>

<element name="TDBImage.OnClick" link="#lcl.controls.TControl.OnClick"/>
<element name="TDBImage.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element name="TDBImage.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>

<element name="TDBImage.OnDBImageRead">
<short>Event to read a custom header from image stream.</short>
<descr>
<p>
By default, the <var>TDbImage</var> component expects a header at the start 
of the image stream. This helps to efficiently identify the image format 
contained in the data stream. On writing, the header is controlled by the 
<var>WriteHeader</var> property or the <var>OnDbImageWrite</var> event 
handler.
</p>
<p>
When loading image data which was created by external applications, the data 
stream may not have a header or the header is not a format identifier that 
the <var>TDbImage</var> component would recognize.
</p>
<p>
In this case, the <var>OnDbImageRead</var> event can be used to identify the 
image format in the data stream. In the <var>GraphExt</var> parameter it must 
return a format identifier corresponding to the registered image format. This 
format identifier could e.g. be read from the data stream provided in the 
<var>s</var> parameter. On return, the data stream should start with the raw 
image data.
</p>
<p>
If the <var>OnDbImageRead</var> handler was not implemented or if it returns 
an invalid format identifier, the <var>TDbImage</var> component will try to 
load the image by checking the data stream content. This means that it is not 
necessary to write an <var>OnDbImageRead</var> event handler for the most 
common image formats, For example: jpg, png, gif or bmp.
</p>
<p>
The <var>TDbImage</var> component will be able to identify the image format 
even if the data stream doesn't have a header for those TGraphic registered 
classes that implement the IsStreamFormatSupported method.
</p>
</descr>
</element>

<element name="TDBImage.OnDBImageWrite">
<short>Event to write a custom header into image stream.</short>
<descr>
<p>
Use <var>OnDBImageWrite</var> to write a custom header in the image stream. 
This header could be "decoded" in the handler for the 
<var>OnDbImageRead</var> event when loading. The header will be followed by 
the image raw data.
</p>
<p>
By default, <var>TDbImage</var> will write an image header in order to 
efficiently identify the image format when loading. This behavior is 
controlled by the <var>WriteHeader</var> property. If your database will be 
shared with external applications that do not support this, it is important 
to not write an image header. This could be achieved by writing an empty 
handler for <var>OnDbImageWrite</var>. Note that an empty handler has the 
same effect as setting WriteHeader to <b>False</b>.
</p>
<p>
<var>OnDbImageWrite</var> has precedence over the <var>WriteHeader</var> 
property.
</p>
</descr>
</element>

<element link="#lcl.controls.TControl.OnDragDrop" name="TDBImage.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBImage.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBImage.OnEndDrag"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBImage.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBImage.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBImage.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBImage.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBImage.OnMouseUp"/>
<element name="TDBImage.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
<element name="TDBImage.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
<element name="TDBImage.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
<element name="TDBImage.OnResize" link="#lcl.controls.TControl.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBImage.OnStartDrag"/>

<element name="TDBCalendar">
<short>
<var>TDBCalendar</var> - a data-aware version of <var>TCalendar</var>, for 
selecting a date to store in a database field.
</short>
<descr>
<p>
<var>TDBCalendar</var> is a <var>TCalendar</var> descendant which implements 
a data-aware calendar control used to select a date and store its value in a 
database field. <var>TDBCalendar</var>, like its ancestor, displays a 
calendar which can be used to navigate through years, months, and days to 
select the Date value for the control. When Date has been assigned, it is 
stored in the field identified by the name in DataField.
</p>
<p>
Use Field to access the definition and metadata for the field where the Date 
value is stored.
</p>
<p>
Use DataSource to assign the component with the dataset where the Date value 
is stored.
</p>
<p>
Use DisplaySettings to control the visual appearance and content displayed on 
the calendar control.
</p>
<p>
Use the OnYearChanged event to perform action required when the navigation 
arrows in the calendar are used to change the year in the Date value.
</p>
<p>
Internally, a TFieldDataLink class instance is used to maintain the 
association between the control, the datasource, and the field. In addition, 
support for using standard actions is provided in the ExecuteAction and 
UpdateAction methods.
</p>
<remark/>
</descr>
<seealso>
<link id="#lcl.calendar.TCalendar">TCalendar</link>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
</seealso>
</element>
<element name="TDBCalendar.FDataLink">
<short>
<var>FDataLink</var> is a local variable used to hold field information for 
the linked dataset.
</short>
</element>
<element name="TDBCalendar.DataChange">
<short>
<var>DataChange</var> - if the link is active, transmit the changed data.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.DataChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBCalendar.UpdateDate">
<short>
<var>UpdateDate</var> - implements any pending changes in the date selected.
</short>
</element>
<element name="TDBCalendar.UpdateData.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBCalendar.GetDataField">
<short>Gets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.GetDataField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCalendar.GetDataSource">
<short>Gets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCalendar.GetField">
<short>Gets the value for the Field property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.GetField.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCalendar.GetReadOnly">
<short>Gets the value for the ReadOnly property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.GetReadOnly.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCalendar.SetReadOnly">
<short>Sets the value for the ReadOnly property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.SetReadOnly.Value">
<short>New value for the property.</short>
</element>
<element name="TDBCalendar.SetDate">
<short>Sets the value for the Date property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.SetDate.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCalendar.SetDataField">
<short>Sets the value for the DataField property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.SetDataField.Value">
<short>New value for the property.</short>
</element>
<element name="TDBCalendar.SetDataSource">
<short>Sets the value for the DataSource property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.SetDataSource.Value">
<short>New value for the property.</short>
</element>
<element name="TDBCalendar.UpdateDate">
<short>Updates the value in the Date property.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCalendar.UpdateDate.AValue">
<short>Value assigned to the Date property.</short>
</element>
<element name="TDBCalendar.CMGetDataLink">
<short>
<var>CMGetDataLink</var> - control message method for getting the data link.
</short>
</element>
<element name="TDBCalendar.CMGetDataLink.Message">
<short>Implements the CM_GETDATALINK message for the control.</short>
</element>
<element name="TDBCalendar.Notification">
<short>
Handles the notification when a component on the control is added or removed.
</short>
<descr>
<p>
Notification is an overridden method in TDBCalendar. It ensures that the 
DataSource is set to Nil when the component is freed.
</p>
</descr>
<seealso>
<link id="TDBCalendar.DataSource"/>
<link id="#lcl.controls.TControl.Notification">TControl.Notification</link>
</seealso>
</element>
<element name="TDBCalendar.Notification.AComponent">
<short>Component for the notification.</short>
</element>
<element name="TDBCalendar.Notification.Operation">
<short>Operation for the notification.</short>
</element>

<element name="TDBCalendar.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 resources for the internal 
<var>TFieldDataLink</var> instance used in the class. The 
<var>DataChange</var> and <var>UpdateData</var> methods in the control are 
assigned to the <var>OnDataChange</var> and <var>OnUpdateData</var> event 
handlers in the TFieldDataLink instance.
</p>
</descr>
<seealso>
<link id="TFieldDataLink.OnDataChange"/>
<link id="TFieldDataLink.OnUpdateData"/>
<link id="#lcl.calendar.TCustomCalendar.Create">TCustomCalendar.Create</link>
</seealso>
</element>
<element name="TDBCalendar.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>

<element name="TDBCalendar.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. 
Destroy frees resources allocated to the internal <var>TFieldDataLink</var> 
instance in the class, and calls the inherited destructor.
</p>
</descr>
<seealso>
<link id="#lcl.controls.TWinControl.Destroy">TWinControl.Destroy</link>
</seealso>
</element>

<element name="TDBCalendar.EditingDone">
<short>
Performs actions needed when the user has finished editing.
</short>
<descr>
<p>
<var>EditingDone</var> is an overridden method in <var>TDBCalendar</var>. It 
is used to perform actions needed when the user has finished editing using 
the control. It occurs when the focus changes to another control, or when the 
user selects another item using the mouse.
</p>
<p>
EditingDone extends the behavior from the ancestor class to update the linked 
dataset by calling the <var>UpdateRecord</var> method in 
<var>TFIeldDataLink</var> instance used in the class.
</p>
<p>
EditingDone calls the inherited method to signal the <var>OnEditingDone</var> 
event handler (when assigned).
</p>
</descr>
<seealso>
<link id="#fcl.db.TDataLink.UpdateRecord">TDataLink.UpdateRecord</link>
<link id="#lcl.controls.TControl.EditingDone">TControl.EditingDone</link>
<link id="#lcl.controls.TControl.OnEditingDone">TControl.OnEditingDone</link>
</seealso>
</element>
<element name="TDBCalendar.ExecuteAction">
<short>Provides support for TBasicAction in the control.</short>
<descr>
<p>
<var>ExecuteAction</var> is an overridden method in <var>TDBCalendar</var>. 
It calls the inherited method, and when the action is not handled in the 
ancestor, executes <var>AAction</var> using the <var>ExecuteAction</var> 
method in the internal <var>TFieldDataLink</var> instance in the class.
</p>
<p>
The return value is <b>True</b> if the action was executed in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TComponent.ExecuteAction">TComponent.ExecuteAction</link>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
</seealso>
</element>
<element name="TDBCalendar.ExecuteAction.Result">
<short><b>True</b> if the action was executed in the method.</short>
</element>
<element name="TDBCalendar.ExecuteAction.AAction">
<short>Action examined and executed in the method.</short>
</element>

<element name="TDBCalendar.UpdateAction">
<short>
Updates the specified action to reflect the current state in the linked 
dataset.
</short>
<descr>
<p>
<var>UpdateAction</var> is an overridden <var>Boolean</var> function in 
<var>TDBCalendar</var>. UpdateAction is called when the 
<var>Application</var> enters an idle state to ensure that the action 
reflects the current state for a linked dataset.
</p>
<p>
<var>AAction</var> is the <var>TBasicAction</var> updated in the method.
</p>
<p>
UpdateAction calls the inherited method, and when the internal dataset link 
has been assigned, executes its UpdateAction method. The return value is 
<b>True</b> when AAction is updated using either the inherited method, or the 
method in the linked dataset. The return value is <b>False</b> when AAction 
could not be updated in the method.
</p>
</descr>
<seealso>
<link id="#rtl.classes.TBasicAction">TBasicAction</link>
<link id="#rtl.classes.TComponent.UpdateAction">TComponent.UpdateAction</link>
<link id="#fcl.db.TDataLink.UpdateAction">TDataLink.UpdateAction</link>
</seealso>
</element>
<element name="TDBCalendar.UpdateAction.Result">
<short><b>True</b> if the action was updated in the method.</short>
</element>
<element name="TDBCalendar.UpdateAction.AAction">
<short>Action examined and updated in the method.</short>
</element>

<element name="TDBCalendar.Field">
<short>
Provides access to the field definition for the data-aware control.
</short>
<descr>
<p>
<var>Field</var> is a read-only <var>TField</var> property which provides 
access to the field definition to which the data-aware control is linked. 
Read access for the property is redirected to the Field property in the 
internal TFieldDataLink class instance. The value in Field is updated when a 
new value is assigned to the Field in the TFieldDataLink instance.
</p>
<p>
Use <var>DataField</var> to read or write the field name used for the 
data-aware control. Use <var>DataSource</var> to specify the data source with 
the dataset containing the specified field name.
</p>
</descr>
<seealso>
<link id="TDBCalendar.DataField"/>
<link id="TDBCalendar.DataSource"/>
<link id="TFieldDataLink.Field"/>
<link id="TFieldDataLink.FieldName"/>
<link id="#fcl.db.TField">TField</link>
</seealso>
</element>

<element name="TDBCalendar.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
<element name="TDBCalendar.Constraints" link="#lcl.controls.TControl.Constraints"/>

<element name="TDBCalendar.DataField">
<short>Contains the name of the field with the value for the control.</short>
<descr>
<p>
<var>DataField</var> is a <var>String</var> property which contains the name 
for the field in the linked dataset where the value for the control is read 
and written. Read and write access to the property value are redirected to 
the <var>FieldName</var> property in the internal <var>TFieldDataLink</var> 
instance for the control. Changing the value in DataField causes the value in 
<var>Field</var> to be updated.
</p>
<p>
Set the value in <var>DataSource</var> to the component which provides access 
to the dataset for the data-aware control.
</p>
</descr>
<seealso>
<link id="TDBCalendar.Field"/>
<link id="TDBCalendar.DataSource"/>
<link id="TFieldDataLink.FieldName"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>

<element name="TDBCalendar.DataSource">
<short>Provides access to the dataset with content for the control.
</short>
<descr>
<p>
<var>DataSource</var> is a <var>TDataSource</var> property which provides 
access to the content for the data-aware control. DataSource is used in 
conjunction with the <var>Field</var> property to determine the dataset and 
field definition used when reading the value for the control.
</p>
<p>
Read and write access to the property value is redirected to the DataSource 
property in the internal <var>TFieldDataLink</var> instance used in the 
control. Assigning a new value to the property causes the 
<var>ChangeDataSource</var> routine to be called to apply the value to the 
internal TFieldDataLink instance.
</p>
<p>
Use the <var>DataField</var> property to specify the field name accessed in 
the linked dataset.
</p>
</descr>
<seealso>
<link id="TDBCalendar.DataField"/>
<link id="TFieldDataLink.FieldName"/>
<link id="ChangeDataSource"/>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataSource">TDataSource</link>
</seealso>
</element>

<element name="TDBCalendar.Date">
<short>Date value for the control as a String type.</short>
<descr>
<p>
<var>Date</var> is a <var>String</var> property that represents the date/time 
value for the control as a string data type. Write access is re-implemented 
in TDBCalendar to call the DataChange method after setting the DateTime value 
in the ancestor.
</p>
<p>
Use <var>DateTime</var> to access the value for the control as a 
<var>TDateTime</var> value.
</p>
</descr>
<errors>
Raises an <var>EInvalidDate</var> exception in the ancestor class when an 
invalid date value is assigned to Date.
</errors>
<seealso>
<link id="Calendar.TCustomCalendar.Date"/>
<link id="Calendar.TCustomCalendar.DateTime"/>
</seealso>
</element>

<element name="TDBCalendar.ReadOnly">
<short>
Indicates if the control cannot modify the field in the linked dataset.
</short>
<descr>
<p>
<var>ReadOnly</var> is a <var>Boolean</var> property which indicates if the 
control cannot modify its <var>DataField</var> in the linked dataset. When 
set to <b>True</b>, the underlying field value cannot be modified using the 
control.
</p>
<p>
Read and write access for the property value are redirected to the ReadOnly 
property in the TFieldDataLink instance used in the control.
</p>
<remark>
A value assigned to ReadOnly may be overridden by the Field definition from 
the target database table.
</remark>
</descr>
<seealso>
<link id="TDBCalendar.DataField"/>
<link id="TDBCalendar.DataSource"/>
<link id="TDBCalendar.Field"/>
<link id="TFieldDataLink.Field"/>
<link id="#fcl.db.TDataLink.ReadOnly">TDataLink.ReadOnly</link>
<link id="#fcl.db.TDataLink.DataSource">TDataLink.DataSource</link>
<link id="#fcl.db.TDataLink.DataSet">TDataLink.DataSet</link>
</seealso>
</element>
<element link="#LCL.Calendar.TCustomCalendar.DisplaySettings" name="TDBCalendar.DisplaySettings"/>
<element name="TDBCalendar.DoubleBuffered" link="#lcl.controls.TWinControl.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBCalendar.DragCursor"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBCalendar.DragMode"/>
<element name="TDBCalendar.ParentDoubleBuffered" link="#lcl.controls.TWinControl.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.Visible" name="TDBCalendar.Visible"/>
<element link="#lcl.controls.TControl.OnClick" name="TDBCalendar.OnClick"/>

<element name="TDBCalendar.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>

<element link="#lcl.controls.TControl.OnDragDrop" name="TDBCalendar.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBCalendar.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBCalendar.OnEndDrag"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBCalendar.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBCalendar.OnMouseDown"/>
<element link="#LCL.Calendar.TCustomCalendar.OnDayChanged" name="TDBCalendar.OnDayChanged"/>
<element link="#LCL.Calendar.TCustomCalendar.OnMonthChanged" name="TDBCalendar.OnMonthChanged"/>
<element link="#LCL.Calendar.TCustomCalendar.OnYearChanged" name="TDBCalendar.OnYearChanged"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBCalendar.OnStartDrag"/>

<element name="TDBNavGlyph">
<short>Not used in the current LCL version.</short>
<descr>Not used in the current LCL version</descr>
<seealso/>
</element>
<element name="TDBNavGlyph.ngEnabled">
<short>Not used in the current LCL version.</short>
</element>
<element name="TDBNavGlyph.ngDisabled">
<short>Not used in the current LCL version.</short>
</element>
<element name="TDBNavButtonType">
<short>TDBNavButtonType.</short>
<descr>
<p>
<var>TDBNavButtonType</var> is an enumerated type with values that represent 
button types (and their corresponding glyphs) in a database navigation 
control. TDBNavButtonType enumeration values are used when accessing the 
<var>Buttons</var> and <var>Images</var> in <var>TDBCustomNavigator</var>, 
and when accessing the default resource names in 
<var>DBNavButtonResourceName</var>.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.Buttons"/>
<link id="TDBCustomNavigator.Images"/>
<link id="DBNavButtonResourceName"/>
</seealso>
</element>
<element name="TDBNavButtonType.nbFirst">
<short>
Represents the First button used to navigate to the beginning of a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbPrior">
<short>
Represents the Prior button used to navigate to the previous record in a 
dataset.
</short>
</element>
<element name="TDBNavButtonType.nbNext">
<short>
Represents the Next button used to navigate to the next record in a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbLast">
<short>
Represents the Last button used to navigate to the last record in a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbInsert">
<short>
Represents the Insert button used to create a new record in a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbDelete">
<short>
Represents the Delete button used to delete the current record in a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbEdit">
<short>
Represents the Edit button used to enable edit mode for the current record in 
a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbPost">
<short>
Represents the Post button used to apply pending changes to a record in a 
dataset.
</short>
</element>
<element name="TDBNavButtonType.nbCancel">
<short>
Represents the Cancel button used to cancel pending updates to a dataset.
</short>
</element>
<element name="TDBNavButtonType.nbRefresh">
<short>
Represents the Refresh button used to refresh the records in a dataset.
</short>
</element>
<element name="TDBNavButtonSet">
<short>Stores TDBNavButtonType enumeration values.</short>
<descr>
<p>
<var>TDBNavButtonSet</var> is a set type used to store zero or more values 
from the <var>TDBNavButtonType</var> enumeration. TDBNavButtonSet is the type 
used to implement the <var>VisibleButtons</var> property in 
<var>TDBCustomNavigator</var>.
</p>
</descr>
<seealso>
<link id="TDBNavButtonType"/>
<link id="TDBCustomNavigator.VisibleButtons"/>
</seealso>
</element>
<element name="TDBNavButtonStyle">
<short>Controls the appearance and behavior of a navigator button.</short>
<descr>
<p>
<var>TDBNavButtonStyle</var> is an set type used to store information which 
controls the appearance and behavior for a button on a navigation control. 
TDBNavButtonStyle is the type used to implement the <var>NavStyle</var> 
property in
<var>TDBNavButton</var>.
</p>
<remark>
These style options are not used in the current implementation of the LCL.
</remark>
</descr>
<seealso>
<link id="TDBNavButton.NavStyle"/>
</seealso>
</element>
<element name="TDBNavButtonStyle.nsAllowTimer">
<short>
Enables use of a timer for the operation performed by a navigator button.
</short>
</element>
<element name="TDBNavButtonStyle.nsFocusRect">
<short>Allows the button to be drawn with a focus rectangle.</short>
</element>
<element name="TDBNavButtonDirection">
<short>
Represents the orientation for buttons on a TDBNavigator control.
</short>
<descr>
<p>
<var>TDBNavButtonDirection</var> is an enumerated type with values that 
control the orientation for buttons on a database navigation control. 
TDBNavButtonDirection is the type used to implement the <var>Direction</var> 
property in
<var>TDBCustomNavigator</var>.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.Direction"/>
</seealso>
</element>
<element name="TDBNavButtonDirection.nbdHorizontal">
<short>Buttons are displayed horizontally (in a row).</short>
</element>
<element name="TDBNavButtonDirection.nbdVertical">
<short>Buttons are displayed vertically (in a column).</short>
</element>
<element name="TDBNavigatorOption">
<short>Represents options available on a TDBNavigator control.</short>
<descr/>
<seealso/>
</element>
<element name="TDBNavigatorOption.navFocusableButtons">
<short>Navigator has focusable buttons.</short>
</element>
<element name="TDBNavigatorOptions">
<short>Set type used to store values from TDBNavigatorOption.</short>
<descr/>
<seealso/>
</element>
<element name="TNavigateBtn">
<short>Alias to the TDBNavButtonType type.</short>
<descr>
<p>
<var>TNavigateBtn</var> is an alias for the <var>TDBNavButtonType</var> type. 
TNavigateBtn is provided to maintain Delphi compatibility.
</p>
</descr>
<seealso>
<link id="TDBNavButtonType"/>
</seealso>
</element>
<element name="TDBNavClickEvent">
<short>
Specifies an event handler used to handle click events in a database 
navigation control.
</short>
<descr>
<p>
<var>TDBNavClickEvent</var> is an object procedure type which specifies an 
event handler signalled for click events in a database navigation control. 
TDBNavClickEvent is the type used to implement the <var>OnClick</var> and 
<var>BeforeAction</var> events in <var>TDBCustomNavigator</var>.
</p>
<p>
Applications must implement and assign an object procedure using the 
signature for the handler to respond to the event notification.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.OnClick"/>
<link id="TDBCustomNavigator.BeforeAction"/>
</seealso>
</element>
<element name="TDBNavClickEvent.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBNavClickEvent.Button">
<short>Navigator button for the click event.</short>
</element>
<element name="DefaultDBNavigatorButtons">
<short>
Set with the default buttons displayed on a TDBNavigator control.
</short>
<descr>
<p>
<var>DefaultDBNavigatorButtons</var> is an array constant which contains the 
default buttons available in a database navigation control. 
DefaultDBNavigatorButtons contain values from the <var>TDBNavButtonType</var> 
enumeration in the order they are displayed on a 
<var>TDBCustomNavigator</var> control.
</p>
<p>
DefaultDBNavigatorButtons is used as the default value for the 
<var>VisibleButtons</var> property in TDBCustomNavigator.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.VisibleButtons"/>
</seealso>
</element>
<element name="DBNavButtonResourceName">
<short>
Default resource names for the buttons displayed in TDBCustomNavigator.
</short>
<descr>
<p>
<var>DBNavButtonResourceName</var> is an array constant which contains the 
resource names used for the buttons displayed in a database navigator 
control. Elements in the array contain a <var>String</var> with the name 
assigned to <var>TDBNavButton</var> instances created in a 
<var>TDBCustomNavigator</var> control. The element also represents the 
default glyph displayed on the button when the <var>Images</var> property has 
not been populated for the navigator control.
</p>
<p>
Each of the String elements in the array can be accessed using a 
<var>TDBNavButtonType</var> index value.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.Buttons"/>
<link id="TDBCustomNavigator.Images"/>
<link id="TDBNavButton"/>
<link id="TDBNavButton.Index"/>
<link id="TDBNavButtonType"/>
<link id="#rtl.classes.TComponent.Name">TComponent.Name</link>
</seealso>
</element>
<element name="TDBCustomNavigator">
<short>
<var>TDBCustomNavigator</var> is the base class for <var>TDBNavigator</var>, 
a tool for navigating through the records of a dataset.
</short>
<descr>
<p>
<var>TDBCustomNavigator</var> is the parent class for 
<var>TDBNavigator</var>, an advanced tool for navigating through datasets 
generated by a query sent to the database. Most of the important properties 
are defined here in this base class.
</p>
<p>
It consists of a series of tool buttons used to perform navigation and 
maintenance for records in the linked dataset. For example:
</p>
<dl>
<dt>Navigation</dt>
<dd>
<b>First</b>,
<b>Prior</b>,
<b>Next</b> or
<b>Last</b>
</dd>
<dt>Maintenance</dt>
<dd>
<b>Insert</b>,
<b>Delete</b>,
<b>Edit</b>,
<b>Post</b>,
<b>Cancel</b> or
<b>Refresh</b>
</dd>
</dl>
<p>
Use the <var>VisibleButtons</var> property to specify which of the Buttons 
can be displayed in the control.
</p>
<p>
If used in conjunction with a data-aware controls, it controls which record 
is displayed, the position of the record selection cursor, and the initiation 
of changes to the dataset and ultimately the database.
</p>
<p>
Most of the functionality for the toolbar is built into the control, The 
programmer can specify actions to be associated with individual buttons using 
the <var>OnClick</var> event handler. It includes an argument can be sent 
with the index value of the button clicked, and the procedure chooses which 
action to call dependent on the button index.
</p>
<p>
The <var>DataSource</var> property must be assigned to link to the dataset 
for the control.
</p>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
<link id="TDBNavigator"/>
</seealso>
</element>
<element name="TDBCustomNavigator.FBeforeAction"/>
<element name="TDBCustomNavigator.FDataLink"/>
<element name="TDBCustomNavigator.FDirection"/>
<element name="TDBCustomNavigator.FOnNavClick"/>
<element name="TDBCustomNavigator.FVisibleButtons"/>
<element name="TDBCustomNavigator.FDefaultHints"/>
<element name="TDBCustomNavigator.FHints"/>
<element name="TDBCustomNavigator.FUpdateButtonsLock"/>
<element name="TDBCustomNavigator.FOriginalHints"/>
<element name="TDBCustomNavigator.FOptions"/>
<element name="TDBCustomNavigator.FFlat"/>
<element name="TDBCustomNavigator.FConfirmDelete"/>
<element name="TDBCustomNavigator.FUpdateButtonsNeeded"/>
<element name="TDBCustomNavigator.FShowButtonHints"/>
<element name="TDBCustomNavigator.FImages"/>
<element name="TDBCustomNavigator.FImageChangeLink"/>
<element name="TDBCustomNavigator.DefaultHintsChanged">
<short>
Performs actions needed when the values in the default hints have changed.
</short>
<descr>
<p>
Used as the OnChange event handler for the TStringList used in UpdateHints.
</p>
</descr>
</element>
<element name="TDBCustomNavigator.DefaultHintsChanged.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBCustomNavigator.GetDataSource">
<short>Gets the value for the DataSource property.</short>
</element>
<element name="TDBCustomNavigator.GetDataSource.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCustomNavigator.GetHints">
<short>Gets the value for the Hints property.</short>
</element>
<element name="TDBCustomNavigator.GetHints.Result">
<short>Value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetDataSource">
<short>Sets the value for the DataSource property.</short>
</element>
<element name="TDBCustomNavigator.SetDataSource.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetDirection">
<short>Sets the value for the Direction property.</short>
</element>
<element name="TDBCustomNavigator.SetDirection.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetFlat">
<short>Sets the value for the Flat property.</short>
</element>
<element name="TDBCustomNavigator.SetFlat.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetHints">
<short>Sets the value for the Hints property.</short>
</element>
<element name="TDBCustomNavigator.SetHints.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetImages">
<short>Sets the value for the Images property.</short>
</element>
<element name="TDBCustomNavigator.SetImages.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetOptions">
<short>Sets the value for the Options property.</short>
</element>
<element name="TDBCustomNavigator.SetOptions.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetShowButtonHints">
<short>Sets the value for the ShowButtonHints property.</short>
</element>
<element name="TDBCustomNavigator.SetShowButtonHints.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.SetVisibleButtons">
<short>Sets the value for the VisibleButtons property.</short>
</element>
<element name="TDBCustomNavigator.SetVisibleButtons.AValue">
<short>New value for the property.</short>
</element>
<element name="TDBCustomNavigator.CMGetDataLink">
<short>Handles the CM_GETDATALINK message for the control.</short>
</element>
<element name="TDBCustomNavigator.CMGetDataLink.Message">
<short>Message handled in the method.</short>
</element>
<element name="TDBCustomNavigator.ImageListChange">
<short>
Implements the OnChange event handler for the TChangeLink instance in the 
class.
</short>
</element>
<element name="TDBCustomNavigator.ImageListChange.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBCustomNavigator.Buttons">
<short>The list of Buttons included in the navigator tool.</short>
<descr>
<p>
<var>Buttons</var> is a member which contains an array of 
<var>TDBNavButton</var> instances available in the control. Values in Buttons 
are accessed using an <var>TDBNavButtonType</var> index value. TDBNavButton 
elements in the array are created and destroyed to reflect the current state 
of the linked dataset in the DataSource property. The elements in the array 
are updated in the <var>DataChanged</var>, <var>EditingChanged</var>, and 
<var>ActiveChange</var> methods to use the <var>Enabled</var> and 
<var>Visible</var> settings needed for the dataset state.
</p>
<p>
Use <var>FocusableButtons</var> to access the Buttons which can be focused in 
the control.
</p>
<p>
Use <var>VisibleButtons</var> to specify the Buttons which can be displayed 
on the control.
</p>
</descr>
<seealso/>
</element>
<element name="TDBCustomNavigator.FocusableButtons">
<short>Contains the focusable button for the DB navigator control.</short>
<descr>
<p>
<var>FocusableButtons</var> is a member with an array of 
<var>TDBNavFocusableButton</var> instances for the control. The buttons are 
freed and created in the <var>UpdateButtons</var> method as needed, and 
contains a button for each of the values in the <var>VisibleButtons</var> 
property. Buttons in the array are accessed using the enumeration values in 
<var>TDBNavButtonType</var>.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.UpdateButtons"/>
<link id="TDBCustomNavigator.VisibleButtons"/>
<link id="TDBCustomNavigator.ActiveChanged"/>
<link id="TDBNavButtonType"/>
</seealso>
</element>
<element name="TDBCustomNavigator.DataChanged">
<short>
<var>DataChanged</var> - update status of all the buttons to reflect new data.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.EditingChanged">
<short>
<var>EditingChanged</var> - the status of the buttons is set to
<var>CanModify</var>.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.ActiveChanged">
<short>
<var>ActiveChanged</var> - if datalink is active, calls 
<var>DataChanged</var> and
<var>EditingChanged</var>.
</short>
<descr/>
<seealso>
<link id="#lcl.DBCtrls.TDBCustomNavigator.DataChanged">DataChanged</link>
<link id="#lcl.DBCtrls.TDBCustomNavigator.EditingChanged">EditingChanged</link>
</seealso>
</element>
<element name="TDBCustomNavigator.Loaded" link="#lcl.extctrls.TCustomPanel.Loaded"/>
<element name="TDBCustomNavigator.Notification"
link="#lcl.controls.TControl.Notification"/>
<element name="TDBCustomNavigator.Notification.AComponent"/>
<element name="TDBCustomNavigator.Notification.Operation"/>
<element name="TDBCustomNavigator.UpdateButtons">
<short>
<var>UpdateButtons</var> - if the position of the buttons need to be changed, 
does this, then updates the status of the buttons (see 
<var>ActiveChanged</var>).
</short>
<descr/>
<seealso>
<link id="#LCL.DBCtrls.TDBCustomNavigator.ActiveChanged">ActiveChanged</link>
</seealso>
</element>
<element name="TDBCustomNavigator.UpdateHints">
<short>
<var>UpdateHints</var> - reloads the default hints and modifies any that have 
been changed.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.HintsChanged">
<short>
<var>HintsChanged</var> - calls <var>UpdateHints</var>.
</short>
<descr/>
<seealso>
<link id="#lcl.DBCtrls.TDBCustomNavigator.UpdateHints">UpdateHints</link>
</seealso>
</element>
<element name="TDBCustomNavigator.HintsChanged.Sender">
<short>Object for the event notification.</short>
</element>
<element name="TDBCustomNavigator.ButtonClickHandler">
<short>
<var>ButtonClickHandler</var> - performs <var>BtnClick</var> for the 
appropriate button.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.ButtonClickHandler.Sender">
<short>Object for the event notification.</short>
</element>
<element link="#lcl.controls.TControl.GetControlClassDefaultSize" name="TDBCustomNavigator.GetControlClassDefaultSize"/>
<element name="TDBCustomNavigator.GetControlClassDefaultSize.Result">
<short>Default size for new instances of the class.</short>
</element>
<element name="TDBCustomNavigator.BeginUpdateButtons">
<short>
<var>BeginUpdateButtons</var> - locks the buttons before updating them.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.EndUpdateButtons">
<short>
<var>EndUpdateButtons</var> - unlocks each button in turn and updates it if 
needed.
</short>
<descr/>
<errors/>
<seealso/>
</element>
<element name="TDBCustomNavigator.SetEnabled">
<short>Sets the value for the Enabled property.</short>
<descr/>
<seealso>
<link id="#lcl.controls.TControl.Enabled">TControl.Enabled</link>
</seealso>
</element>
<element name="TDBCustomNavigator.SetEnabled.Value">
<short>New value for the Enabled property.</short>
</element>
<element name="TDBCustomNavigator.Create">
<short>
<var>Create</var> - constructor for <var>TDBCustomNavigator</var>: locks the 
buttons, calls inherited <var>Create</var>, sets default size, style, forms 
datalinks, initializes hints, updates the buttons.
</short>
<descr/>
<seealso>
<link id="#LCL.ExtCtrls.TCustomPanel.Create">TCustomPanel.Create</link>
</seealso>
</element>
<element name="TDBCustomNavigator.Create.TheOwner">
<short>Owner of the class instance.</short>
</element>
<element name="TDBCustomNavigator.Destroy">
<short>
<var>Destroy</var> - destructor for <var>TDBCustomNavigator</var>: frees 
datalinks and hints, then calls inherited <var>Destroy</var>.
</short>
<descr/>
<seealso>
<link id="#lcl.controls.TCustomControl.Destroy">TCustomControl.Destroy</link>
</seealso>
</element>
<element name="TDBCustomNavigator.BtnClick">
<short>
<var>BtnClick</var> - procedure to respond to button clicks, and select an 
action from a list according to the value of the <var>Index</var> of the 
clicked button.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.BtnClick.Index">
<short>
Ordinal position for the button clicked on the navigator control.
</short>
</element>
<element name="TDBCustomNavigator.VisibleButtonCount">
<short>Number of visible buttons on the control.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.VisibleButtonCount.Result">
<short>Number of visible buttons on the control.</short>
</element>
<element name="TDBCustomNavigator.BeforeAction">
<short>
<var>BeforeAction</var> - code to be executed before an action is performed.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.ConfirmDelete">
<short>Indicates if the user is asked to confirm a record deletion.
</short>
<descr>
<p>
When set to <b>True</b>, a dialog is displayed to ask for confirmation of the 
Delete request.
</p>
</descr>
<seealso/>
</element>
<element name="TDBCustomNavigator.DataSource">
<short>
The Data Source to which the control must be linked in order to function.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.Direction">
<short>
Contains the orientation for buttons displayed on the control: horizontal or 
vertical.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.Flat">
<short>
<var>Flat</var> - if <b>True</b>, buttons have no 3-D effect.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.Hints">
<short>A list of hints to be shown if the mouse hovers over a button.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.Options">
<short>Options enabled for the navigator.</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.OnClick">
<short>The action to be taken when a navigator button is clicked.</short>
<descr/>
<seealso>
<link id="#lcl.controls.TControl.OnClick">TControl.OnClick</link>
</seealso>
</element>
<element name="TDBCustomNavigator.VisibleButtons">
<short>
The set of visible buttons (some of them can be suppressed if their function 
appears redundant).
</short>
<descr>
<p>
The VisibleButtons entry in the Object Inspector can be used to set whether 
or not a particular button is to be visible.
</p>
</descr>
<seealso/>
</element>
<element name="TDBCustomNavigator.ShowButtonHints">
<short>
Controls whether button hints are displayed for the control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBCustomNavigator.Images">
<short>
Contains the images available for display on the navigator buttons.
</short>
<descr>
<p>
<var>Images</var> is a <var>TCustomImageList</var> property which contains 
the images available for use as glyphs on the navigator buttons. Bitmaps 
stored in Images should be in the order defined in the 
<var>TDBNavButtonType</var> enumeration. The enumeration values are used as 
the image index. When Images has not been assigned, the default glyphs in LCL 
are used for the purpose.
</p>
<p>
Setting a new value for Images causes the <var>TChangeLink</var> instance in 
the class to be notified; existing Images are unregistered, and new Images 
(if any) are registered. <var>UpdateButtons</var> is called to apply image 
indexes and event handlers to the <var>Buttons</var> in the control.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.Buttons"/>
<link id="TDBCustomNavigator.UpdateButtons"/>
<link id="TDBCustomNavigator.VisibleButtons"/>
<link id="TDBCustomNavigator.FocusableButtons"/>
<link id="TDBNavButtonType"/>
<link id="#lcl.imglist.TCustomImageList">TCustomImageList</link>
<link id="#lcl.imglist.TChangeLink">TChangeLink</link>
<link id="#lcl.imglist.LCLGlyphs">LCLGlyphs</link>
</seealso>
</element>

<element name="TDBNavButton">
<short>
<var>TDBNavButton</var> implements a <var>SpeedButton</var> displayed on a 
<var>TDBNavigator</var> control.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBNavButton.FIndex"/>
<element name="TDBNavButton.FNavStyle"/>
<element name="TDBNavButton.Destroy" link="#lcl.buttons.TCustomSpeedButton.Destroy"/>
<element name="TDBNavButton.NavStyle">
<short>
Set with the style values for the navigator button.
</short>
<descr>
<p>
NavStyle is a <var>TDBNavButtonStyle</var> property which contains the style 
values used for the navigator button. It contains zero or more values 
representing the features enabled for the button. See TDBNavButtonStyle for 
more information about the values in the set type and their meanings.
</p>
<p>
NavStyle is used in the <var>TDBCustomNavigator.UpdateButtons</var> method to 
enable the timer used for Previous (nbPrior) and Next (nbNext) buttons.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.UpdateButtons"/>
<link id="TDBNavButtonStyle"/>
</seealso>
</element>
<element name="TDBNavButton.Index">
<short>
<var>Index</var> - the value from the enumerated type that specifies which 
button is being selected.
</short>
<descr>
<p>Button may be one of the following: nbFirst, nbPrior, nbNext, nbLast, 
nbInsert, nbDelete, nbEdit, nbPost, nbCancel, nbRefresh.
</p>
</descr>
<seealso/>
</element>
<element name="TDBNavFocusableButton">
<short>Implements a button used on a database navigator control.</short>
<descr>
<p>
<var>TDBNavFocusableButton</var> is a <var>TBitBtn</var> descendant which 
implements a button that can receive focus in a database navigator control. 
TDBNavFocusableButton is the type maintained in the 
<var>FocusableButtons</var> member in <var>TDBCustomNavigator</var>.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator.FocusableButtons"/>
</seealso>
</element>
<element name="TDBNavFocusableButton.FIndex"/>
<element name="TDBNavFocusableButton.FNavStyle"/>
<element name="TDBNavFocusableButton.NavStyle">
<short>
Contains styles and options that are enabled for the DB navigator button.
</short>
<descr>
<p>
<var>NavStyle</var> is a <var>TDBNavButtonStyle</var> property with the set 
of style or options enabled for the focusable DB navigator button. Its values 
may be updated in the <var>TDBCustomNavigator.UpdateButtons</var> method.
</p>
</descr>
<seealso>
<link id="TDBNavButtonStyle"/>
<link id="TDBCustomNavigator.UpdateButtons"/>
</seealso>
</element>
<element name="TDBNavFocusableButton.Index">
<short>Indicates the navigation button type for the button.</short>
<descr>
<p>
<var>Index</var> is an <var>TDBNavButtonType</var> value which indicates both 
the navigation button type for the button, and its ordinal position in the 
Buttons displayed for a <var>TDBCustomNavigator</var> or 
<var>TDBNavigator</var> control. The value for the property is assigned when 
the button is created in the <var>UpdateButtons</var> for the 
<var>TDBCustomNavigator</var> control.
</p>
</descr>
<seealso>
<link id="TDBNavButtonType"/>
<link id="TDBCustomNavigator.UpdateButtons"/>
</seealso>
</element>
<element name="TDBNavDataLink">
<short>
<var>TDBNavDataLink</var> - provides a link between a Database Navigator and 
a DataSet.
</short>
<descr>
<p>
<var>TDBNavDataLink</var> is a <var>TDataLink</var> descendant used to 
maintain an association between a database navigator control, and a 
datasource with a dataset. It provides additional methods called when values 
assigned to the data link have been changed. An internal member is maintained 
with the <var>TDBCustomNavigator</var> control for the association.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator"/>
<link id="#fcl.db.TDataLink">TDataLink</link>
</seealso>
</element>
<element name="TDBNavDataLink.FNavigator"/>
<element name="TDBNavDataLink.EditingChanged">
<short>
<var>EditingChanged</var> - method to process a change in the 
<var>Editing</var> property of the navigator.
</short>
<descr/>
<seealso/>
</element>
<element name="TDBNavDataLink.DataSetChanged">
<short>
<var>DataSetChanged</var> - method to process a change in the data set 
attached to the navigator.
</short>
<descr>
<p>
<var>DataSetChanged</var> is an overridden procedure in 
<var>TDBNavDataLink</var> which ensures that the <var>DataChanged</var> 
method in the internal <var>TDBCustomNavigator</var> control is called when 
the value in <var>DataSet</var> has been changed.
</p>
<remark>
ActiveChanged does not call the inherited method.
</remark>
</descr>
<seealso/>
</element>
<element name="TDBNavDataLink.ActiveChanged">
<short>
<var>ActiveChanged</var> - method to process a change in the 
<var>Active</var> property of the navigator.
</short>
<descr>
<p>
<var>ActiveChanged</var> is an overridden procedure in 
<var>TDBNavDataLink</var> used to ensure that the Navigator control is 
updated when the value for the <var>Active</var> property has been changed.
</p>
<remark>
ActiveChanged does not call the inherited method.
</remark>
</descr>
<seealso>
<link id="TDBCustomNavigator.ActiveChanged"/>
<link id="#fcl.db.TDataLink.Active">TDataLink.Active</link>
</seealso>
</element>

<element name="TDBNavDataLink.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 assigns the value in <var>TheNavigator</var> to 
an internal member used in the class instance. It also sets the value in the 
<var>VisualControl</var> property to <b>True</b>.
</p>
</descr>
<seealso>
<link id="TDBCustomNavigator"/>
<link id="#fcl.db.TDataLink">TDataLink</link>
</seealso>
</element>
<element name="TDBNavDataLink.Create.TheNavigator">
<short>TDBCustomNavigator control for the data link.</short>
</element>

<element name="TDBNavigator">
<short>
<var>TDBNavigator</var> - a data-aware Button-Bar to facilitate navigating 
between records of a dataset.
</short>
<descr>
<p>
<var>TDBNavigator</var> is a tool used to navigate local datasets in a 
response to a query sent to the database. It consists of a series of tool 
buttons used to perform navigation and maintenance for records in the linked 
dataset.
</p>
<p>
For example:
</p>
<dl>
<dt>Navigation</dt>
<dd>
<b>First</b>, <b>Prior</b>, <b>Next</b> or <b>Last</b>
</dd>
<dt>Maintenance</dt>
<dd>
<b>Insert</b>, <b>Delete</b>, <b>Edit</b>, <b>Post</b>, <b>Cancel</b> or 
<b>Refresh</b>
</dd>
</dl>
<p>
Use the <var>VisibleButtons</var> property to specify which of the Buttons 
can be displayed in the control.
</p>
<p>
If used in conjunction with a data-aware controls, it controls which record 
is displayed, the position of the record selection cursor, and the initiation 
of changes to the dataset and ultimately the database.
</p>
<p>
Most of the functionality of the toolbar is already built-in to the control, 
but if the programmer needs to specify actions to be associated with 
individual buttons, there is a procedure <var>BtnClick</var> to which an 
argument can be sent with the index value of the button clicked, and the 
procedure chooses which action to call dependent on the button index.
</p>
<p>
The <var>DataSource</var> property must be assigned to link to the dataset 
for the control.
</p>
</descr>
<seealso>
<link id="HowToUseDataAwareControls">How To Use Data-aware Controls</link>
<link id="TDBCustomNavigator"/>
</seealso>
</element>
<element link="#lcl.extctrls.TCustomPanel.Align" name="TDBNavigator.Align"/>
<element link="#lcl.extctrls.TCustomPanel.Alignment" name="TDBNavigator.Alignment"/>
<element link="#lcl.controls.TControl.Anchors" name="TDBNavigator.Anchors"/>
<element link="#lcl.controls.TControl.AutoSize" name="TDBNavigator.AutoSize"/>
<element link="#lcl.controls.TControl.BiDIMode" name="TDBNavigator.BiDiMode"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.BeforeAction" name="TDBNavigator.BeforeAction"/>
<element link="#lcl.extctrls.TCustomPanel.BevelInner" name="TDBNavigator.BevelInner"/>
<element link="#lcl.extctrls.TCustomPanel.BevelOuter" name="TDBNavigator.BevelOuter"/>
<element link="#lcl.extctrls.TCustomPanel.BevelWidth" name="TDBNavigator.BevelWidth"/>
<element link="#lcl.controls.TControl.BorderSpacing" name="TDBNavigator.BorderSpacing"/>
<element link="#lcl.controls.TWinControl.BorderStyle" name="TDBNavigator.BorderStyle"/>
<element link="#lcl.controls.TWinControl.BorderWidth" name="TDBNavigator.BorderWidth"/>
<element link="#lcl.controls.TControl.Caption" name="TDBNavigator.Caption"/>
<element link="#lcl.controls.TWinControl.ChildSizing" name="TDBNavigator.ChildSizing"/>
<element link="#lcl.controls.TControl.ClientHeight" name="TDBNavigator.ClientHeight"/>
<element link="#lcl.controls.TControl.ClientWidth" name="TDBNavigator.ClientWidth"/>

<element name="TDBNavigator.Color">
<short>Contains the background color for the control.</short>
<descr>
<p>
<var>Color</var> is a <var>TColor</var> property with the background color 
for the control. The default value for the property is 
<var>clBackground</var> in <var>TDBNavigator</var>.
</p>
<p>
If the color is clDefault, the value will need to be resolved using the 
GetDefaultColor method. Convenience routines which obtain the color by 
resolving clDefault and ParentColor are also provided in 
TControl.GetColorResolvingParent and TControl.GetRGBColorResolvingParent.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomPanel.Color">TCustomPanel.Color</link>
<link id="#lcl.controls.TControl.ParentColor">TControl.ParentColor</link>
<link id="#lcl.controls.TControl.GetDefaultColor">TControl.GetDefaultColor</link>
<link id="#lcl.controls.TControl.GetColorResolvingParent">TControl.GetColorResolvingParent</link>
<link id="#lcl.controls.TControl.GetRGBColorResolvingParent">TControl.GetRGBColorResolvingParent</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.Constraints" name="TDBNavigator.Constraints"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.ConfirmDelete" name="TDBNavigator.ConfirmDelete"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.DataSource" name="TDBNavigator.DataSource"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.Direction" name="TDBNavigator.Direction"/>
<element link="#lcl.controls.TWinControl.DoubleBuffered" name="TDBNavigator.DoubleBuffered"/>
<element link="#lcl.controls.TControl.DragCursor" name="TDBNavigator.DragCursor"/>
<element link="#lcl.controls.TControl.DragMode" name="TDBNavigator.DragMode"/>
<element link="#lcl.controls.TControl.Enabled" name="TDBNavigator.Enabled"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.Flat" name="TDBNavigator.Flat"/>
<element link="#lcl.controls.TControl.Font" name="TDBNavigator.Font"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.Hints" name="TDBNavigator.Hints"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.Options" name="TDBNavigator.Options"/>
<element link="#lcl.controls.TControl.ParentBiDiMode" name="TDBNavigator.ParentBiDiMode"/>
<element link="#lcl.controls.TControl.ParentColor" name="TDBNavigator.ParentColor"/>
<element link="#lcl.controls.TWinControl.ParentDoubleBuffered" name="TDBNavigator.ParentDoubleBuffered"/>
<element link="#lcl.controls.TControl.ParentFont" name="TDBNavigator.ParentFont"/>
<element link="#lcl.controls.TControl.ParentShowHint" name="TDBNavigator.ParentShowHint"/>
<element link="#lcl.controls.TControl.PopupMenu" name="TDBNavigator.PopupMenu"/>
<element link="#lcl.controls.TControl.ShowHint" name="TDBNavigator.ShowHint"/>
<element link="#lcl.controls.TWinControl.TabOrder" name="TDBNavigator.TabOrder"/>

<element name="TDBNavigator.TabStop">
<short>Enables or disables navigation using the Tab key.</short>
<descr>
<p>
The default value for the property is <b>False</b> in TDBNavigator.
</p>
</descr>
<seealso>
<link id="#lcl.extctrls.TCustomPanel.TabStop">TCustomPanel.TabStop</link>
</seealso>
</element>

<element link="#lcl.controls.TControl.Visible" name="TDBNavigator.Visible"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.VisibleButtons" name="TDBNavigator.VisibleButtons"/>
<element link="#lcl.dbctrls.TDBCustomNavigator.Images" name="TDBNavigator.Images"/>

<element link="#lcl.dbctrls.TDBCustomNavigator.OnClick" name="TDBNavigator.OnClick"/>
<element name="TDBNavigator.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
<element link="#lcl.controls.TControl.OnDblClick" name="TDBNavigator.OnDblClick"/>
<element link="#lcl.controls.TControl.OnDragDrop" name="TDBNavigator.OnDragDrop"/>
<element link="#lcl.controls.TControl.OnDragOver" name="TDBNavigator.OnDragOver"/>
<element link="#lcl.controls.TControl.OnEndDrag" name="TDBNavigator.OnEndDrag"/>
<element link="#lcl.controls.TWinControl.OnEnter" name="TDBNavigator.OnEnter"/>
<element link="#lcl.controls.TWinControl.OnExit" name="TDBNavigator.OnExit"/>
<element link="#lcl.controls.TControl.OnMouseDown" name="TDBNavigator.OnMouseDown"/>
<element link="#lcl.controls.TControl.OnMouseEnter" name="TDBNavigator.OnMouseEnter"/>
<element link="#lcl.controls.TControl.OnMouseLeave" name="TDBNavigator.OnMouseLeave"/>
<element link="#lcl.controls.TControl.OnMouseMove" name="TDBNavigator.OnMouseMove"/>
<element link="#lcl.controls.TControl.OnMouseUp" name="TDBNavigator.OnMouseUp"/>
<element link="#lcl.controls.TControl.OnMouseWheel" name="TDBNavigator.OnMouseWheel"/>
<element link="#lcl.controls.TControl.OnMouseWheelDown" name="TDBNavigator.OnMouseWheelDown"/>
<element link="#lcl.controls.TControl.OnMouseWheelUp" name="TDBNavigator.OnMouseWheelUp"/>
<element link="#lcl.controls.TControl.OnResize" name="TDBNavigator.OnResize"/>
<element link="#lcl.controls.TControl.OnStartDrag" name="TDBNavigator.OnStartDrag"/>

<element name="ChangeDataSource">
<short>
Performs actions needed when the datasource in a control with the specified 
data link is changed.
</short>
<descr>
<p>
<var>ChangeDataSource</var> ensures that free notification messages are 
performed for the datasource in <var>Link</var> and the control in 
<var>AControl</var>. The value in <var>NewDataSource</var> is assigned to the 
DataSource property in Link.
</p>
</descr>
<seealso>
<link id="TDataLink.DataSource"/>
</seealso>
</element>
<element name="ChangeDataSource.AControl">
<short>Control notified in the routine.</short>
</element>
<element name="ChangeDataSource.Link">
<short>Data link updated in the method.</short>
</element>
<element name="ChangeDataSource.NewDataSource">
<short>Datasource assigned to the data link in the method.</short>
</element>
<element name="Register">
<short>Registers components in the unit for use in the Lazarus IDE.</short>
<descr>
<p>
<var>Register</var> is a procedure used to register components in the
<file>dbctrls.pp</file> unit for use in the Lazarus IDE. Register adds the 
following components to the 'Data Controls' tab:
</p>
<ul>
<li>TDBNavigator</li>
<li>TDBText</li>
<li>TDBEdit</li>
<li>TDBMemo</li>
<li>TDBImage</li>
<li>TDBListBox</li>
<li>TDBLookupListBox</li>
<li>TDBComboBox</li>
<li>TDBLookupComboBox</li>
<li>TDBCheckBox</li>
<li>TDBRadioGroup</li>
<li>TDBCalendar</li>
<li>TDBGroupBox</li>
</ul>
<p>
Register calls the <var>RegisterField</var> routine for each of the database 
field types in DefaultFieldClasses, as well as the TIntegerField type.
</p>
</descr>
<seealso>
<link id="#fcl.db.DefaultFieldClasses">DefaultFieldClasses</link>
</seealso>
</element>
<topic name="HowToUseDataAwareControls">
<short>
<var>HowToUseDataAwareControls</var> - Hints for accessing databases.
</short>
<descr>
<p>
<var>HowToUseDataAwareControls</var> - Hints for accessing databases. A set 
of Data-Aware components is provided, to make it easier to access information 
held in databases.
</p>
<p>
Before using Data-Aware components, it is necessary to make a connection with 
a database, and this should be done either using a TSQLConnection or a TDbf 
component, depending on the type of database that is being used. In any case, 
the components for connection with the database need to be found in 
$Lazdir/components/sqldb/, $Lazdir/components/tdbf/ or whatever other source 
is appropriate. They need to be added using the <var>Components</var> Menu 
Item of the IDE, and compiled ready for adding. The IDE needs to be re-built 
to include the new components.
</p>
<p>
To make the connection with the database: first place a <var>DataBase</var> 
Connection on the Form (invisible at run-time, so put it anywhere 
convenient); set its properties to connect the user (with name and password) 
to the appropriate server, database and table (the connection component 
should deal with all the user-authentication issues, opening and closing the 
database etc). Then put on a <var>TDataSource</var> from the Data Access tab 
of the Component Palette, and perhaps items such as 
<var>TSQLTransaction</var> and <var>TSQLQuery</var>, depending on the 
particular database you are using. The various database components need to be 
linked to each other, for example by setting the <var>Transaction</var> 
property of a database connector to the appropriate transaction component, 
and linking the <var>DataBase</var> property of the Transaction component 
back to the database connector; link the DataSource's <var>DataSet</var> 
property to the appropriate SQLQuery or other set of data, and its 
Transaction property to the transaction component.
</p>
<p>
Each data-aware control (on the Data Controls tab of the Component Palette) 
has the usual set of properties to determine its shape and size, position, 
color and font, etc. But there are also special properties to define the data 
to be displayed or modified. These include the <var>DataSource</var> property 
which must be set to link to the defined set of data, and often a 
<var>Field</var> component to determine which of the columns in the database 
is to be displayed.
</p>
<p>
Most of the components operate on a single Row or record of the database, but 
the <var>TDBGrid</var> is capable of displaying and operating on multiple 
rows and columns, in a <var>StringGrid</var> format, allowing the user to get 
an overview of what is in the database. The DBGrid will display the contents 
of the DataSet even at design time, provided the various components are 
enabled or rendered active; this allows the designer to ensure that all the 
connections to the database have been correctly made.
</p>
<p>
The <var>TDBNavigator</var> component is used in conjunction with the 
Data-Aware components. It consists of a series of buttons to allow browsing 
through the DataSet, displaying the first, previous, next or last record (or 
Row), inserting or deleting records, committing the changes back to the 
database or refreshing the DataSet from the database.
</p>
<p>
The way database programming works is typically as follows:
</p>
<ul>
<li>
a database is opened for access by the user (Database Connection)
</li>
<li>
a command is issued (e.g. by <var>TSQLQuery</var>) to select or extract some 
or all of the records which are then stored locally in the <var>DataSet</var>
</li>
<li>
the contents of the <var>DataSet</var> are acted on by the Data-Aware 
components, displaying one Row or record at a time from selected Columns, or 
perhaps the whole DataSet in a <var>DBGrid</var>, editing records, inserting 
or deleting records, or using the data to perform statistical tests or 
calculations
</li>
<li>
at intervals usually prescribed by the user (sometimes after every change, 
sometimes after a whole series of changes), the contents of the local DataSet 
are sent back to the database, causing an update of the database's contents. 
This process is referred to as 'Commit' or 'Post' or sometimes as 'Update'
</li>
</ul>
<p>
The programmer can determine which events are associated with a Commit action 
by supplying suitable event handlers for <var>OnClick</var>, 
<var>OnChange</var>, <var>OnFinishedEdit</var> etc.
</p>
<p>
The following table shows the approximate correspondence between conventional 
and data-aware control classes:
</p>
<table>
<tr>
<td>Standard Control</td>
<td>Data-Aware Control</td>
<td>Comment</td>
</tr>
<tr>
<td>TCalendar</td>
<td>TDBCalendar</td>
<td>Select a date from pop-up calendar</td>
</tr>
<tr>
<td>TCheckBox</td>
<td>TDBCheckBox</td>
<td>Check a box to show an option has been selected</td>
</tr>
<tr>
<td>TComboBox</td>
<td>TDBComboBox</td>
<td>
Select an option from a list and return it (or some custom text) in the main 
edit box
</td>
</tr>
<tr>
<td>TEdit</td>
<td>TDBEdit</td>
<td>Single-line text editing box</td>
</tr>
<tr>
<td>TGroupBox</td>
<td>TDBGroupBox</td>
<td>A container for several related controls</td>
</tr>
<tr>
<td>TImage</td>
<td>TDBImage</td>
<td>A Picture</td>
</tr>
<tr>
<td>TListBox</td>
<td>TDBListBox</td>
<td>A list of string items</td>
</tr>
<tr>
<td>TMemo</td>
<td>TDBMemo</td>
<td>Multiple-line text editing box</td>
</tr>
<tr>
<td>TRadioGroup</td>
<td>TDBRadioGroup</td>
<td>
A group of mutually exclusive Radio Buttons; only one at a time may be 
checked and selected. Please note that there is no data-aware equivalent of 
the singular TRadioButton control.
</td>
</tr>
<tr>
<td>TText</td>
<td>TDBText</td>
<td>A simple text-string, usually read-only</td>
</tr>
<tr>
<td>TStringGrid</td>
<td>TDBGrid</td>
<td>A grid to display information in Rows and Columns</td>
</tr>
</table>
<p>
Standard controls can be used to display information from a database, but 
they lack the direct link with the DataSet and its navigation aids. The 
programmer must write explicit code to extract data from the DataSet and put 
it in the standard control.
</p>
</descr>
</topic>
</module>

<!-- DbCtrls -->
</package>
</fpdoc-descriptions>