Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Change of property attributes during Run-Time (e.g. Brwosable)

Change of property attributes during Run-Time (e.g. Brwosable)

Scheduled Pinned Locked Moved Visual Basic
helpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    olgoe
    wrote on last edited by
    #1

    Dear Community, can anybody give me a hint how I can change the attribute for a property during Run.Time?. My current problem is that I use a PropertyGrid to show my defined properties. Depending on the selcetion of a certain Property (drop down menu) I want some other properties to be shown [browsable(true)] or not to be shown [browsable(false)].:doh: ThanX...

    A 1 Reply Last reply
    0
    • O olgoe

      Dear Community, can anybody give me a hint how I can change the attribute for a property during Run.Time?. My current problem is that I use a PropertyGrid to show my defined properties. Depending on the selcetion of a certain Property (drop down menu) I want some other properties to be shown [browsable(true)] or not to be shown [browsable(false)].:doh: ThanX...

      A Offline
      A Offline
      aamironline
      wrote on last edited by
      #2

      Simple way to do is, create two classes one base class another derived class. In base class property set browsable attribute to true and in derived class property set browsable attribute to false... Interchange object from baseclass to derived class. Thats it...

      M Aamir Maniar aamirOnline.com

      O 1 Reply Last reply
      0
      • A aamironline

        Simple way to do is, create two classes one base class another derived class. In base class property set browsable attribute to true and in derived class property set browsable attribute to false... Interchange object from baseclass to derived class. Thats it...

        M Aamir Maniar aamirOnline.com

        O Offline
        O Offline
        olgoe
        wrote on last edited by
        #3

        SoFar [...] how can I interchange object from baseclass to derived class? A sample could be helpful. thX

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups