Print Page | Close Window

Margins / Gap Between Controls

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=7427
Printed Date: 03 March 2025 at 1:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Margins / Gap Between Controls
Posted By: Simon HB9DRV
Subject: Margins / Gap Between Controls
Date Posted: 22 June 2007 at 6:50am
 
In the above, how do I get a 5 pixel gap between the first button (normal toolbar button) and the combobox (text is COM1).
 
The combobox is of class CXTPControlComboBox. I can't find any member functions anywhere to help with this.


-------------
Simon HB9DRV



Replies:
Posted By: Oleg
Date Posted: 22 June 2007 at 1:29pm
Hi.
You can show caption for combo and set some spaces for it. pCombo->SetCaption("   ");


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 22 June 2007 at 1:37pm
Originally posted by oleg oleg wrote:

Hi.
You can show caption for combo and set some spaces for it. pCombo->SetCaption("   ");
 
Great - thanks.


-------------
Simon HB9DRV



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net