| 1 | 1 | | The **Data controls tab** of the [[Component Palette]] contains database-related control components. |
| 2 | 2 | | |
| 3 | | - | <figure> |
| 4 | | - | <img src="Component_Palette_Data_Controls.png" title="Component_Palette_Data_Controls.png" /> |
| 5 | | - | <figcaption>Component_Palette_Data_Controls.png</figcaption> |
| 6 | | - | </figure> |
| 7 | | - | |
| 8 | | - | <table> |
| 9 | | - | <thead> |
| 10 | | - | <tr> |
| 11 | | - | <th><p>Icon</p></th> |
| 12 | | - | <th><p>Component</p></th> |
| 13 | | - | <th><p>Description</p></th> |
| 14 | | - | <th><p>Online Docs</p></th> |
| 15 | | - | </tr> |
| 16 | | - | </thead> |
| 17 | | - | <tbody> |
| 18 | | - | <tr> |
| 19 | | - | <td><figure> |
| 20 | | - | <img src="tdbnavigator.png" title="tdbnavigator.png" /> |
| 21 | | - | <figcaption>tdbnavigator.png</figcaption> |
| 22 | | - | </figure></td> |
| 23 | | - | <td><p>[[TDBNavigator]]</p></td> |
| 24 | | - | <td><p>navigation control for use with a connected database</p></td> |
| 25 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbnavigator.html">Link</a></p></td> |
| 26 | | - | </tr> |
| 27 | | - | <tr> |
| 28 | | - | <td><figure> |
| 29 | | - | <img src="tdbtext.png" title="tdbtext.png" /> |
| 30 | | - | <figcaption>tdbtext.png</figcaption> |
| 31 | | - | </figure></td> |
| 32 | | - | <td><p>[[TDBText]]</p></td> |
| 33 | | - | <td><p>text contents for a [[TDataSet]] field value, not editable</p></td> |
| 34 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbtext.html">Link</a></p></td> |
| 35 | | - | </tr> |
| 36 | | - | <tr> |
| 37 | | - | <td><figure> |
| 38 | | - | <img src="tdbedit.png" title="tdbedit.png" /> |
| 39 | | - | <figcaption>tdbedit.png</figcaption> |
| 40 | | - | </figure></td> |
| 41 | | - | <td><p>[[TDBEdit]]</p></td> |
| 42 | | - | <td><p>single-line edit control for a [[TDataSet]] field value</p></td> |
| 43 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbedit.html">Link</a></p></td> |
| 44 | | - | </tr> |
| 45 | | - | <tr> |
| 46 | | - | <td><figure> |
| 47 | | - | <img src="tdbmemo.png" title="tdbmemo.png" /> |
| 48 | | - | <figcaption>tdbmemo.png</figcaption> |
| 49 | | - | </figure></td> |
| 50 | | - | <td><p>[[TDBMemo]]</p></td> |
| 51 | | - | <td><p>multi-line edit control for a [[TDataSet]] field value</p></td> |
| 52 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbmemo.html">Link</a></p></td> |
| 53 | | - | </tr> |
| 54 | | - | <tr> |
| 55 | | - | <td><figure> |
| 56 | | - | <img src="tdbimage.png" title="tdbimage.png" /> |
| 57 | | - | <figcaption>tdbimage.png</figcaption> |
| 58 | | - | </figure></td> |
| 59 | | - | <td><p>[[TDBImage]]</p></td> |
| 60 | | - | <td><p>image stored in a field of a [[TDataSet]]</p></td> |
| 61 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbimage.html">Link</a></p></td> |
| 62 | | - | </tr> |
| 63 | | - | <tr> |
| 64 | | - | <td><figure> |
| 65 | | - | <img src="tdblistbox.png" title="tdblistbox.png" /> |
| 66 | | - | <figcaption>tdblistbox.png</figcaption> |
| 67 | | - | </figure></td> |
| 68 | | - | <td><p>[[TDBListBox]]</p></td> |
| 69 | | - | <td><p>list with several string items, the selected item corresponds to a [[TDataSet]] field</p></td> |
| 70 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdblistbox.html">Link</a></p></td> |
| 71 | | - | </tr> |
| 72 | | - | <tr> |
| 73 | | - | <td><figure> |
| 74 | | - | <img src="tdblookuplistbox.png" title="tdblookuplistbox.png" /> |
| 75 | | - | <figcaption>tdblookuplistbox.png</figcaption> |
| 76 | | - | </figure></td> |
| 77 | | - | <td><p>[[TDBLookupListBox]]</p></td> |
| 78 | | - | <td><p>similar to [[TDBListBox]], but the string items are taken from a lookup [[TDataSet]]</p></td> |
| 79 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdblookuplistbox.html">Link</a></p></td> |
| 80 | | - | </tr> |
| 81 | | - | <tr> |
| 82 | | - | <td><figure> |
| 83 | | - | <img src="tdbcombobox.png" title="tdbcombobox.png" /> |
| 84 | | - | <figcaption>tdbcombobox.png</figcaption> |
| 85 | | - | </figure></td> |
| 86 | | - | <td><p>[[TDBComboBox]]</p></td> |
| 87 | | - | <td><p>dropdown list with several options, the selected item corresponds to a [[TDataSet]].</p></td> |
| 88 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbcombobox.html">Link</a></p></td> |
| 89 | | - | </tr> |
| 90 | | - | <tr> |
| 91 | | - | <td><figure> |
| 92 | | - | <img src="tdblookupcombobox.png" title="tdblookupcombobox.png" /> |
| 93 | | - | <figcaption>tdblookupcombobox.png</figcaption> |
| 94 | | - | </figure></td> |
| 95 | | - | <td><p>[[TDBLookupComboBox]]</p></td> |
| 96 | | - | <td><p>similar to [[TDBComboBox]], but the string items are taken from a lookup [[TDataSet]]</p></td> |
| 97 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdblookupcombobox.html">Link</a></p></td> |
| 98 | | - | </tr> |
| 99 | | - | <tr> |
| 100 | | - | <td><figure> |
| 101 | | - | <img src="tdbcheckbox.png" title="tdbcheckbox.png" /> |
| 102 | | - | <figcaption>tdbcheckbox.png</figcaption> |
| 103 | | - | </figure></td> |
| 104 | | - | <td><p>[[TDBCheckBox]]</p></td> |
| 105 | | - | <td><p>checkbox corresponding with a [[TDataSet]] field value</p></td> |
| 106 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbcheckbox.html">Link</a></p></td> |
| 107 | | - | </tr> |
| 108 | | - | <tr> |
| 109 | | - | <td><figure> |
| 110 | | - | <img src="tdbradiogroup.png" title="tdbradiogroup.png" /> |
| 111 | | - | <figcaption>tdbradiogroup.png</figcaption> |
| 112 | | - | </figure></td> |
| 113 | | - | <td><p>[[TDBRadioGroup]]</p></td> |
| 114 | | - | <td><p>group of [[TRadioButton|TRadioButtons]], the selected index corresponds to a [[TDataSet]] field.</p></td> |
| 115 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbradiogroup.html">Link</a></p></td> |
| 116 | | - | </tr> |
| 117 | | - | <tr> |
| 118 | | - | <td><figure> |
| 119 | | - | <img src="tdbcalendar.png" title="tdbcalendar.png" /> |
| 120 | | - | <figcaption>tdbcalendar.png</figcaption> |
| 121 | | - | </figure></td> |
| 122 | | - | <td><p>[[TDBCalendar]]</p></td> |
| 123 | | - | <td><p>date from the [[TDataSet]] displayed in a month calendar</p></td> |
| 124 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbcalendar.html">Link</a></p></td> |
| 125 | | - | </tr> |
| 126 | | - | <tr> |
| 127 | | - | <td><figure> |
| 128 | | - | <img src="tdbgroupbox.png" title="tdbgroupbox.png" /> |
| 129 | | - | <figcaption>tdbgroupbox.png</figcaption> |
| 130 | | - | </figure></td> |
| 131 | | - | <td><p>[[TDBGroupBox]]</p></td> |
| 132 | | - | <td><p>container for other controls. Data field information is displayed in header of the box.</p></td> |
| 133 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbgroupbox.html">Link</a></p></td> |
| 134 | | - | </tr> |
| 135 | | - | <tr> |
| 136 | | - | <td><figure> |
| 137 | | - | <img src="tdbgrid.png" title="tdbgrid.png" /> |
| 138 | | - | <figcaption>tdbgrid.png</figcaption> |
| 139 | | - | </figure></td> |
| 140 | | - | <td><p>[[TDBGrid]]</p></td> |
| 141 | | - | <td><p>grid displaying fields of several records of s [[TDataSet]]</p></td> |
| 142 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dbgrids/tdbgrid.html">Link</a></p></td> |
| 143 | | - | </tr> |
| 144 | | - | <tr> |
| 145 | | - | <td><figure> |
| 146 | | - | <img src="tdbdatetimepicker.png" title="tdbdatetimepicker.png" /> |
| 147 | | - | <figcaption>tdbdatetimepicker.png</figcaption> |
| 148 | | - | </figure></td> |
| 149 | | - | <td><p>[[TDBDateTimePicker]]</p></td> |
| 150 | | - | <td><p>date/time value editor for a [[TDataSet]] field</p></td> |
| 151 | | - | <td><p>| (no LCL control)</p></td> |
| 152 | | - | </tr> |
| 153 | | - | </tbody> |
| 154 | | - | </table> |
| 3 | + |  |
| 155 | 4 | | |
| 156 | | - | \ |
| 5 | + | | Icon | Component | Description | Online Docs | |
| 6 | + | |----|----|----|----| |
| 7 | + | |  | [[TDBNavigator]] | navigation control for use with a connected database | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbnavigator.html) | |
| 8 | + | |  | [[TDBText]] | text contents for a [[TDataSet]] field value, not editable | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbtext.html) | |
| 9 | + | |  | [[TDBEdit]] | single-line edit control for a [[TDataSet]] field value | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbedit.html) | |
| 10 | + | |  | [[TDBMemo]] | multi-line edit control for a [[TDataSet]] field value | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbmemo.html) | |
| 11 | + | |  | [[TDBImage]] | image stored in a field of a [[TDataSet]] | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbimage.html) | |
| 12 | + | |  | [[TDBListBox]] | list with several string items, the selected item corresponds to a [[TDataSet]] field | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdblistbox.html) | |
| 13 | + | |  | [[TDBLookupListBox]] | similar to [[TDBListBox]], but the string items are taken from a lookup [[TDataSet]] | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdblookuplistbox.html) | |
| 14 | + | |  | [[TDBComboBox]] | dropdown list with several options, the selected item corresponds to a [[TDataSet]]. | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbcombobox.html) | |
| 15 | + | |  | [[TDBLookupComboBox]] | similar to [[TDBComboBox]], but the string items are taken from a lookup [[TDataSet]] | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdblookupcombobox.html) | |
| 16 | + | |  | [[TDBCheckBox]] | checkbox corresponding with a [[TDataSet]] field value | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbcheckbox.html) | |
| 17 | + | |  | [[TDBRadioGroup]] | group of [[TRadioButton|TRadioButtons]], the selected index corresponds to a [[TDataSet]] field. | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbradiogroup.html) | |
| 18 | + | |  | [[TDBCalendar]] | date from the [[TDataSet]] displayed in a month calendar | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbcalendar.html) | |
| 19 | + | |  | [[TDBGroupBox]] | container for other controls. Data field information is displayed in header of the box. | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbctrls/tdbgroupbox.html) | |
| 20 | + | |  | [[TDBGrid]] | grid displaying fields of several records of s [[TDataSet]] | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dbgrids/tdbgrid.html) | |
| 21 | + | |  | [[TDBDateTimePicker]] | date/time value editor for a [[TDataSet]] field | \| (no LCL control) | |
| 157 | 22 | | |
| 158 | 23 | | --- |
| 159 | 24 | | *From the Free Pascal wiki, page "Data Controls tab", as it stood on 2018-09-09 after a change by Wp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
| 160 | 25 | | Category: Component Palette |