Print Page | Close Window

Blank Value in CXTPPropertyGridItemDouble

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=10467
Printed Date: 16 November 2024 at 3:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Blank Value in CXTPPropertyGridItemDouble
Posted By: hachem
Subject: Blank Value in CXTPPropertyGridItemDouble
Date Posted: 02 May 2008 at 8:09pm
How can I set a CXTPPropertyGridItemDouble to show a blank value?
 
I am using the property grid to display values in a database, and if a value is NULL in the database, I do not want to show a 0.0 in the grid, which is the default behavior.
 
I do have a similar issue with ReportControl too by the way.
 
Thanks.



Replies:
Posted By: mgampi
Date Posted: 03 May 2008 at 3:30pm
Hi;
the only possibility is to create your own grid item. The CXTPPropertyGridItemDate class shows how to extend the class to support NULL (empty) values).


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