Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - Blank/Null Items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Blank/Null Items

 Post Reply Post Reply
Author
Message
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Topic: Blank/Null Items
    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.

 

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.172 seconds.