Create a new Firemonkey C++ Builder application for MacOS
add a StringGrid
add a Popup menu
add some menu items
connect the pop-up menu with the string grid.
Run the app on MacOS 10.12.6 and the pop-up menu will appear normally when right-clicking on the StringGrid, but on MacOS High Sierra 10.13 it will disappear immediately after showing.