Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - ComboBox Caption Positioning
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ComboBox Caption Positioning

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

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Topic: ComboBox Caption Positioning
    Posted: 07 November 2007 at 3:45pm
Hi,

I have a ribbon bar with a combo box on it.  I am trying to get the caption to display above the dropdown, as shown in the lower picture below, but all I have been able to obtain is variations on the upper part of the image. That is, the caption and/or icon always appear to the left of the combo box.  I've tried all the XTPButtonStyle values.  Is there some way to make the picture look like the second image?



Thanks,

--Mike

--Mike
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2007 at 1:10am
Hi,
Just add 2 controls - first xtpControlLabel and xtpControlComboBox.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
mrmathis View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 May 2007
Location: United States
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrmathis Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2007 at 10:19am
OK, I can do that.  How do I tell the controls how I want them arranged?

--Mike

--Mike
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2007 at 11:10am
Hi,
 
They  will be automatically aligned like in screen.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.