Hi.
You can do that by exporting the ribbon to xml or json, then change the specific property and import it again.
In the above example, in the open event of my frame, I did:
string ls_xmlfile = "C:\tmpxml\1.xml"
mdirbb_1.exportfromxmlfile(ls_xmlfile)
// uf_modifyxlm -> will modify my xml.
ls_xmlfile = uf_modifyxlm(ls_xmlfile)
mdirbb_1.importfromxmlfile(ls_xmlfile)
You should only modify Text="SheetList" to Text="<Whatever you want>". You should not touch the tag value!
Don't know if there is an easier way to go.
Andreas.