Difference between revisions of "Lazarus 4.0 release notes"
From Free Pascal wiki
Jump to navigationJump to searchLine 29: | Line 29: | ||
** The emulated taskdialog has been moved to a new unit: TaskDlgEmulation. | ** The emulated taskdialog has been moved to a new unit: TaskDlgEmulation. | ||
** The unit LCLTaskDialog has been deprecated. | ** The unit LCLTaskDialog has been deprecated. | ||
− | * Remedy: if you use TTaskDialog from (now deprecated) unit LCLTaskDialog, use TTaskDialog from Dialogs unit instead. | + | ** Remedy: if you use TTaskDialog from (now deprecated) unit LCLTaskDialog, use TTaskDialog from Dialogs unit instead. |
+ | * Execute now passes the handle of the active form instead of 0. | ||
+ | ** Reason: it makes Execute honour the tfRelativeToWindow flag. | ||
+ | ** Remedy: if your code relied on passing 0 as the ParentWind parameter use Execute(0) instead. | ||
===Components incompatibility=== | ===Components incompatibility=== |
Revision as of 23:43, 29 July 2023
Lazarus 4.0 is not yet released. This page is under construction!
LCL Interfaces Changes
LCL Changes
IDE Changes
Compiler Options
- Added project compiler option for SubTarget
- Added compiler option Write config instead of command line parameters (@). See here
- Added predefined variable Laz_FullVersion to conditionals. See here
Debugger
- Alt + Left-Mouse Gutter click / Ctrl-Alt-F5: Add breakpoint (if not yet set) and ,pen properties of breakpoint.
IDE Interface Changes
Components
Changes affecting compatibility
LCL incompatibility
TTaskDialog
- The implementation of TTaskDialog has been refactored.
- Widgetset specific implementation has been moved to the widgetset.
- The emulated taskdialog has been moved to a new unit: TaskDlgEmulation.
- The unit LCLTaskDialog has been deprecated.
- Remedy: if you use TTaskDialog from (now deprecated) unit LCLTaskDialog, use TTaskDialog from Dialogs unit instead.
- Execute now passes the handle of the active form instead of 0.
- Reason: it makes Execute honour the tfRelativeToWindow flag.
- Remedy: if your code relied on passing 0 as the ParentWind parameter use Execute(0) instead.