Properties that self close in code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lloyd Sheen

    Properties that self close in code

    I have a weird problem (or just something I don't like) in VS 2008. I have
    properties that are collapsed with a blue border around them. If I hover
    over them the code will expand or if I click into them it will expand (along
    with outlining graphics). As soon as I click outside the property it
    collapses again with the blue border.

    Any ideas what this is and how I can get rid of it.

    Thanks
    Lloyd Sheen

  • Chris Dunaway

    #2
    Re: Properties that self close in code

    On Apr 19, 5:02 pm, "Lloyd Sheen" <a...@b.cwrot e:
    I have a weird problem (or just something I don't like) in VS 2008. I have
    properties that are collapsed with a blue border around them. If I hover
    over them the code will expand or if I click into them it will expand (along
    with outlining graphics). As soon as I click outside the property it
    collapses again with the blue border.
    >
    Any ideas what this is and how I can get rid of it.
    >
    Thanks
    Lloyd Sheen
    Without seeing it, it sounds as if your code is surrounded by a
    Region ... End Region block. Can you confirm this?

    Chris

    Comment

    • Lloyd Sheen

      #3
      Re: Properties that self close in code


      "Chris Dunaway" <dunawayc@gmail .comwrote in message
      news:3dc5a922-c10e-4f16-8cc5-aee8cd36950b@p2 5g2000pri.googl egroups.com...
      On Apr 19, 5:02 pm, "Lloyd Sheen" <a...@b.cwrot e:
      >I have a weird problem (or just something I don't like) in VS 2008. I
      >have
      >properties that are collapsed with a blue border around them. If I hover
      >over them the code will expand or if I click into them it will expand
      >(along
      >with outlining graphics). As soon as I click outside the property it
      >collapses again with the blue border.
      >>
      >Any ideas what this is and how I can get rid of it.
      >>
      >Thanks
      >Lloyd Sheen
      >
      Without seeing it, it sounds as if your code is surrounded by a
      Region ... End Region block. Can you confirm this?
      >
      Chris
      Nope. That would be too simple. I have googled and seached docs but I can
      see no mention of anything like this. I don't get it in my own programs. I
      was getting it in some of the samples that came with VS 2008.

      Thanks
      LS

      Comment

      • Bill McCarthy

        #4
        Re: Properties that self close in code

        This is an automatic feature of Refactor! for VB 2008. Unfortunately I'm
        not aware of any way of turning it off.

        "Lloyd Sheen" <a@b.cwrote in message
        news:uP3rNkmoIH A.1420@TK2MSFTN GP03.phx.gbl...
        >I have a weird problem (or just something I don't like) in VS 2008. I have
        >properties that are collapsed with a blue border around them. If I hover
        >over them the code will expand or if I click into them it will expand
        >(along with outlining graphics). As soon as I click outside the property
        >it collapses again with the blue border.
        >
        Any ideas what this is and how I can get rid of it.
        >
        Thanks
        Lloyd Sheen

        Comment

        • Lloyd Sheen

          #5
          Re: Properties that self close in code


          "Bill McCarthy" <Bill@NOSPAM.co mwrote in message
          news:OxTtFo7oIH A.2256@TK2MSFTN GP05.phx.gbl...
          This is an automatic feature of Refactor! for VB 2008. Unfortunately I'm
          not aware of any way of turning it off.
          >
          "Lloyd Sheen" <a@b.cwrote in message
          news:uP3rNkmoIH A.1420@TK2MSFTN GP03.phx.gbl...
          >>I have a weird problem (or just something I don't like) in VS 2008. I
          >>have properties that are collapsed with a blue border around them. If I
          >>hover over them the code will expand or if I click into them it will
          >>expand (along with outlining graphics). As soon as I click outside the
          >>property it collapses again with the blue border.
          >>
          >Any ideas what this is and how I can get rid of it.
          >>
          >Thanks
          >Lloyd Sheen
          >
          Thanks, just turned it off and away it went.

          Thanks
          LS

          Comment

          Working...