Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - PropertyGridControl - restricting length of textt
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PropertyGridControl - restricting length of textt

 Post Reply Post Reply
Author
Message
VatsalaR View Drop Down
Newbie
Newbie


Joined: 23 September 2010
Location: India
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote VatsalaR Quote  Post ReplyReply Direct Link To This Post Topic: PropertyGridControl - restricting length of textt
    Posted: 23 September 2010 at 9:31am
Hi,

I load items dynamically into a property grid control and I want to be able to set the maximum length of text that can be entered for a particular item

Someone knows how to do this?

I am using 9.81 version of codejock

Thanks,
Vatsala
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2010 at 12:22am
Hi,
 
I don't know if this property has been implemented in your version...
 
For example, when adding item to PropertyGrid
 
Set Item = Category.AddChildItem PropertyItemString, "Greeting Text", "Some text...."
      Item.ValueMetrics.MaxLength = 255
 
or
 
Me.wndPropertyGrid.FindItem(ID_OF_ITEM).ValueMetrics.MaxLength = 255
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
VatsalaR View Drop Down
Newbie
Newbie


Joined: 23 September 2010
Location: India
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote VatsalaR Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2010 at 1:12am

Unfortunately, this property is not supported in 9.81. Thanks

At least, the document does not show it Cry
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.188 seconds.