Print Page | Close Window

Adding number to constraints list

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=11585
Printed Date: 22 November 2024 at 7:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding number to constraints list
Posted By: csunita
Subject: Adding number to constraints list
Date Posted: 25 July 2008 at 5:26pm
Hi,
 
I would like to add integers, not strings, in the combo box in Property Grid. So if I want to use the AddConstraint() method to add numbers to the list for a CXTPPropertyGridItemNumber, how would I do that?
 
Thanks.



Replies:
Posted By: mgampi
Date Posted: 28 July 2008 at 11:04am
Hi;
convert the numbers to strings first and then add them with AddContraint()...


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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