Closes the group currently open in a Ribbon control.
IF Length(EDT_InRibbon)>= 3 THEN
RibbonCloseGrouping()
END
Remarks
How groups work
In a Ribbon control, the small groups display an icon and an arrow used to open a popup that contains all the controls.
By default, this popup is closed:
- when the user clicks a button,
- when the user performs a selection in a Combo Box control.
To set a different action that closes the group (e.g., entering 3 characters), use RibbonCloseGrouping in the desired process.
Remark: If no popup is opened, RibbonCloseGrouping has no action and returns no error.