Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Create new list caption on ribbon popup
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Create new list caption on ribbon popup

 Post Reply Post Reply
Author
Message
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Topic: Create new list caption on ribbon popup
    Posted: 14 June 2007 at 3:07am
Hi everyone,

1. is it possible to create multiple groups on the system popupbar using the class 'CXTPRibbonControlSystemPopupBarListCaption' so that it appears in a vertical sequence with previous items on popup?

on trying to add a this code, it creates a new listcaption but in a horizontal manner making the popup unrealistically big:

        Set Control = CommandBars.CreateCommandBarControl("CXTPRibbonControlSystemPopupBarListCaption")
        Control.Caption = "Other Documents"
        Control.BeginGroup = True
        .AddControl Control

i have tried using the label but it doesnt give me the same look(deep-grey and bold font) as a list caption.

Also i would like to add an icon to a list item. how do i do that?



2. lets say i have 3 items on a ribbon group. the first has a 32x32 icon and the other 2 have 16x16. how do i make the last two items to be horizontally centered on the given group?

kind regards,
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2007 at 7:22am
Originally posted by joeliner joeliner wrote:


i have tried using the label but it doesnt give me the same look(deep-grey and bold font) as a list caption.




Alas! this seem to work after i added the line:

Control.DefaultItem = True

thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.