Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - Blank Value in CXTPPropertyGridItemDouble
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Blank Value in CXTPPropertyGridItemDouble

 Post Reply Post Reply
Author
Message
hachem View Drop Down
Groupie
Groupie


Joined: 02 May 2008
Location: United States
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote hachem Quote  Post ReplyReply Direct Link To This Post Topic: Blank Value in CXTPPropertyGridItemDouble
    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.
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.