PropertyItemEnum Alphanumeric Values |
Post Reply |
Author | |
isma
Newbie Joined: 15 January 2009 Location: Spain Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 15 January 2009 at 10:19am |
hello.
I would like to construc a itemEnum with alphanumeric values like language sample???
Is possible?
Thanks in advance.
Category.AddChildItem(PropertyItemType.PropertyItemEnum, "Language")
Item.Constraints.Add("Neutral", "N")
Item.Constraints.Add("Arabic", "A")
Item.Constraints.Add("German", "G")
Item.Constraints.Add("Chinese(Taiwan)", "C")
Item.Constraints.Add("English (United States)", "E")
Item.Constraints.Add("France", "F")
Item.Constraints.Add("Russian", "R")
Item.Value = "F"
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
No :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
nighthawk
Senior Member Joined: 11 June 2004 Status: Offline Points: 167 |
Post Options
Thanks(0)
|
In the documentation, the Constraints.add function describes the Data parameter as a Variant which can accept any data type. The PropertyGridItemConstraint object indicates the Data member is a Long. It appears from my experiments and from what you say here that the Data parameter must be a Long and not a Variant.
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 3 Language: Visual Basic 6.0 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Its VARIANT only to alow make it optional parameter.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |