Print Page | Close Window

CListBox as part of a property grid

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=20456
Printed Date: 23 November 2024 at 6:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CListBox as part of a property grid
Posted By: SMaton
Subject: CListBox as part of a property grid
Date Posted: 19 December 2012 at 7:58am
Hello everyone,

We're currently reworking part of a larger dialog to use a property grid. One of the elements we need is a list of elements which is always visible within the property grid. Since the elements must be selectable, we need something similar to a CListBox as a grid item.

Has anyone done this before and if yes, what is the best approach to this? I didn't find any code examples for this in the Codejock examples.

Best regards,
Stefan



Replies:
Posted By: dleibold
Date Posted: 24 September 2013 at 11:13am
Should look at CXTPPropertyGridItemOption; it shows a selectable radio button list by default. Although not exactly like CListBox, it at least keeps the requirement to have all elements visible.

There should be Option item examples within the provided XTP sample projects (e.g. ... Samples\PropertyGrid\GridSample).




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