PropertyGridControl - restricting length of textt |
Post Reply |
Author | |
VatsalaR
Newbie Joined: 23 September 2010 Location: India Status: Offline Points: 4 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
VatsalaR
Newbie Joined: 23 September 2010 Location: India Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Unfortunately, this property is not supported in 9.81. Thanks At least, the document does not show it |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |