Print Page | Close Window

Remove expand/collapse box for user

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=15321
Printed Date: 22 November 2024 at 12:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Remove expand/collapse box for user
Posted By: Albertb
Subject: Remove expand/collapse box for user
Date Posted: 08 October 2009 at 6:57am
I have a property grid where the visibility, (ie SetHidden(TRUE/FALSE) ),  of child items is to be offered according to ticking a boolean parent.  The basic functionality of this is no problem.

However, the grid is large and complex so I would like to remove the ability to expand the branch by clicking on the parent's expand/collapse box.  In this way I can limit the amount of info on display at any one time to a managable proportion by preventing the user from opening branches which are not currently active.

Is it possible to remove this box and leave just the item, with its checkbox, and its childs, Hidden or not according to the checkbox?

(I should add that I am very new to Property Grids, so this may very well be a no-brainer.  If so apologies in advance.)


-------------
Xtreme Toolkit Pro 2007
Win 32
Visual C++



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