To stop it, turn down the volume.
It is not caused by fpc code, but it is an OS "feature" and such things should really not be "fixed".I supose you are on Windows? You give us very little information.
Sorry, I forgot to post my system specs. Please see the original (amended) post,
but to save your, no doubt, valuable time, I'll mention it again...
* Mac Mini M1 (silicon)
* macOS 14.6.1
* Lazarus 3.4
* FPC 3.2.2
As for your answer, did you mean that seriously?
I take it from the tone of your comment about the OS that you are not on Windows, either. I despise Windows as a product but I try to restrain myself from talking down to its users!
My form currently has a TListView which does not exhibit this "beeping" while the TLazVirtualTreeView component beeps like crazy in both my app and the "vst_minimal" example app. If it is an OS "feature" it must be a remarkably selective feature, or maybe there is something that only manifests itself in macOS, presumably due to insufficient testing.