This revisits something I asked a few years ago (without response), as a direct followon to
https://forum.lazarus.freepascal.org/index.php/topic,68030.msg524940.html#msg524940 where @cdbc demonstrates how to close a frame by posting a message.
If a menu has an item which controls whether additional detailed items are displayed, could something similar be used to immediately redisplay the menu, i.e. make it look as though it didn't disappear after the item was clicked?
Two screenshot images appended in explanation (edited to make both appear correctly).
Context: this is from an emulator for an IBM 2741 electromechanical terminal, basically a Selectric on steroids. I added the potential for not just multiple type elements ("golfballs") and keyboards, but different line encodings including 5-bit for RTTY etc. It ended up being very useful indeed, but I've never made the source public since it used the original linkage codes internally which made it hellaceously difficult to maintain particularly when cut-and-pasting terminal output (Unicode) back to the line.
MarkMLl