Print Page | Close Window

HOWTO:Add constraint at clearly defined position

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=12051
Printed Date: 27 September 2024 at 2:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO:Add constraint at clearly defined position
Posted By: mgampi
Subject: HOWTO:Add constraint at clearly defined position
Date Posted: 03 September 2008 at 5:55am
Hi;
Does anyone know how to add a constraint at a exact index position.
Something like GetConstraints()->InsertConstraint(nIndex)...


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

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: Oleg
Date Posted: 08 September 2008 at 4:16am
hi,
there is no method. You can only remove all constrains and rebuild them.


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


Posted By: mgampi
Date Posted: 08 September 2008 at 6:03am
It's a pity!
I'll put it into wish list


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

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: dleibold
Date Posted: 18 January 2013 at 9:47am
If an added constraint just needs to be listed in order, calling Sort() after AddConstraint() may be sufficient.



Posted By: mgampi
Date Posted: 16 April 2013 at 10:02am
Hi;

its not that easy. They're not sorted in an alphabetic order...


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

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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