By default, each MDI/MDIHelp window automatically defines an mdirbb_1 object in the window's source code (similar to how mdi_1 and mditbb_1 are defined).
This mdirbb_1 object inherits from the RibbonBar object.
For example, in the MDI window called w_mdi, the definition for the mdirbb_1 object on this window is as follows:
When DisplayMenuAsRibbonBar is enabled, the mdirbb_1 object is automatically displayed at the upper part of the MDI frame window at runtime. This object is invisible in the design time within the IDE and only becomes visible when the application is running.
And it is bound to and contained inside the MDI frame; it is placed at a fixed location, always at the uppermost part of the MDI frame.