Print Page | Close Window

Control Borders / Margins

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=6718
Printed Date: 03 March 2025 at 7:32pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Control Borders / Margins
Posted By: Simon HB9DRV
Subject: Control Borders / Margins
Date Posted: 23 March 2007 at 9:59am
How do I add a gap of about 5 pixels between the Find button and the CXTPControlEdit (where I have typed the text Simon)?
 


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



Replies:
Posted By: Barto
Date Posted: 24 March 2007 at 8:37am
I'm not sure if CXTPControlEdit supports this, but CXTPControlCustom does:
 
  CXTPControlCustom* pControl = CXTPControlCustom::CreateControlCustom(m_pScript);
  pControl->SetBorders(2, 0, 0, 0);


Posted By: Simon HB9DRV
Date Posted: 24 March 2007 at 9:48am
Originally posted by Barto Barto wrote:

I'm not sure if CXTPControlEdit supports this, but CXTPControlCustom does:
 
  CXTPControlCustom* pControl = CXTPControlCustom::CreateControlCustom(m_pScript);
  pControl->SetBorders(2, 0, 0, 0);
Agreed, but I don't know how to enginneer this :-(

However it's really not essential, just beautification :-)


-------------
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