I get an error using OnGetAlignment
From Delphi Help file
"You are assigning a method to an event property even though they have incompatible parameter lists. Parameter lists are incompatible if the number of types of parameters are not identical. For a list of compatible methods in this form, see the dropdown list on the Object Inspector Events page."
Code works perfectly in D11, unchanged code fails i D12.
The error occoures when doubleclicking in the event OnGetAlignment.
How to solve this?