You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,13 +36,18 @@
36
36
37
37
## What's New
38
38
39
-
-02/23/2024 (Version 6.4)
39
+
-03/10/2024 (Version 6.5)
40
40
41
-
- Fixed included files path in Design packages (the files was referencing "Design" folder twice).
41
+
- New ButtonsFont property (and ButtonsFontColor when FMX).
42
+
- Fixed adjusting DPI when first display dialog in VCL.
42
43
43
44
<details>
44
45
<summary>Click here to view the entire changelog</summary>
45
46
47
+
- 02/23/2024 (Version 6.4)
48
+
49
+
- Fixed included files path in Design packages (the files was referencing "Design" folder twice).
50
+
46
51
- 02/22/2024 (Version 6.3)
47
52
48
53
- Fixed Lazarus Design Package compiling.
@@ -435,37 +440,41 @@ MsgInfo('This is a %p message number %p at time %p', ['test', 123, Now]);
435
440
436
441
## TDam properties
437
442
443
+
`ButtonsColor: TColor` = Define background color of buttons area on message dialog.
444
+
445
+
`ButtonsFont: TFont` = Defines the text font of dialog buttons
446
+
447
+
`ButtonsFontColor: TAlphaColor` = Defines the text font color of dialog buttons *(Only available in FMX environment)*
448
+
438
449
`CenterButtons: Boolean` = Define if the buttons at message form will be aligned at center. If this property is false, the buttons will be aligned at right of form.
439
450
440
451
`DamDefault: Boolean` = Defines if this TDam will be used to fire quick messages (please read Quick Messages section). You only can have one defined as Default in the application.
441
452
442
453
`DamUnitName: String` = Specify the unit name to be created with all message methods in the project folder. Do not specify file extension, because the component will complete the name automatically with ".pas" extension.
443
454
455
+
`DialogBorder: Boolean` = Defines if the window of message dialog will contain borders. You can disable this property to create modern dialog themes.
456
+
444
457
`DialogPosition: TDamDlgPosition` = Defines the dialog form start position:
445
458
- dpScreenCenter: center the window based on the screen
446
459
- dpMainFormCenter: center the window based on the main window
447
460
- dpActiveFormCenter: center the window based on the active window
448
461
449
-
`DialogBorder: Boolean` = Defines if the window of message dialog will contain borders. You can disable this property to create modern dialog themes.
450
-
451
462
`HandleExceptions: Boolean` = Defines this TDam to handle all application exceptions, showing the error message with the same dialog as all other Dam messages. Only one TDam can be set to handle exceptions in the application.
452
463
464
+
`HideIcon: Boolean` = If True, the icon on the message dialog will be suppressed.
465
+
453
466
`Images: TCustomImageList` = Allows you to set an ImageList, using tag `<img:idx>` in the message text, where `idx` is image index.
454
467
455
468
`Language: TDamLanguage` = Defines the language used by message buttons and message form title. *When you place an instance of TDam component, this property will be initialized according to the system current language. If there is no language available according to the system, English language will be set. This property has no default value, precisely because it should store the language being defined.*
456
469
470
+
`MessageColor: TColor` = Define background color of message area on message dialog.
471
+
457
472
`MessageFont: TFont` = Defines the text font of messages
458
473
459
474
`MessageFontColor: TAlphaColor` = Defines the text font color of messages *(Only available in FMX environment)*
460
475
461
476
`PlaySounds: Boolean` = Enable system sounds when showing messages of Warning, Question and Error kinds.
462
477
463
-
`MessageColor: TColor` = Define background color of message area on message dialog.
464
-
465
-
`ButtonsColor: TColor` = Define background color of buttons area on message dialog.
466
-
467
-
`HideIcon: Boolean` = If True, the icon on the message dialog will be suppressed.
468
-
469
478
## TDam events
470
479
471
480
`OnLinkClick(Sender: TObject; Msg: TDamMsg; const Target: string; var Handled: Boolean; var CloseMsg: Boolean; var MsgResult: TDamMsgRes)`
0 commit comments