Print Page | Close Window

Container Recent Documents

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=6307
Printed Date: 06 November 2025 at 3:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Container Recent Documents
Posted By: mav50202
Subject: Container Recent Documents
Date Posted: 02 February 2007 at 2:47pm
Hi, I had seen in the Ribbon Sample a container in the right side with the recent documents. And when you put over the print button appears a new menu in the same place.
But i dont find the code or command for insert this control.

Thank you for all



Replies:
Posted By: Oleg
Date Posted: 04 February 2007 at 1:51am
Hi,
 
See this code:
        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListCaption")
        Control.Caption = "Recent Documents"
        Control.BeginGroup = True
        .AddControl Control
      
        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListItem")
        Control.Caption = "frmMain.frm"
        .AddControl Control


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mav50202
Date Posted: 04 February 2007 at 2:36pm
Thank very much for your reply, but I use activex Suite pro and i think that this constant its only for toolkitpro ?? Its true or is valid for suite pro too? I dont find nothing in help document.

"CXTPRibbonControlSystemPopupBarListCaption"
"CXTPRibbonControlSystemPopupBarListItem"


Posted By: mav50202
Date Posted: 04 February 2007 at 3:04pm
Originally posted by mav50202 mav50202 wrote:

Thank very much for your reply, i did it. I got crazy because i couldnt find it.
Thank you again.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net