Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - PropertyItemEnum is not case sensitive?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

PropertyItemEnum is not case sensitive?

 Post Reply Post Reply
Author
Message
cybeh View Drop Down
Groupie
Groupie
Avatar

Joined: 27 December 2005
Location: Malaysia
Status: Offline
Points: 76
Post Options Post Options   Thanks (0) Thanks(0)   Quote cybeh Quote  Post ReplyReply Direct Link To This Post Topic: PropertyItemEnum is not case sensitive?
    Posted: 19 September 2007 at 9:41pm
   
    Dim pgiCat As PropertyGridItem, pgiItem As PropertyGridItem
    
    Set pgiCat = PropertyGrid1.AddCategory("Cat 2")
    Set pgiItem = pgiCat.AddChildItem(PropertyItemEnum, "Test Enum", 1)
        pgiItem.ConstraintEdit = True
        pgiItem.Constraints.Add "Item 0", 0
        pgiItem.Constraints.Add "Item 1", 1
        pgiItem.Constraints.Add "Item 2", 2
        pgiItem.Constraints.Add "Item 3", 3
        pgiItem.Constraints.Add "Item 4", 4
        pgiItem.Constraints.Add "Item 5", 5
        pgiItem.Constraints.Add "item 5", 6
        pgiItem.Constraints.Add "itEm 5", 7



nor matter the user select 5, 6, 7 it will always return the selected value as 5. Seems like the checking is not case sensitive.
 
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.