![]() |
CXTPCombobox resize |
Post Reply
|
| Author | |
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPCombobox resizePosted: 09 November 2005 at 4:07am |
|
Hi, In my app, I set the combobox width to 400, it works well when the combobox has enough space. But when I make the app window smaller, the combobox just disappears. Is there a way to let the combobox resize itself upon the toolbar's size is changed? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 November 2005 at 7:56am |
|
Try xtpFlagControlStretched flag for ComboBox and xtpFlagStretchedShared for ToolBar. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 November 2005 at 7:33pm |
|
Thanks. Then how to set the initial width and the minimum size? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 November 2005 at 3:14am |
|
Hi, Minimum Size will be your initial SetWidth() call. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |