Just in case someone else is interested, it was necessary to restart Lazarus, just clicking "Apply" was not sufficient but hex values were shown after restarting Lazarus.
That would be a bug.... (Confirmed)... More work
Now, I have another question: I noticed that there is a "Number" and "Number (2nd)" in General and also in Hints. Setting either one provided the display in Hex. My question is: what's the difference between setting it in "General" instead of "Hints" ?
Number (2nd) means that the number is displayed in both formats.
General is the base setting for all displays (hints, watches, locals, ...). It is used, if there is no other setting.
For Hints, it first checks the
- project settings: display format hints
- global settings: display format hints
- project settings: display format general
- global settings: display format general
For watches it will start in the watch properties, then go through a similar search.
Further more display formats can be controlled by "value formatters" too. Which will be checked first. (in the order from project, then global)