I was completely, unsuccessful as I always passed the name of the source group and the target page as the parameters. The method definition is this:
void __fastcall MoveGroup(const System::UnicodeString GroupName, const System::UnicodeString PageName);
I realized that the parameters should be the Caption (not the name) of the moving ribbon group and the target ribbon page. This way the method works charmingly :)
No comments:
Post a Comment