| 1 | 1 | | The **Dialogs tab** of the [[Component Palette]] contains all dialog-components. |
| 2 | 2 | | |
| 3 | | - | <figure> |
| 4 | | - | <img src="Component_Palette_Dialogs.png" title="Component_Palette_Dialogs.png" /> |
| 5 | | - | <figcaption>Component_Palette_Dialogs.png</figcaption> |
| 6 | | - | </figure> |
| 3 | + |  |
| 7 | 4 | | |
| 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="topendialog.png" title="topendialog.png" /> |
| 21 | | - | <figcaption>topendialog.png</figcaption> |
| 22 | | - | </figure></td> |
| 23 | | - | <td><p>[[TOpenDialog]]</p></td> |
| 24 | | - | <td><p>Dialog for selecting the name of a file for opening it</p></td> |
| 25 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/topendialog.html">Link</a></p></td> |
| 26 | | - | </tr> |
| 27 | | - | <tr> |
| 28 | | - | <td><figure> |
| 29 | | - | <img src="tsavedialog.png" title="tsavedialog.png" /> |
| 30 | | - | <figcaption>tsavedialog.png</figcaption> |
| 31 | | - | </figure></td> |
| 32 | | - | <td><p>[[TSaveDialog]]</p></td> |
| 33 | | - | <td><p>Dialog for selecting the name of a file for saveing it</p></td> |
| 34 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tsavedialog.html">Link</a></p></td> |
| 35 | | - | </tr> |
| 36 | | - | <tr> |
| 37 | | - | <td><figure> |
| 38 | | - | <img src="tselectdirectorydialog.png" title="tselectdirectorydialog.png" /> |
| 39 | | - | <figcaption>tselectdirectorydialog.png</figcaption> |
| 40 | | - | </figure></td> |
| 41 | | - | <td><p>[[TSelectDirectoryDialog]]</p></td> |
| 42 | | - | <td><p>Dialog for selecting a directory</p></td> |
| 43 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tselectdirectorydialog.html">Link</a></p></td> |
| 44 | | - | </tr> |
| 45 | | - | <tr> |
| 46 | | - | <td><figure> |
| 47 | | - | <img src="tcolordialog.png" title="tcolordialog.png" /> |
| 48 | | - | <figcaption>tcolordialog.png</figcaption> |
| 49 | | - | </figure></td> |
| 50 | | - | <td><p>[[TColorDialog]]</p></td> |
| 51 | | - | <td><p>Dialog for selecting a color</p></td> |
| 52 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcolordialog.html">Link</a></p></td> |
| 53 | | - | </tr> |
| 54 | | - | <tr> |
| 55 | | - | <td><figure> |
| 56 | | - | <img src="tfontdialog.png" title="tfontdialog.png" /> |
| 57 | | - | <figcaption>tfontdialog.png</figcaption> |
| 58 | | - | </figure></td> |
| 59 | | - | <td><p>[[TFontDialog]]</p></td> |
| 60 | | - | <td><p>Dialog for selecting a font</p></td> |
| 61 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tfontdialog.html">Link</a></p></td> |
| 62 | | - | </tr> |
| 63 | | - | <tr> |
| 64 | | - | <td><figure> |
| 65 | | - | <img src="tfinddialog.png" title="tfinddialog.png" /> |
| 66 | | - | <figcaption>tfinddialog.png</figcaption> |
| 67 | | - | </figure></td> |
| 68 | | - | <td><p>[[TFindDialog]]</p></td> |
| 69 | | - | <td><p>Dialog with parameters for finding a text</p></td> |
| 70 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tfinddialog.html">Link</a></p></td> |
| 71 | | - | </tr> |
| 72 | | - | <tr> |
| 73 | | - | <td><figure> |
| 74 | | - | <img src="treplacedialog.png" title="treplacedialog.png" /> |
| 75 | | - | <figcaption>treplacedialog.png</figcaption> |
| 76 | | - | </figure></td> |
| 77 | | - | <td><p>[[TReplaceDialog]]</p></td> |
| 78 | | - | <td><p>Dialog with parameters for replacing text</p></td> |
| 79 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/treplacedialog.html">Link</a></p></td> |
| 80 | | - | </tr> |
| 81 | | - | <tr> |
| 82 | | - | <td><figure> |
| 83 | | - | <img src="ttaskdialogicon.png" title="ttaskdialogicon.png" /> |
| 84 | | - | <figcaption>ttaskdialogicon.png</figcaption> |
| 85 | | - | </figure></td> |
| 86 | | - | <td><p>[[TTaskDialog]]</p></td> |
| 87 | | - | <td><p>very flexible message box allowing to add various levels of text, additional buttons, as well as radiobuttons.</p></td> |
| 88 | | - | <td><p>| <a href="https://lazarus-ccr.sourceforge.io/docs/lcl/dialogs/ttaskdialog.html">Link</a></p></td> |
| 89 | | - | </tr> |
| 90 | | - | <tr> |
| 91 | | - | <td><figure> |
| 92 | | - | <img src="topenpicturedialog.png" title="topenpicturedialog.png" /> |
| 93 | | - | <figcaption>topenpicturedialog.png</figcaption> |
| 94 | | - | </figure></td> |
| 95 | | - | <td><p>[[TOpenPictureDialog]]</p></td> |
| 96 | | - | <td><p>Dialog for selecting the name of a picture file for opening it</p></td> |
| 97 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/topenpicturedialog.html">Link</a></p></td> |
| 98 | | - | </tr> |
| 99 | | - | <tr> |
| 100 | | - | <td><figure> |
| 101 | | - | <img src="tsavepicturedialog.png" title="tsavepicturedialog.png" /> |
| 102 | | - | <figcaption>tsavepicturedialog.png</figcaption> |
| 103 | | - | </figure></td> |
| 104 | | - | <td><p>[[TSavePictureDialog]]</p></td> |
| 105 | | - | <td><p>Dialog for selecting the name of a picture file for saving it</p></td> |
| 106 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/tsavepicturedialog.html">Link</a></p></td> |
| 107 | | - | </tr> |
| 108 | | - | <tr> |
| 109 | | - | <td><figure> |
| 110 | | - | <img src="tcalendardialog.png" title="tcalendardialog.png" /> |
| 111 | | - | <figcaption>tcalendardialog.png</figcaption> |
| 112 | | - | </figure></td> |
| 113 | | - | <td><p>[[TCalendarDialog]]</p></td> |
| 114 | | - | <td><p>Dialog for selecting a date</p></td> |
| 115 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/tcalendardialog.html">Link</a></p></td> |
| 116 | | - | </tr> |
| 117 | | - | <tr> |
| 118 | | - | <td><figure> |
| 119 | | - | <img src="tcalculatordialog.png" title="tcalculatordialog.png" /> |
| 120 | | - | <figcaption>tcalculatordialog.png</figcaption> |
| 121 | | - | </figure></td> |
| 122 | | - | <td><p>[[TCalculatorDialog]]</p></td> |
| 123 | | - | <td><p>Dialog showing a pocket calculator</p></td> |
| 124 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/tcalculatordialog.html">Link</a></p></td> |
| 125 | | - | </tr> |
| 126 | | - | <tr> |
| 127 | | - | <td><figure> |
| 128 | | - | <img src="tprintersetupdialog.png" title="tprintersetupdialog.png" /> |
| 129 | | - | <figcaption>tprintersetupdialog.png</figcaption> |
| 130 | | - | </figure></td> |
| 131 | | - | <td><p>[[TPrinterSetupDialog]]</p></td> |
| 132 | | - | <td><p>Printer setup dialog</p></td> |
| 133 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcustomprintersetupdialog.html">Link</a></p></td> |
| 134 | | - | </tr> |
| 135 | | - | <tr> |
| 136 | | - | <td><figure> |
| 137 | | - | <img src="tprintdialog.png" title="tprintdialog.png" /> |
| 138 | | - | <figcaption>tprintdialog.png</figcaption> |
| 139 | | - | </figure></td> |
| 140 | | - | <td><p>[[TPrintDialog]]</p></td> |
| 141 | | - | <td><p>Print dialog (select printer, pages etc).</p></td> |
| 142 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcustomprintdialog.html">Link</a></p></td> |
| 143 | | - | </tr> |
| 144 | | - | <tr> |
| 145 | | - | <td><figure> |
| 146 | | - | <img src="tpagesetupdialog.png" title="tpagesetupdialog.png" /> |
| 147 | | - | <figcaption>tpagesetupdialog.png</figcaption> |
| 148 | | - | </figure></td> |
| 149 | | - | <td><p>[[TPageSetupDialog]]</p></td> |
| 150 | | - | <td><p>Dialog for setting up a printer page</p></td> |
| 151 | | - | <td><p>| <a href="http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcustomprintersetupdialog.html">Link</a></p></td> |
| 152 | | - | </tr> |
| 153 | | - | </tbody> |
| 154 | | - | </table> |
| 5 | + | | Icon | Component | Description | Online Docs | |
| 6 | + | |----|----|----|----| |
| 7 | + | |  | [[TOpenDialog]] | Dialog for selecting the name of a file for opening it | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/topendialog.html) | |
| 8 | + | |  | [[TSaveDialog]] | Dialog for selecting the name of a file for saveing it | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tsavedialog.html) | |
| 9 | + | |  | [[TSelectDirectoryDialog]] | Dialog for selecting a directory | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tselectdirectorydialog.html) | |
| 10 | + | |  | [[TColorDialog]] | Dialog for selecting a color | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcolordialog.html) | |
| 11 | + | |  | [[TFontDialog]] | Dialog for selecting a font | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tfontdialog.html) | |
| 12 | + | |  | [[TFindDialog]] | Dialog with parameters for finding a text | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tfinddialog.html) | |
| 13 | + | |  | [[TReplaceDialog]] | Dialog with parameters for replacing text | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/treplacedialog.html) | |
| 14 | + | |  | [[TTaskDialog]] | very flexible message box allowing to add various levels of text, additional buttons, as well as radiobuttons. | \| [Link](https://lazarus-ccr.sourceforge.io/docs/lcl/dialogs/ttaskdialog.html) | |
| 15 | + | |  | [[TOpenPictureDialog]] | Dialog for selecting the name of a picture file for opening it | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/topenpicturedialog.html) | |
| 16 | + | |  | [[TSavePictureDialog]] | Dialog for selecting the name of a picture file for saving it | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/tsavepicturedialog.html) | |
| 17 | + | |  | [[TCalendarDialog]] | Dialog for selecting a date | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/tcalendardialog.html) | |
| 18 | + | |  | [[TCalculatorDialog]] | Dialog showing a pocket calculator | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/extdlgs/tcalculatordialog.html) | |
| 19 | + | |  | [[TPrinterSetupDialog]] | Printer setup dialog | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcustomprintersetupdialog.html) | |
| 20 | + | |  | [[TPrintDialog]] | Print dialog (select printer, pages etc). | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcustomprintdialog.html) | |
| 21 | + | |  | [[TPageSetupDialog]] | Dialog for setting up a printer page | \| [Link](http://lazarus-ccr.sourceforge.net/docs/lcl/dialogs/tcustomprintersetupdialog.html) | |
| 155 | 22 | | |
| 156 | 23 | | Note: TPrinterSetupDialog, TPrintDialog and TPageSetupDialog only appear if the Printer4Lazarus package is also installed. To install, go to Package \> Install/Uninstall Packages... menu. |
| 157 | 24 | | |
| 158 | 25 | | ## See also |
| 159 | 26 | | |
| 160 | 27 | | - [[doc:lcl/dialogs/index-4.html|Dialogs unit doc]] |
| 161 | 28 | | |
| 162 | 29 | | --- |
| 163 | 30 | | *From the Free Pascal wiki, page "Dialogs tab", as it stood on 2020-08-04 after a change by Trev, 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).* |