-
Notifications
You must be signed in to change notification settings - Fork 258
Breaking Changes in V8
Joachim Marder edited this page Mar 16, 2024
·
2 revisions
These breaking changes are a result of pull request #1041:
- Simple types, enums and constants have been extracted to the unit
VirtualTrees.Types
. In case you get a compiler errorundeclared identifier
, it is usually sufficient to add the unitVirtualTrees.Types
to the uses clause. This breaking change will be frequently encountered. For enum you can also turn them into scoped enums. - The property
TVTHeader.Treeview
is now of typeTCustomControl
, you need to cast it e.g. likeTVirtualStringTree(Header.TreeView)
in case you get anundeclared identifier
compiler error in this context. - The control
TVirtualDrawTree
has been extracted to its own unitVirtualTrees.DrawTree
. In case you get a compiler errorundeclared identifier TVirtualDrawTree
add the unitVirtualTrees.DrawTree
to the uses clause in the interface section. -
TVTHeaderAddPopupItemEvent
sender parameter changed toTObject
(due to circular references). -
TVTHeaderPopup
:TColumnChangeEvent
Sender
parameter changed toTObject
.
There are a few other breaking changes:
-
tsUpdating
has been removed from, Use functionIsUpdating()
instead. See issue #1015. - The property
DropTargetHelperSupported
and its getter have been removed from theIVTDragManager
interface, see issue #1138. - The flag
TVTAutoOption.toAutoChangeScale
no longer controls if dpi-scaling takes places, this now happens automatically like in all other VCL controls. If this flag is set, the default node height and the header height are automatically scaled according to the used font. So far, the height was only increased to a minimum width so that the text is not cut off. But the height was never scaled down if the control was moved to a monitor with a smaller scaling. This now happens. See issue #1206. - The property
LineStyle
now applies to the tree lines only and is accordingly documented. This fixes issues with VCL theming when drawing grid lines. See issue #1202. - The official support for RAD Studio XE3 - XE8 has been dropped #1169. Users of these versions of RAD Studio should stay with V7.x.
- The official support for Windows classic mode has been dropped #1173.