Menu bar creation IDE vs. dynamically in code

Are there any disadvantages creating the menu bar dynamically in code instead of designing it in the IDE?
Are there any functionalities which can not be achieved via code?

by default Xojo generates methods to access menu entries directly.

So stuff like

FileOpen.enabled = true

won’t work for your own defined menu entries.