Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - How to prevent opening of the Child Items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to prevent opening of the Child Items

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


Joined: 14 November 2005
Location: Ukraine
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Miroslaw Quote  Post ReplyReply Direct Link To This Post Topic: How to prevent opening of the Child Items
    Posted: 08 February 2006 at 6:41pm

There is here such fragment of code:

      Set SubCategory = Appearance.AddChildItem(PropertyItemString, "Gradient")
      SubCategory.Tag = "BAR_GRADIENT"
      
        With SubCategory
          Set Item = .AddChildItem(PropertyItemBool, "Visible", True)
          Item.Tag = "BAR_GRADIENT_VISIBLE"
         
          Set Item = .AddChildItem(PropertyItemEnum, "Direction:", 0)
          Item.Tag = "BAR_GRADIENT_DIRECTION"
          Item.Flags = ItemHasComboButton
       End with 

 How to do so that was the Gradient name visible, 
 but when I press on a cross there was no opening of the Child Items  contained in SubCategory?

If I set the value of parameter of SubCategory.ReadOnly = True,
nevertheless when I press on a cross there is opening of the Child Items contained in it.

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