KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Use SET MENU BAR to enable Copy and Paste in the New Query Editor
PRODUCT: 4D | VERSION: 14.x | PLATFORM: Mac & Win
Published On: December 14, 2017

When using the new query editor you may find that the Copy and Paste shotcuts are not working. This happens when the Edit menu is missing, which can happen if you do not call SET MENU BAR within the process that is displaying the query editor.

This may seem strange, especially if you are invoking the Query Editor from a dialog that already contains a menu bar. You may see that the menu bar switches from the Form's menu bar to an empty menu bar once the Query Editor is opened. The reason behind this behavior is that a menu bar assigned to a form via the Form's property list will only apply to that form, and not other forms opened by it.

In order to make sure that the Query Editor contains a menu bar, it is required to call the SET MENU BAR command and associate a valid menu bar with the process prior to calling the QUERY command.

See Also: