Lazarus 5.0 release notes

From Lazarus wiki
Jump to navigationJump to search

Lazarus 5.0 is not yet released. This page is under construction!

Release

LCL Changes

TToolBar

  • Added property "Menu: TMainMenu"
Display the contents of a main menu on the Toolbar

IDE Changes

Changes affecting compatibility

LCL incompatibility

LazControls incompatibility

TTreeFilterEdit

  • The "Item" property of class TTreeFilterBranch has been changed
    • Old: property Items: TStringList
    • New: property Items: TStrings
TTreeFilterBranch = class
  public
    property Items: TStrings ...;
    • TStringList exposed properties that - if changed - would have affected the correct operations of TTreeFilterBranch.
    • If any code relied on properties not present in TStrings, then it should use a TStringlist of its own, and assign the results, once completely prepared.
    • It is not possible to cast the "Items" property as "TStringList(FilterBranch.Items)". The underlying implementation does not use a Stringlist. Such a type-cast will crash.

Other release notes