Sign in Join
Wiki copytemporary

ATExtendedDialogs: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## About
22
33ATExtendedDialogs is a package of units with extended dialogs. Currently only font dialog in the ATFontDialog unit.
44
55Author: Alexey Torgashin
66
77License: dual licensed, MPL 2.0 / LPGL.
88
99## ATFontDialog
1010
1111ATFontDialog contains a form which mimics the good features from the GTK2/Win32 font dialogs. The form has many options (beginning with the Opt prefix so as not to mess up the existing LCL properties), you can see them in the demo program. Almost all dialog parts can be hidden (except the button panel).
1212
13-<figure>
14-<img src="ATFontDialog.png" title="ATFontDialog.png" />
15-<figcaption>ATFontDialog.png</figcaption>
16-</figure>
13+![](/wiki-images/5/5b/ATFontDialog.png)
1714
1815Mimics GTK2 feature: when user clicks font size bigger than about 20, preview panel height is increased (together with the form height).
1916
2017### Properties
2118
2219- OptFont: TFont - Chosen font.
2320- OptPreviewText: string - String to show in Preview panel.
2421- OptSizeMin: integer - Minimal size of font (if it's limited) for input field.
2522- OptSizeMax: integer - Maximal size of font (if it's limited).
2623- OptSizeLimited: boolean - Allow limit for font size.
2724- OptShowNames: boolean - Show listbox with font names.
2825- OptShowColor: boolean - Show color-box for font color.
2926- OptShowStyles: boolean - Show listbox with font basic styles (bold, italic).
3027- OptShowStylesEx: boolean - Show checkboxes for font extended styles (underline, crossed).
3128- OptShowSizes: boolean - Show listbox with font sizes.
3229- OptShowPreview: boolean - Show Preview panel.
3330- OptShowApply: boolean - Show Apply button.
3431- OptSelectName: boolean - Initially select font name in listbox of names.
3532- OptSelectStyle: boolean - Initially select font style in listbox of styles.
3633- OptSelectSize: boolean - Initially select font size in listbox of sizes.
3734- OptSelectColor: boolean - Initially select font color in color-box.
3835- OnClickApply: TNotifyEvent - Called on pressing Apply button.
3936
4037## Download
4138
4239GitHub: <https://github.com/Alexey-T/ATExtendedDialogs>
4340
4441---
4542*From the Free Pascal wiki, page "ATExtendedDialogs", as it stood on 2020-08-29 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).*
4643Category: Components
4744Category: Lazarus

Back to history