Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Combobox alignment in commandbars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Combobox alignment in commandbars

 Post Reply Post Reply
Author
Message
Onur View Drop Down
Groupie
Groupie


Joined: 17 August 2005
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Onur Quote  Post ReplyReply Direct Link To This Post Topic: Combobox alignment in commandbars
    Posted: 01 June 2008 at 9:07am
Hi,

I figured out how to add a word-like combobox to the main popup menu in commandbars:


CommandBarComboBox CMB = (CommandBarComboBox)CommandBars.ActiveMenuBar.Controls.Add(XTPControlType.xtpControlComboBox, 98855, "Test", -1, false);


but don't know how to align the combobox so it appears on the right-most corner of the menu..

Any ideas?

thanks..
Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2
Language: Visual C# .NET
Back to Top
Onur View Drop Down
Groupie
Groupie


Joined: 17 August 2005
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Onur Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2008 at 9:40am
Nevermind..
Here is the simple solution : )

CMB.Flags = XTPControlFlags.xtpFlagRightAlign;

Product: Xtreme SuitePro (ActiveX) version 12.0.1
Platform: Windows XP (32bit) - SP 2
Language: Visual C# .NET
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.203 seconds.