Print Page | Close Window

Blank/Null Items

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=1104
Printed Date: 23 November 2024 at 5:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Blank/Null Items
Posted By: ianp
Subject: Blank/Null Items
Date Posted: 25 August 2004 at 4:19am

Is there any way that PropertyGridItem's can be changed to allow for the value to appear blank?

For example if I add a PropertyItemString

   Set Item = Category.AddChildItem(PropertyItemString, "StringItem", "")
Then the propertygrid contains an item with no value (actually a zero length string)

For example if I add a PropertyItemDate

   Set Item = Category.AddChildItem(PropertyItemDate, "DateItem", "")
Then the propertygrid contains an item with the value "01/01/2004". If the value is deleted, it is automatically reset to "01/01/2004"

For example if I add a PropertyItemNumber

   Set Item = Category.AddChildItem(PropertyItemNumber, "NumberItem", "")
Then the propertygrid contains an item with the value "0". If the value is deleted, it is automatically reset to "0"

It would be a great help if this was possible as I would like my users to have the option of providing a date/number in the property grid.

 




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