RibbonBar use of xtpControlCustom |
Post Reply |
Author | |
TShriver
Groupie Joined: 27 July 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
Posted: 09 March 2009 at 2:51pm |
Using the RibbonBar, I've added a xtpControlCustom item the DateTimePicker and it shows up in the RibbonBar until I click it. Then it shows up as a button.
Dim TabAdvanced As RibbonTab
Set TabAdvanced = RibbonBar.InsertTab(7, "&Advanced") TabAdvanced.Id = ID_TAB_ADVANCED Set ViewGroup = TabAdvanced.Groups.AddGroup("&Advanced Controls", ID_GROUP_ADVANCED) ViewGroup.ControlsCentering = True Dim ItemCustom As XtremeCommandBars.CommandBarControlCustom Set ItemCustom = ViewGroup.Add(xtpControlCustom, 777, "Time", False, False) Before Click:
After Click:
Any ideas on how to keep this visible as a control and not a caption???
Thanks,
Tim
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try to put control to PictureBox and attach PictureBox instead.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
TShriver
Groupie Joined: 27 July 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
|
Oleg, Once again, Thank you for your help. I had put the control in a picture box but had been referencing the control still. Upon refernce to the picture box, the control works in the ribbonBar.
Cheers!
Tim
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |